Lines Matching defs:cpr2

2742 		struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[i];
2744 if (cpr2) {
2745 work_done += __bnxt_poll_work(bp, cpr2,
2747 cpr->has_more_work |= cpr2->has_more_work;
2760 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[i];
2763 if (cpr2 && cpr2->had_work_done) {
2764 db = &cpr2->cp_db;
2766 RING_CMP(cpr2->cp_raw_cons), db->doorbell);
2767 cpr2->had_work_done = 0;
2816 struct bnxt_cp_ring_info *cpr2;
2822 cpr2 = cpr->cp_ring_arr[idx];
2823 work_done += __bnxt_poll_work(bp, cpr2,
2825 cpr->has_more_work |= cpr2->has_more_work;
3451 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[j];
3453 if (cpr2) {
3454 ring = &cpr2->cp_ring_struct;
3456 bnxt_free_cp_arrays(cpr2);
3457 kfree(cpr2);
3530 struct bnxt_cp_ring_info *cpr2 =
3533 cpr->cp_ring_arr[BNXT_RX_HDL] = cpr2;
3534 if (!cpr2)
3536 cpr2->bnapi = bnapi;
3540 struct bnxt_cp_ring_info *cpr2 =
3543 cpr->cp_ring_arr[BNXT_TX_HDL] = cpr2;
3544 if (!cpr2)
3546 cpr2->bnapi = bnapi;
3732 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[j];
3734 if (!cpr2)
3737 ring = &cpr2->cp_ring_struct;
3739 cpr2->rx_ring_coal.coal_ticks = bp->rx_coal.coal_ticks;
3740 cpr2->rx_ring_coal.coal_bufs = bp->rx_coal.coal_bufs;
5935 struct bnxt_cp_ring_info *cpr, *cpr2;
5939 cpr2 = cpr->cp_ring_arr[BNXT_TX_HDL];
5940 ring = &cpr2->cp_ring_struct;
5946 bnxt_set_db(bp, &cpr2->cp_db, type2, map_idx,
5948 bnxt_db_cq(bp, &cpr2->cp_db, cpr2->cp_raw_cons);
5976 struct bnxt_cp_ring_info *cpr2;
5978 cpr2 = cpr->cp_ring_arr[BNXT_RX_HDL];
5979 ring = &cpr2->cp_ring_struct;
5984 bnxt_set_db(bp, &cpr2->cp_db, type2, map_idx,
5986 bnxt_db_cq(bp, &cpr2->cp_db, cpr2->cp_raw_cons);
6126 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[j];
6128 if (cpr2) {
6129 ring = &cpr2->cp_ring_struct;
11993 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[j];
11996 if (!cpr2 || cpr2->has_more_work ||
11997 !bnxt_has_work(bp, cpr2))
12000 if (cpr2->cp_raw_cons != cpr2->last_cp_raw_cons) {
12001 cpr2->last_cp_raw_cons = cpr2->cp_raw_cons;
12004 fw_ring_id = cpr2->cp_ring_struct.fw_ring_id;