Lines Matching defs:d2

228     uint64_t d2;
237 inline bool isLegacy(TxDesc *d) { return !bits(d->d2,29,29); }
238 inline uint8_t getType(TxDesc *d) { return bits(d->d2, 23,20); }
246 inline Addr getLen(TxDesc *d) { if (isLegacy(d)) return bits(d->d2,15,0); else return bits(d->d2, 19,0); }
247 inline void setDd(TxDesc *d) { replaceBits(d->d2, 35, 32, ULL(1)); }
249 inline bool ide(TxDesc *d) { return bits(d->d2, 31,31) && (getType(d) == TXD_DATA || isLegacy(d)); }
250 inline bool vle(TxDesc *d) { assert(isLegacy(d) || isData(d)); return bits(d->d2, 30,30); }
251 inline bool rs(TxDesc *d) { return bits(d->d2, 27,27); }
252 inline bool ic(TxDesc *d) { assert(isLegacy(d) || isData(d)); return isLegacy(d) && bits(d->d2, 26,26); }
255 return bits(d->d2, 26,26);
257 return bits(d->d2, 31, 31);
261 inline bool ifcs(TxDesc *d) { assert(isLegacy(d) || isData(d)); return bits(d->d2, 25,25); }
262 inline bool eop(TxDesc *d) { assert(isLegacy(d) || isData(d)); return bits(d->d2, 24,24); }
263 inline bool ip(TxDesc *d) { assert(isContext(d)); return bits(d->d2, 25,25); }
264 inline bool tcp(TxDesc *d) { assert(isContext(d)); return bits(d->d2, 24,24); }
266 inline uint8_t getCso(TxDesc *d) { assert(isLegacy(d)); return bits(d->d2, 23,16); }
267 inline uint8_t getCss(TxDesc *d) { assert(isLegacy(d)); return bits(d->d2, 47,40); }
269 inline bool ixsm(TxDesc *d) { return isData(d) && bits(d->d2, 40,40); }
270 inline bool txsm(TxDesc *d) { return isData(d) && bits(d->d2, 41,41); }
278 inline int mss(TxDesc *d) { assert(isContext(d)); return bits(d->d2,63,48); }
282 return bits(d->d2,47,40);
283 return bits(d->d2, 47,40) + bits(d->d1, 8,0) + bits(d->d1, 15, 9);
286 inline int getTsoLen(TxDesc *d) { assert(isType(d, TXD_ADVDATA)); return bits(d->d2, 63,46); }
287 inline int utcmd(TxDesc *d) { assert(isContext(d)); return bits(d->d2,24,31); }