Lines Matching refs:cpr
3145 struct bnxt_cp_ring_info *cpr; in bnxt_rx_queue_count_op() local
3158 cpr = rxq->cp_ring; in bnxt_rx_queue_count_op()
3159 raw_cons = cpr->cp_raw_cons; in bnxt_rx_queue_count_op()
3160 cp_ring_size = cpr->cp_ring_struct->ring_size; in bnxt_rx_queue_count_op()
3165 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_rx_queue_count_op()
3166 rxcmp = (struct rx_pkt_cmpl *)&cpr->cp_desc_ring[cons]; in bnxt_rx_queue_count_op()
3210 struct bnxt_cp_ring_info *cpr; in bnxt_rx_descriptor_status_op() local
3225 cpr = rxq->cp_ring; in bnxt_rx_descriptor_status_op()
3226 cp_ring_size = cpr->cp_ring_struct->ring_size; in bnxt_rx_descriptor_status_op()
3238 raw_cons = cpr->cp_raw_cons + in bnxt_rx_descriptor_status_op()
3240 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_rx_descriptor_status_op()
3241 rxcmp = (struct rx_pkt_cmpl *)&cpr->cp_desc_ring[cons]; in bnxt_rx_descriptor_status_op()
3261 raw_cons = cpr->cp_raw_cons; in bnxt_rx_descriptor_status_op()
3266 cons = RING_CMP(cpr->cp_ring_struct, raw_cons); in bnxt_rx_descriptor_status_op()
3267 rxcmp = (struct rx_pkt_cmpl *)&cpr->cp_desc_ring[cons]; in bnxt_rx_descriptor_status_op()
3321 struct bnxt_cp_ring_info *cpr = txq->cp_ring; in bnxt_tx_descriptor_status_op() local
3337 raw_cons = cpr->cp_raw_cons; in bnxt_tx_descriptor_status_op()
3338 cp_desc_ring = cpr->cp_desc_ring; in bnxt_tx_descriptor_status_op()
3339 ring_mask = cpr->cp_ring_struct->ring_mask; in bnxt_tx_descriptor_status_op()