Home
last modified time | relevance | path

Searched refs:raw_cons (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h673 #define TX_CMP_VALID(txcmp, raw_cons) \ argument
675 !((raw_cons) & bp->cp_bit))
677 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument
679 !((raw_cons) & bp->cp_bit))
681 #define RX_AGG_CMP_VALID(agg, raw_cons) \ argument
683 !((raw_cons) & bp->cp_bit))
685 #define NQ_CMP_VALID(nqcmp, raw_cons) \ argument
686 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
H A Dbnxt.c1204 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnxt_agg_bufs_valid()
1205 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid()
1262 *raw_cons = tmp_raw_cons; in bnxt_discard_rx()
1590 u32 *raw_cons, in bnxt_tpa_end() argument
1633 idx = RING_CMP(*raw_cons); in bnxt_tpa_end()
2040 *raw_cons = tmp_raw_cons; in bnxt_rx_pkt()
2504 cons = RING_CMP(raw_cons); in __bnxt_poll_work()
2519 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2549 raw_cons = NEXT_RAW_CMP(raw_cons); in __bnxt_poll_work()
2667 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_nitroa0()
[all …]
H A Dbnxt_ethtool.c3553 u32 raw_cons, int pkt_size) in bnxt_rx_loopback() argument
3565 cp_cons = RING_CMP(raw_cons); in bnxt_rx_loopback()
3590 u32 raw_cons; in bnxt_poll_loopback() local
3594 raw_cons = cpr->cp_raw_cons; in bnxt_poll_loopback()
3596 cons = RING_CMP(raw_cons); in bnxt_poll_loopback()
3599 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback()
3609 rc = bnxt_rx_loopback(bp, cpr, raw_cons, pkt_size); in bnxt_poll_loopback()
3610 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback()
3611 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback()
3614 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback()
[all …]