Searched refs:RING_CMP (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt.c | 305 writel(DB_CP_FLAGS | RING_CMP(idx), (db)->doorbell) 308 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ | RING_CMP(idx), \ 312 writel(DB_CP_REARM_FLAGS | RING_CMP(idx), (db)->doorbell) 315 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_ARM | RING_CMP(idx),\ 338 RING_CMP(idx), db->doorbell); in bnxt_db_cq() 938 cp_cons = RING_CMP(ADV_RAW_CMP(cp_cons, curr)); in bnxt_get_agg() 1170 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid() 1630 idx = RING_CMP(*raw_cons); in bnxt_tpa_end() 1773 u16 cfa_code, cons, prod, cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt() 1794 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt() [all …]
|
| D | bnxt.h | 675 #define RING_CMP(idx) ((idx) & bp->cp_ring_mask) macro 676 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
|
| D | bnxt_ethtool.c | 3337 cp_cons = RING_CMP(raw_cons); in bnxt_rx_loopback() 3368 cons = RING_CMP(raw_cons); in bnxt_poll_loopback()
|