Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Dsmc_diag.h70 struct smc_diag_cursor rx_cons; /* received consumer cursor */ member
/openbmc/linux/net/smc/
H A Dsmc_diag.c117 .rx_cons.wrap = conn->local_rx_ctrl.cons.wrap, in __smc_diag_dump()
118 .rx_cons.count = conn->local_rx_ctrl.cons.count, in __smc_diag_dump()
/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_sas.c1884 rx_prod_idx = mvi->rx_cons; in mvs_int_rx()
1885 mvi->rx_cons = le32_to_cpu(mvi->rx[0]); in mvs_int_rx()
1886 if (mvi->rx_cons == 0xfff) /* h/w hasn't touched RX ring yet */ in mvs_int_rx()
1893 if (unlikely(mvi->rx_cons == rx_prod_idx)) in mvs_int_rx()
1894 mvi->rx_cons = MVS_CHIP_DISP->rx_update(mvi) & RX_RING_SZ_MASK; in mvs_int_rx()
1896 if (mvi->rx_cons == rx_prod_idx) in mvs_int_rx()
1899 while (mvi->rx_cons != rx_prod_idx) { in mvs_int_rx()
H A Dmv_sas.h360 u32 rx_cons; member
H A Dmv_init.c258 mvi->rx_cons = 0xfff; in mvs_alloc()
/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_tse_main.c285 priv->rx_cons = 0; in alloc_init_skbufs()
324 for (; priv->rx_cons - priv->rx_prod > 0; in tse_rx_refill()
357 unsigned int entry = priv->rx_cons % priv->rx_ring_size; in tse_rx()
387 next_entry = (++priv->rx_cons) % priv->rx_ring_size; in tse_rx()
H A Daltera_tse.h421 u32 rx_cons; member
/openbmc/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.c2926 sw_cons = cp->rx_cons; in cnic_l2_completion()
2946 u16 rx_cons, tx_cons; in cnic_chk_pkt_rings() local
2952 rx_cons = *cp->rx_cons_ptr; in cnic_chk_pkt_rings()
2954 if (cp->tx_cons != tx_cons || cp->rx_cons != rx_cons) { in cnic_chk_pkt_rings()
2959 cp->rx_cons = rx_cons; in cnic_chk_pkt_rings()
4622 cp->rx_cons = *cp->rx_cons_ptr; in cnic_init_bnx2_rx_ring()
5042 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.c3151 sw_cons = rxr->rx_cons; in bnx2_rx_int()
3290 rxr->rx_cons = sw_cons; in bnx2_rx_int()
3389 if ((bnx2_get_hw_rx_cons(bnapi) != rxr->rx_cons) || in bnx2_has_fast_work()
3486 if (bnx2_get_hw_rx_cons(bnapi) != rxr->rx_cons) in bnx2_poll_work()
5124 rxr->rx_cons = 0; in bnx2_clear_ring_states()
H A Dbnx2.h6746 u16 rx_cons; member