Searched refs:RING_CMP (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 258 writel(DB_CP_FLAGS | RING_CMP(idx), (db)->doorbell) 261 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ | RING_CMP(idx), \ 265 writel(DB_CP_REARM_FLAGS | RING_CMP(idx), (db)->doorbell) 268 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_ARM | RING_CMP(idx),\ 291 RING_CMP(idx), db->doorbell); in bnxt_db_cq() 905 cp_cons = RING_CMP(ADV_RAW_CMP(cp_cons, curr)); in bnxt_get_agg() 1206 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid() 1634 idx = RING_CMP(*raw_cons); in bnxt_tpa_end() 1794 u16 cfa_code, cons, prod, cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt() 1818 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt() [all …]
|
D | bnxt.h | 702 #define RING_CMP(idx) ((idx) & bp->cp_ring_mask) macro 703 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
|
D | bnxt_ethtool.c | 3565 cp_cons = RING_CMP(raw_cons); in bnxt_rx_loopback() 3596 cons = RING_CMP(raw_cons); in bnxt_poll_loopback()
|