Home
last modified time | relevance | path

Searched refs:RX_RING_MOD_MASK (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/amd/
Datarilance.c117 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
964 int entry = lp->cur_rx & RX_RING_MOD_MASK; in lance_rx()
1000 if (MEM->rx_head[(entry+i) & RX_RING_MOD_MASK].flag & in lance_rx()
1032 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; in lance_rx()
1034 lp->cur_rx &= RX_RING_MOD_MASK; in lance_rx()
D7990.h42 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
Dsun3lance.c100 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
804 RX_RING_MOD_MASK; in lance_rx()
845 entry = lp->new_rx = (lp->new_rx +1) & RX_RING_MOD_MASK; in lance_rx()
Dmvme147.c131 lp->lance.rx_ring_mod_mask = RX_RING_MOD_MASK; in mvme147lance_probe()
Dlance.c198 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
1151 int entry = lp->cur_rx & RX_RING_MOD_MASK; in lance_rx()
1193 if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) in lance_rx()
1219 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; in lance_rx()
Dhplance.c165 lp->lance.rx_ring_mod_mask = RX_RING_MOD_MASK; in hplance_init()
Da2065.c76 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
734 priv->rx_ring_mod_mask = RX_RING_MOD_MASK; in a2065_init_one()
Ddeclance.c160 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
617 lp->rx_new = (entry + 1) & RX_RING_MOD_MASK; in lance_rx()
638 lp->rx_new = (entry + 1) & RX_RING_MOD_MASK; in lance_rx()
Dsunlance.c182 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
184 #define RX_NEXT(__x) (((__x)+1) & RX_RING_MOD_MASK)
/linux-5.19.10/drivers/net/wan/
Dfsl_ucc_hdlc.h130 #define RX_RING_MOD_MASK(size) (size - 1) macro
/linux-5.19.10/drivers/net/ethernet/freescale/
Ducc_geth.h885 #define RX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.h96 #define RX_RING_MOD_MASK(size) (size-1) macro
Ducc_geth.c3053 1) & RX_RING_MOD_MASK(ugeth->ug_info->bdRingLenRx[rxQ]); in ucc_geth_rx()