Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/amd/
Datarilance.c117 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
967 int entry = lp->cur_rx & RX_RING_MOD_MASK; in lance_rx()
1005 if (MEM->rx_head[(entry+i) & RX_RING_MOD_MASK].flag & in lance_rx()
1041 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; in lance_rx()
1043 lp->cur_rx &= RX_RING_MOD_MASK; in lance_rx()
D7990.h41 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
Dmvme147.c134 lp->lance.rx_ring_mod_mask = RX_RING_MOD_MASK; in mvme147lance_probe()
Dsun3lance.c99 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
822 RX_RING_MOD_MASK; in lance_rx()
863 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
1149 int entry = lp->cur_rx & RX_RING_MOD_MASK; in lance_rx()
1191 if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) in lance_rx()
1217 entry = (++lp->cur_rx) & RX_RING_MOD_MASK; in lance_rx()
Dhplance.c166 lp->lance.rx_ring_mod_mask = RX_RING_MOD_MASK; in hplance_init()
Da2065.c75 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
729 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
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.c187 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
189 #define RX_NEXT(__x) (((__x)+1) & RX_RING_MOD_MASK)
/linux-3.4.99/drivers/net/ethernet/freescale/
Ducc_geth.h883 #define RX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.h105 #define RX_RING_MOD_MASK(size) (size-1) macro
Dgianfar.c2815 RX_RING_MOD_MASK(rx_queue->rx_ring_size); in gfar_clean_rx_ring()
Ducc_geth.c3315 1) & RX_RING_MOD_MASK(ugeth->ug_info->bdRingLenRx[rxQ]); in ucc_geth_rx()