Searched refs:raw_cons (Results  1 – 7 of 7) sorted by relevance
| /Linux-v5.15/drivers/infiniband/hw/bnxt_re/ | 
| D | qplib_rcfw.h | 112 #define CREQ_CMP_VALID(hdr, raw_cons, cp_bit)			\  argument114 	   !((raw_cons) & (cp_bit)))
 
 | 
| D | qplib_rcfw.c | 384 	u32 sw_cons, raw_cons;  in bnxt_qplib_service_creq()  local389 	raw_cons = hwq->cons;  in bnxt_qplib_service_creq()
 391 		sw_cons = HWQ_CMP(raw_cons, hwq);  in bnxt_qplib_service_creq()
 393 		if (!CREQ_CMP_VALID(creqe, raw_cons, hwq->max_elements))  in bnxt_qplib_service_creq()
 422 		raw_cons++;  in bnxt_qplib_service_creq()
 426 	if (hwq->cons != raw_cons) {  in bnxt_qplib_service_creq()
 427 		hwq->cons = raw_cons;  in bnxt_qplib_service_creq()
 
 | 
| D | qplib_fp.c | 239 	u32 sw_cons, raw_cons;  in clean_nq()  local245 	raw_cons = hwq->cons;  in clean_nq()
 247 		sw_cons = HWQ_CMP(raw_cons, hwq);  in clean_nq()
 250 		if (!NQE_CMP_VALID(nqe, raw_cons, hwq->max_elements))  in clean_nq()
 278 		raw_cons++;  in clean_nq()
 306 	u32 sw_cons, raw_cons;  in bnxt_qplib_service_nq()  local
 313 	raw_cons = hwq->cons;  in bnxt_qplib_service_nq()
 315 		sw_cons = HWQ_CMP(raw_cons, hwq);  in bnxt_qplib_service_nq()
 317 		if (!NQE_CMP_VALID(nqe, raw_cons, hwq->max_elements))  in bnxt_qplib_service_nq()
 380 		raw_cons++;  in bnxt_qplib_service_nq()
 [all …]
 
 | 
| D | qplib_fp.h | 351 #define CQE_CMP_VALID(hdr, raw_cons, cp_bit)			\  argument353 	   !((raw_cons) & (cp_bit)))
 445 #define NQE_CMP_VALID(hdr, raw_cons, cp_bit)			\  argument
 447 	   !((raw_cons) & (cp_bit)))
 
 | 
| /Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/ | 
| D | bnxt.h | 646 #define TX_CMP_VALID(txcmp, raw_cons)					\  argument648 	 !((raw_cons) & bp->cp_bit))
 650 #define RX_CMP_VALID(rxcmp1, raw_cons)					\  argument
 652 	 !((raw_cons) & bp->cp_bit))
 654 #define RX_AGG_CMP_VALID(agg, raw_cons)				\  argument
 656 	 !((raw_cons) & bp->cp_bit))
 658 #define NQ_CMP_VALID(nqcmp, raw_cons)				\  argument
 659 	(!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
 
 | 
| D | bnxt.c | 1164 			       u8 agg_bufs, u32 *raw_cons)  in bnxt_agg_bufs_valid()  argument1169 	*raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs);  in bnxt_agg_bufs_valid()
 1170 	last = RING_CMP(*raw_cons);  in bnxt_agg_bufs_valid()
 1173 	return RX_AGG_CMP_VALID(agg, *raw_cons);  in bnxt_agg_bufs_valid()
 1202 			   u32 *raw_cons, void *cmp)  in bnxt_discard_rx()  argument
 1205 	u32 tmp_raw_cons = *raw_cons;  in bnxt_discard_rx()
 1227 	*raw_cons = tmp_raw_cons;  in bnxt_discard_rx()
 1587 					   u32 *raw_cons,  in bnxt_tpa_end()  argument
 1604 		int rc = bnxt_discard_rx(bp, cpr, raw_cons, tpa_end);  in bnxt_tpa_end()
 1630 		idx = RING_CMP(*raw_cons);  in bnxt_tpa_end()
 [all …]
 
 | 
| D | bnxt_ethtool.c | 3325 			    u32 raw_cons, int pkt_size)  in bnxt_rx_loopback()  argument3337 	cp_cons = RING_CMP(raw_cons);  in bnxt_rx_loopback()
 3362 	u32 raw_cons;  in bnxt_poll_loopback()  local
 3366 	raw_cons = cpr->cp_raw_cons;  in bnxt_poll_loopback()
 3368 		cons = RING_CMP(raw_cons);  in bnxt_poll_loopback()
 3371 		if (!TX_CMP_VALID(txcmp, raw_cons)) {  in bnxt_poll_loopback()
 3381 			rc = bnxt_rx_loopback(bp, cpr, raw_cons, pkt_size);  in bnxt_poll_loopback()
 3382 			raw_cons = NEXT_RAW_CMP(raw_cons);  in bnxt_poll_loopback()
 3383 			raw_cons = NEXT_RAW_CMP(raw_cons);  in bnxt_poll_loopback()
 3386 		raw_cons = NEXT_RAW_CMP(raw_cons);  in bnxt_poll_loopback()
 [all …]
 
 |