Searched refs:TX_RING_MOD_MASK (Results 1 – 16 of 16) sorted by relevance
96 #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()
41 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
113 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro815 entry = lp->cur_tx & TX_RING_MOD_MASK; in lance_start_xmit()838 if ((MEM->tx_head[(entry+1) & TX_RING_MOD_MASK].flag & TMD1_OWN) == in lance_start_xmit()886 int entry = dirty_tx & TX_RING_MOD_MASK; in lance_interrupt()
133 lp->lance.tx_ring_mod_mask = TX_RING_MOD_MASK; in mvme147lance_probe()
182 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro184 #define TX_NEXT(__x) (((__x)+1) & TX_RING_MOD_MASK)273 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\884 entry = lp->tx_new & TX_RING_MOD_MASK; in build_fake_packet()1123 entry = lp->tx_new & TX_RING_MOD_MASK; in lance_start_xmit()
164 lp->lance.tx_ring_mod_mask = TX_RING_MOD_MASK; in hplance_init()
157 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro276 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\715 j = (j + 1) & TX_RING_MOD_MASK; in lance_tx()928 lp->tx_new = (entry + 1) & TX_RING_MOD_MASK; in lance_start_xmit()
194 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro970 entry = lp->cur_tx & TX_RING_MOD_MASK; in lance_start_xmit()1051 int entry = dirty_tx & TX_RING_MOD_MASK; in lance_interrupt()
75 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro738 priv->tx_ring_mod_mask = TX_RING_MOD_MASK; in a2065_init_one()
129 #define TX_RING_MOD_MASK(size) (size - 1) macro
400 (priv->skb_curtx + 1) & TX_RING_MOD_MASK(TX_BD_RING_LEN); in ucc_hdlc_tx()486 1) & TX_RING_MOD_MASK(TX_BD_RING_LEN); in hdlc_tx_done()
349 #define TX_RING_MOD_MASK 511 /* for this to work */ macro
878 #define TX_RING_MOD_MASK(size) (size-1) macro
99 #define TX_RING_MOD_MASK(size) (size-1) macro
1993 TX_RING_MOD_MASK(tx_queue->tx_ring_size); in gfar_start_xmit()2268 TX_RING_MOD_MASK(tx_ring_size); in gfar_clean_tx_ring()
3103 1) & TX_RING_MOD_MASK(ugeth->ug_info->bdRingLenTx[txQ]); in ucc_geth_start_xmit()3262 1) & TX_RING_MOD_MASK(ugeth->ug_info->bdRingLenTx[txQ]); in ucc_geth_tx()