Searched refs:nqcmp (Results 1 – 4 of 4) sorted by relevance
89 #define NQ_CMP_VALID(bn, nqcmp, raw_cons) \ argument90 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & (bn)->cp_bit))
1306 struct nqe_cn *nqcmp; in bnge_napi_poll() local1319 nqcmp = &nqr->desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnge_napi_poll()1321 if (!NQ_CMP_VALID(bn, nqcmp, raw_cons)) { in bnge_napi_poll()1339 type = le16_to_cpu(nqcmp->type); in bnge_napi_poll()1341 u32 idx = le32_to_cpu(nqcmp->cq_handle_low); in bnge_napi_poll()1358 bnge_hwrm_handler(bn->bd, (struct tx_cmp *)nqcmp); in bnge_napi_poll()
852 #define NQ_CMP_VALID(nqcmp, raw_cons) \ argument853 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
3326 struct nqe_cn *nqcmp; in bnxt_poll_p5() local3342 nqcmp = &cpr->nq_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_p5()3344 if (!NQ_CMP_VALID(nqcmp, raw_cons)) { in bnxt_poll_p5()3362 type = le16_to_cpu(nqcmp->type); in bnxt_poll_p5()3364 u32 idx = le32_to_cpu(nqcmp->cq_handle_low); in bnxt_poll_p5()3381 bnxt_hwrm_handler(bp, (struct tx_cmp *)nqcmp); in bnxt_poll_p5()