Home
last modified time | relevance | path

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

/drivers/net/ethernet/amd/
Datarilance.c117 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
966 int entry = lp->cur_rx & RX_RING_MOD_MASK; in lance_rx()
1002 if (MEM->rx_head[(entry+i) & RX_RING_MOD_MASK].flag & in lance_rx()
1038 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; in lance_rx()
1040 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
821 RX_RING_MOD_MASK; in lance_rx()
862 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.h890 #define RX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.h109 #define RX_RING_MOD_MASK(size) (size-1) macro
Ducc_geth.c3230 1) & RX_RING_MOD_MASK(ugeth->ug_info->bdRingLenRx[rxQ]); in ucc_geth_rx()