Lines Matching defs:cpr2
2513 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[i];
2515 if (cpr2) {
2516 work_done += __bnxt_poll_work(bp, cpr2,
2518 cpr->has_more_work |= cpr2->has_more_work;
2531 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[i];
2534 if (cpr2 && cpr2->had_work_done) {
2535 db = &cpr2->cp_db;
2537 RING_CMP(cpr2->cp_raw_cons), db->doorbell);
2538 cpr2->had_work_done = 0;
2581 struct bnxt_cp_ring_info *cpr2;
2587 cpr2 = cpr->cp_ring_arr[idx];
2588 work_done += __bnxt_poll_work(bp, cpr2,
2590 cpr->has_more_work |= cpr2->has_more_work;
3132 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[j];
3134 if (cpr2) {
3135 ring = &cpr2->cp_ring_struct;
3137 kfree(cpr2);
3203 struct bnxt_cp_ring_info *cpr2 =
3206 cpr->cp_ring_arr[BNXT_RX_HDL] = cpr2;
3207 if (!cpr2)
3209 cpr2->bnapi = bnapi;
3213 struct bnxt_cp_ring_info *cpr2 =
3216 cpr->cp_ring_arr[BNXT_TX_HDL] = cpr2;
3217 if (!cpr2)
3219 cpr2->bnapi = bnapi;
3405 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[j];
3407 if (!cpr2)
3410 ring = &cpr2->cp_ring_struct;
3412 cpr2->rx_ring_coal.coal_ticks = bp->rx_coal.coal_ticks;
3413 cpr2->rx_ring_coal.coal_bufs = bp->rx_coal.coal_bufs;
5791 struct bnxt_cp_ring_info *cpr, *cpr2;
5795 cpr2 = cpr->cp_ring_arr[BNXT_TX_HDL];
5796 ring = &cpr2->cp_ring_struct;
5802 bnxt_set_db(bp, &cpr2->cp_db, type2, map_idx,
5804 bnxt_db_cq(bp, &cpr2->cp_db, cpr2->cp_raw_cons);
5832 struct bnxt_cp_ring_info *cpr2;
5834 cpr2 = cpr->cp_ring_arr[BNXT_RX_HDL];
5835 ring = &cpr2->cp_ring_struct;
5840 bnxt_set_db(bp, &cpr2->cp_db, type2, map_idx,
5842 bnxt_db_cq(bp, &cpr2->cp_db, cpr2->cp_raw_cons);
5978 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[j];
5980 if (cpr2) {
5981 ring = &cpr2->cp_ring_struct;
11074 struct bnxt_cp_ring_info *cpr2 = cpr->cp_ring_arr[j];
11077 if (!cpr2 || cpr2->has_more_work ||
11078 !bnxt_has_work(bp, cpr2))
11081 if (cpr2->cp_raw_cons != cpr2->last_cp_raw_cons) {
11082 cpr2->last_cp_raw_cons = cpr2->cp_raw_cons;
11085 fw_ring_id = cpr2->cp_ring_struct.fw_ring_id;