Searched refs:RX_RING_MOD_MASK (Results 1 – 13 of 13) sorted by relevance
117 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro964 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()
41 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro
198 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro1148 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()
99 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro819 RX_RING_MOD_MASK; in lance_rx()860 entry = lp->new_rx = (lp->new_rx +1) & RX_RING_MOD_MASK; in lance_rx()
132 lp->lance.rx_ring_mod_mask = RX_RING_MOD_MASK; in mvme147lance_probe()
163 lp->lance.rx_ring_mod_mask = RX_RING_MOD_MASK; in hplance_init()
76 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro731 priv->rx_ring_mod_mask = RX_RING_MOD_MASK; in a2065_init_one()
159 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro615 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()
186 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) macro188 #define RX_NEXT(__x) (((__x)+1) & RX_RING_MOD_MASK)
883 #define RX_RING_MOD_MASK(size) (size-1) macro
104 #define RX_RING_MOD_MASK(size) (size-1) macro
2864 RX_RING_MOD_MASK(rx_queue->rx_ring_size); in gfar_clean_rx_ring()
3221 1) & RX_RING_MOD_MASK(ugeth->ug_info->bdRingLenRx[rxQ]); in ucc_geth_rx()