Home
last modified time | relevance | path

Searched refs:rx_cons (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/scsi/mvsas/
H A Dmv_sas.c1874 rx_prod_idx = mvi->rx_cons; in mvs_int_rx()
1875 mvi->rx_cons = le32_to_cpu(mvi->rx[0]); in mvs_int_rx()
1876 if (mvi->rx_cons == 0xfff) /* h/w hasn't touched RX ring yet */ in mvs_int_rx()
1883 if (unlikely(mvi->rx_cons == rx_prod_idx)) in mvs_int_rx()
1884 mvi->rx_cons = MVS_CHIP_DISP->rx_update(mvi) & RX_RING_SZ_MASK; in mvs_int_rx()
1886 if (mvi->rx_cons == rx_prod_idx) in mvs_int_rx()
1889 while (mvi->rx_cons != rx_prod_idx) { in mvs_int_rx()
H A Dmv_sas.h360 u32 rx_cons; member
H A Dmv_init.c243 mvi->rx_cons = 0xfff; in mvs_alloc()
/linux/drivers/net/ethernet/altera/
H A Daltera_tse_main.c283 priv->rx_cons = 0; in alloc_init_skbufs()
322 for (; priv->rx_cons - priv->rx_prod > 0; in tse_rx_refill()
355 unsigned int entry = priv->rx_cons % priv->rx_ring_size; in tse_rx()
385 next_entry = (++priv->rx_cons) % priv->rx_ring_size; in tse_rx()
H A Daltera_tse.h421 u32 rx_cons; member
/linux/drivers/net/ethernet/broadcom/
H A Db44.h366 u32 rx_prod, rx_cons; member
H A Dcnic.h236 u16 rx_cons; member
H A Dcnic.c2935 sw_cons = cp->rx_cons; in cnic_l2_completion()
2955 u16 rx_cons, tx_cons; in cnic_chk_pkt_rings() local
2961 rx_cons = *cp->rx_cons_ptr; in cnic_chk_pkt_rings()
2963 if (cp->tx_cons != tx_cons || cp->rx_cons != rx_cons) { in cnic_chk_pkt_rings()
2968 cp->rx_cons = rx_cons; in cnic_chk_pkt_rings()
4632 cp->rx_cons = *cp->rx_cons_ptr; in cnic_init_bnx2_rx_ring()
5052 cp->rx_cons = *cp->rx_cons_ptr; in cnic_init_bnx2x_rx_ring()
H A Db44.c761 cons = bp->rx_cons; in b44_rx()
834 bp->rx_cons = cons; in b44_rx()
1276 bp->rx_prod = bp->rx_cons = 0; in b44_chip_reset()
H A Dbnx2.c3152 sw_cons = rxr->rx_cons; in bnx2_rx_int()
3291 rxr->rx_cons = sw_cons; in bnx2_rx_int()
3390 if ((bnx2_get_hw_rx_cons(bnapi) != rxr->rx_cons) || in bnx2_has_fast_work()
3487 if (bnx2_get_hw_rx_cons(bnapi) != rxr->rx_cons) in bnx2_poll_work()
5125 rxr->rx_cons = 0; in bnx2_clear_ring_states()
H A Dbnx2.h6746 u16 rx_cons; member