Searched refs:chip_ctx (Results 1 – 5 of 5) sorted by relevance
100 cctx = rdev->chip_ctx; in bnxt_re_set_db_offset()133 cctx = rdev->chip_ctx; in bnxt_re_set_drv_mode()149 if (!rdev->chip_ctx) in bnxt_re_destroy_chip_ctx()155 chip_ctx = rdev->chip_ctx; in bnxt_re_destroy_chip_ctx()156 rdev->chip_ctx = NULL; in bnxt_re_destroy_chip_ctx()161 kfree(chip_ctx); in bnxt_re_destroy_chip_ctx()173 chip_ctx = kzalloc(sizeof(*chip_ctx), GFP_KERNEL); in bnxt_re_setup_chip_ctx()174 if (!chip_ctx) in bnxt_re_setup_chip_ctx()179 rdev->chip_ctx = chip_ctx; in bnxt_re_setup_chip_ctx()206 kfree(rdev->chip_ctx); in bnxt_re_setup_chip_ctx()[all …]
309 if ((bnxt_qplib_is_chip_gen_p5(rdev->chip_ctx) && rdev->is_virtfn) || in bnxt_re_assign_pma_port_ext_counters()310 !bnxt_qplib_is_chip_gen_p5(rdev->chip_ctx)) { in bnxt_re_assign_pma_port_ext_counters()352 if ((bnxt_qplib_is_chip_gen_p5(rdev->chip_ctx) && rdev->is_virtfn) || in bnxt_re_assign_pma_port_counters()353 !bnxt_qplib_is_chip_gen_p5(rdev->chip_ctx)) { in bnxt_re_assign_pma_port_counters()443 if (bnxt_ext_stats_supported(rdev->chip_ctx, rdev->dev_attr->dev_cap_flags, in bnxt_re_ib_get_hw_stats()452 if (rdev->pacing.dbr_pacing && bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_ib_get_hw_stats()457 return bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx) ? in bnxt_re_ib_get_hw_stats()467 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_ib_alloc_hw_port_stats()
185 struct bnxt_qplib_chip_ctx *chip_ctx; member263 if (!bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx) || in bnxt_re_read_context_allowed()
472 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_create_fence_wqe()528 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_destroy_fence_mr()1412 struct bnxt_qplib_chip_ctx *chip_ctx; in bnxt_re_init_qp_type() local1415 chip_ctx = rdev->chip_ctx; in bnxt_re_init_qp_type()1424 if (bnxt_qplib_is_chip_gen_p5_p7(chip_ctx) && in bnxt_re_init_qp_type()3061 cctx = rdev->chip_ctx; in bnxt_re_destroy_cq()3101 cctx = rdev->chip_ctx; in bnxt_re_create_cq()4318 chip_met_rev_num = rdev->chip_ctx->chip_num; in bnxt_re_alloc_ucontext()4331 if (rdev->chip_ctx->modes.db_push) in bnxt_re_alloc_ucontext()4356 resp.mode = rdev->chip_ctx->modes.wqe_mode; in bnxt_re_alloc_ucontext()[all …]
194 return rdev->chip_ctx->modes.wqe_mode; in bnxt_re_is_var_size_supported()
Completed in 23 milliseconds