Home
last modified time | relevance | path

Searched refs:DB_RING_IDX (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h960 #define DB_RING_IDX(db, idx) (((idx) & (db)->db_ring_mask) | \ macro
2751 bnxt_writeq_relaxed(bp, db->db_key64 | DB_RING_IDX(db, idx), in bnxt_db_write_relaxed()
2754 u32 db_val = db->db_key32 | DB_RING_IDX(db, idx); in bnxt_db_write_relaxed()
2767 bnxt_writeq(bp, db->db_key64 | DB_RING_IDX(db, idx), in bnxt_db_write()
2770 u32 db_val = db->db_key32 | DB_RING_IDX(db, idx); in bnxt_db_write()
Dbnxt.c307 writel(DB_CP_FLAGS | DB_RING_IDX(db, idx), (db)->doorbell)
310 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ | DB_RING_IDX(db, idx),\
315 DB_RING_IDX(db, idx), (db)->doorbell)
318 writel(DB_CP_REARM_FLAGS | DB_RING_IDX(db, idx), (db)->doorbell)
322 DB_RING_IDX(db, idx), (db)->doorbell)
346 DB_RING_IDX(db, idx), db->doorbell); in bnxt_db_cq()
593 DB_RING_IDX(&txr->tx_db, prod)); in bnxt_start_xmit()
3147 DB_RING_IDX(db, cpr2->cp_raw_cons), in __bnxt_poll_cqs_done()