Searched refs:raw_cons (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.h | 839 #define TX_CMP_VALID(txcmp, raw_cons) \ argument 841 !((raw_cons) & bp->cp_bit)) 843 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument 845 !((raw_cons) & bp->cp_bit)) 847 #define RX_AGG_CMP_VALID(agg, raw_cons) \ argument 849 !((raw_cons) & bp->cp_bit)) 851 #define NQ_CMP_VALID(nqcmp, raw_cons) \ argument 852 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
|
| H A D | bnxt.c | 1380 u8 agg_bufs, u32 *raw_cons) in bnxt_agg_bufs_valid() argument 1385 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnxt_agg_bufs_valid() 1386 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid() 1389 return RX_AGG_CMP_VALID(agg, *raw_cons); in bnxt_agg_bufs_valid() 1451 u32 *raw_cons, void *cmp) in bnxt_discard_rx() argument 1454 u32 tmp_raw_cons = *raw_cons; in bnxt_discard_rx() 1476 *raw_cons = tmp_raw_cons; in bnxt_discard_rx() 1835 u32 *raw_cons, in bnxt_tpa_end() argument 1853 int rc = bnxt_discard_rx(bp, cpr, raw_cons, tpa_end); in bnxt_tpa_end() 1879 idx = RING_CMP(*raw_cons); in bnxt_tpa_end() [all …]
|