Home
last modified time | relevance | path

Searched refs:TX_RING_MOD_MASK (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/amd/
Dsun3lance.c95 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
633 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()
Datarilance.c113 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
816 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()
D7990.h40 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
Dsunlance.c181 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
183 #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()
Dmvme147.c133 lp->lance.tx_ring_mod_mask = TX_RING_MOD_MASK; in mvme147lance_probe()
Ddeclance.c156 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
274 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()
Dhplance.c164 lp->lance.tx_ring_mod_mask = TX_RING_MOD_MASK; in hplance_init()
Dlance.c194 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
971 entry = lp->cur_tx & TX_RING_MOD_MASK; in lance_start_xmit()
1052 int entry = dirty_tx & TX_RING_MOD_MASK; in lance_interrupt()
Da2065.c75 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
732 priv->tx_ring_mod_mask = TX_RING_MOD_MASK; in a2065_init_one()
/drivers/net/ethernet/freescale/
Dfec.h336 #define TX_RING_MOD_MASK 511 /* for this to work */ macro
Ducc_geth.h889 #define TX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.h108 #define TX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.c2522 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()
Ducc_geth.c3117 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()