Searched refs:RING_CMP (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 297 writel(DB_CP_FLAGS | RING_CMP(idx), (db)->doorbell) 300 writeq((db)->db_key64 | DBR_TYPE_NQ | RING_CMP(idx), (db)->doorbell) 303 writel(DB_CP_REARM_FLAGS | RING_CMP(idx), (db)->doorbell) 306 writeq((db)->db_key64 | DBR_TYPE_NQ_ARM | RING_CMP(idx), (db)->doorbell) 327 writeq(db->db_key64 | DBR_TYPE_CQ_ARMALL | RING_CMP(idx), in bnxt_db_cq() 891 cp_cons = RING_CMP(ADV_RAW_CMP(cp_cons, curr)); in bnxt_get_agg() 1123 last = RING_CMP(*raw_cons); in bnxt_agg_bufs_valid() 1583 idx = RING_CMP(*raw_cons); in bnxt_tpa_end() 1722 u16 cfa_code, cons, prod, cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt() 1743 cp_cons = RING_CMP(tmp_raw_cons); in bnxt_rx_pkt() [all …]
|
| H A D | bnxt.h | 658 #define RING_CMP(idx) ((idx) & bp->cp_ring_mask) macro 659 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
|
| H A D | bnxt_ethtool.c | 3189 cp_cons = RING_CMP(raw_cons); in bnxt_rx_loopback() 3220 cons = RING_CMP(raw_cons); in bnxt_poll_loopback()
|