Searched refs:raw_cons (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.h | 844 #define TX_CMP_VALID(txcmp, raw_cons) \ argument 846 !((raw_cons) & bp->cp_bit)) 848 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument 850 !((raw_cons) & bp->cp_bit)) 852 #define RX_AGG_CMP_VALID(agg, raw_cons) \ argument 854 !((raw_cons) & bp->cp_bit)) 856 #define NQ_CMP_VALID(nqcmp, raw_cons) \ argument 857 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
|
| H A D | bnxt_ethtool.c | 5093 u32 raw_cons, int pkt_size) in bnxt_rx_loopback() argument 5105 cp_cons = RING_CMP(raw_cons); in bnxt_rx_loopback() 5130 u32 raw_cons; in bnxt_poll_loopback() local 5134 raw_cons = cpr->cp_raw_cons; in bnxt_poll_loopback() 5136 cons = RING_CMP(raw_cons); in bnxt_poll_loopback() 5139 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback() 5150 rc = bnxt_rx_loopback(bp, cpr, raw_cons, pkt_size); in bnxt_poll_loopback() 5151 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback() 5152 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback() 5155 raw_cons = NEXT_RAW_CMP(raw_cons); in bnxt_poll_loopback() [all …]
|
| H A D | bnxt.c | 1408 u8 agg_bufs, u32 *raw_cons) in bnxt_agg_bufs_valid() argument 1413 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnxt_agg_bufs_valid() 1414 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid() 1417 return RX_AGG_CMP_VALID(agg, *raw_cons); in bnxt_agg_bufs_valid() 1479 u32 *raw_cons, void *cmp) in bnxt_discard_rx() argument 1482 u32 tmp_raw_cons = *raw_cons; in bnxt_discard_rx() 1504 *raw_cons = tmp_raw_cons; in bnxt_discard_rx() 1876 u32 *raw_cons, in bnxt_tpa_end() argument 1894 int rc = bnxt_discard_rx(bp, cpr, raw_cons, tpa_end); in bnxt_tpa_end() 1920 idx = RING_CMP(*raw_cons); in bnxt_tpa_end() [all …]
|