Home
last modified time | relevance | path

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

/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()
1036 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; in lance_rx()
1038 lp->cur_rx &= RX_RING_MOD_MASK; in lance_rx()
D7990.h41 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
Dlance.c198 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
1148 int entry = lp->cur_rx & RX_RING_MOD_MASK; in lance_rx()
1190 if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) in lance_rx()
1216 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; in lance_rx()
Dsun3lance.c99 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
819 RX_RING_MOD_MASK; in lance_rx()
860 entry = lp->new_rx = (lp->new_rx +1) & RX_RING_MOD_MASK; in lance_rx()
Dmvme147.c132 lp->lance.rx_ring_mod_mask = RX_RING_MOD_MASK; in mvme147lance_probe()
Dhplance.c163 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
731 priv->rx_ring_mod_mask = RX_RING_MOD_MASK; in a2065_init_one()
Ddeclance.c159 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
615 lp->rx_new = (entry + 1) & RX_RING_MOD_MASK; in lance_rx()
636 lp->rx_new = (entry + 1) & RX_RING_MOD_MASK; in lance_rx()
Dsunlance.c186 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
188 #define RX_NEXT(__x) (((__x)+1) & RX_RING_MOD_MASK)
/drivers/net/ethernet/freescale/
Ducc_geth.h883 #define RX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.h104 #define RX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.c2864 RX_RING_MOD_MASK(rx_queue->rx_ring_size); in gfar_clean_rx_ring()
Ducc_geth.c3221 1) & RX_RING_MOD_MASK(ugeth->ug_info->bdRingLenRx[rxQ]); in ucc_geth_rx()