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
965 int entry = lp->cur_rx & RX_RING_MOD_MASK; in lance_rx()
1001 if (MEM->rx_head[(entry+i) & RX_RING_MOD_MASK].flag & in lance_rx()
1033 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; in lance_rx()
1035 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
810 RX_RING_MOD_MASK; in lance_rx()
851 entry = lp->new_rx = (lp->new_rx +1) & RX_RING_MOD_MASK; in lance_rx()
Dlance.c198 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
1147 int entry = lp->cur_rx & RX_RING_MOD_MASK; in lance_rx()
1189 if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) in lance_rx()
1215 entry = (++lp->cur_rx) & 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
732 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)
/drivers/net/wan/
Dfsl_ucc_hdlc.h130 #define RX_RING_MOD_MASK(size) (size - 1) macro
/drivers/net/ethernet/freescale/
Ducc_geth.h885 #define RX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.h99 #define RX_RING_MOD_MASK(size) (size-1) macro
Ducc_geth.c3216 1) & RX_RING_MOD_MASK(ugeth->ug_info->bdRingLenRx[rxQ]); in ucc_geth_rx()