Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/amd/
Dsun3lance.c96 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
627 lp->new_tx = (lp->new_tx + 1) & TX_RING_MOD_MASK; in lance_start_xmit()
638 if ((MEM->tx_head[(entry+1) & TX_RING_MOD_MASK].flag & TMD1_OWN) == in lance_start_xmit()
718 old_tx = (old_tx +1) & TX_RING_MOD_MASK; in lance_interrupt()
D7990.h41 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
Datarilance.c113 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
814 entry = lp->cur_tx & TX_RING_MOD_MASK; in lance_start_xmit()
837 if ((MEM->tx_head[(entry+1) & TX_RING_MOD_MASK].flag & TMD1_OWN) == in lance_start_xmit()
885 int entry = dirty_tx & TX_RING_MOD_MASK; in lance_interrupt()
Dmvme147.c132 lp->lance.tx_ring_mod_mask = TX_RING_MOD_MASK; in mvme147lance_probe()
Dsunlance.c177 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
179 #define TX_NEXT(__x) (((__x)+1) & TX_RING_MOD_MASK)
268 lp->tx_old+TX_RING_MOD_MASK-lp->tx_new:\
879 entry = lp->tx_new & TX_RING_MOD_MASK; in build_fake_packet()
1118 entry = lp->tx_new & TX_RING_MOD_MASK; in lance_start_xmit()
Dhplance.c166 lp->lance.tx_ring_mod_mask = TX_RING_MOD_MASK; in hplance_init()
Ddeclance.c157 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
276 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()
Dlance.c194 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
974 entry = lp->cur_tx & TX_RING_MOD_MASK; in lance_start_xmit()
1055 int entry = dirty_tx & TX_RING_MOD_MASK; in lance_interrupt()
Da2065.c75 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) macro
735 priv->tx_ring_mod_mask = TX_RING_MOD_MASK; in a2065_init_one()
/linux-6.1.9/drivers/net/wan/
Dfsl_ucc_hdlc.h129 #define TX_RING_MOD_MASK(size) (size - 1) macro
Dfsl_ucc_hdlc.c409 (priv->skb_curtx + 1) & TX_RING_MOD_MASK(TX_BD_RING_LEN); in ucc_hdlc_tx()
496 1) & TX_RING_MOD_MASK(TX_BD_RING_LEN); in hdlc_tx_done()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dfec.h360 #define TX_RING_MOD_MASK 511 /* for this to work */ macro
Ducc_geth.h884 #define TX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.h95 #define TX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.c1962 TX_RING_MOD_MASK(tx_queue->tx_ring_size); in gfar_start_xmit()
2237 TX_RING_MOD_MASK(tx_ring_size); in gfar_clean_tx_ring()
Ducc_geth.c2940 1) & TX_RING_MOD_MASK(ugeth->ug_info->bdRingLenTx[txQ]); in ucc_geth_start_xmit()
3099 1) & TX_RING_MOD_MASK(ugeth->ug_info->bdRingLenTx[txQ]); in ucc_geth_tx()