Lines Matching refs:txRingMask
499 int txRingMask; /* TX ring mask */
502 s32 tx_rlen; /* log2(txRingMask+1) for the descriptors */
510 ** tx_old+txRingMask = tx_new Full ring (wrapped condition)
513 lp->tx_old+lp->txRingMask-lp->tx_new:\
724 lp->txRingMask = NUM_TX_DESC - 1;
731 for (i = 0, j = lp->txRingMask; j > 0; i++) {
895 for (i = 0; i <= lp->txRingMask; i++) {
1151 lp->tx_old = (++lp->tx_old) & lp->txRingMask;
1796 end = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask;
1803 len = (lp->txRingMask - entry + 1) * TX_BUFF_SZ;
1812 for (i = entry; i != end; i = (i+1) & lp->txRingMask) {
1833 i = lp->txRingMask + 1;
1837 lp->tx_new = (++end) & lp->txRingMask; /* update current pointers */
1867 for (i = 0; i < lp->txRingMask; i++) {
1881 for (i = 0; i < lp->txRingMask; i++) {
1899 printk("TX: %d Log2(txRingMask): 0x%8.8x\n", (int) lp->txRingMask + 1, lp->tx_rlen);