Searched refs:TX_RING_MOD_MASK (Results 1 – 14 of 14) sorted by relevance
95 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro633 lp->new_tx = (lp->new_tx + 1) & TX_RING_MOD_MASK; in lance_start_xmit()644 if ((MEM->tx_head[(entry+1) & TX_RING_MOD_MASK].flag & TMD1_OWN) == in lance_start_xmit()734 old_tx = (old_tx +1) & TX_RING_MOD_MASK; in lance_interrupt()
113 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro816 entry = lp->cur_tx & TX_RING_MOD_MASK; in lance_start_xmit()839 if ((MEM->tx_head[(entry+1) & TX_RING_MOD_MASK].flag & TMD1_OWN) == in lance_start_xmit()887 int entry = dirty_tx & TX_RING_MOD_MASK; in lance_interrupt()
40 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
181 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro183 #define TX_NEXT(__x) (((__x)+1) & TX_RING_MOD_MASK)272 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\883 entry = lp->tx_new & TX_RING_MOD_MASK; in build_fake_packet()1122 entry = lp->tx_new & TX_RING_MOD_MASK; in lance_start_xmit()
133 lp->lance.tx_ring_mod_mask = TX_RING_MOD_MASK; in mvme147lance_probe()
156 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro274 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\713 j = (j + 1) & TX_RING_MOD_MASK; in lance_tx()926 lp->tx_new = (entry + 1) & TX_RING_MOD_MASK; in lance_start_xmit()
164 lp->lance.tx_ring_mod_mask = TX_RING_MOD_MASK; in hplance_init()
194 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro971 entry = lp->cur_tx & TX_RING_MOD_MASK; in lance_start_xmit()1052 int entry = dirty_tx & TX_RING_MOD_MASK; in lance_interrupt()
75 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro732 priv->tx_ring_mod_mask = TX_RING_MOD_MASK; in a2065_init_one()
336 #define TX_RING_MOD_MASK 511 /* for this to work */ macro
889 #define TX_RING_MOD_MASK(size) (size-1) macro
108 #define TX_RING_MOD_MASK(size) (size-1) macro
2522 TX_RING_MOD_MASK(tx_queue->tx_ring_size); in gfar_start_xmit()2745 TX_RING_MOD_MASK(tx_ring_size); in gfar_clean_tx_ring()
3117 1) & TX_RING_MOD_MASK(ugeth->ug_info->bdRingLenTx[txQ]); in ucc_geth_start_xmit()3273 1) & TX_RING_MOD_MASK(ugeth->ug_info->bdRingLenTx[txQ]); in ucc_geth_tx()