Searched refs:chip_ctx (Results 1 – 7 of 7) sorted by relevance
55 struct bng_re_chip_ctx *chip_ctx; in bng_re_destroy_chip_ctx() local60 chip_ctx = rdev->chip_ctx; in bng_re_destroy_chip_ctx()61 rdev->chip_ctx = NULL; in bng_re_destroy_chip_ctx()65 kfree(chip_ctx); in bng_re_destroy_chip_ctx()70 struct bng_re_chip_ctx *chip_ctx; in bng_re_setup_chip_ctx() local77 chip_ctx = kzalloc_obj(*chip_ctx); in bng_re_setup_chip_ctx()78 if (!chip_ctx) in bng_re_setup_chip_ctx()80 chip_ctx->chip_num = aux_dev->chip_num; in bng_re_setup_chip_ctx()81 chip_ctx->hw_stats_size = aux_dev->hw_ring_stats_size; in bng_re_setup_chip_ctx()83 rdev->chip_ctx = chip_ctx; in bng_re_setup_chip_ctx()[all …]
74 struct bng_re_chip_ctx *chip_ctx; member
101 cctx = rdev->chip_ctx; in bnxt_re_set_db_offset()134 cctx = rdev->chip_ctx; in bnxt_re_set_drv_mode()135 cctx->modes.wqe_mode = bnxt_qplib_is_chip_gen_p7(rdev->chip_ctx) ? in bnxt_re_set_drv_mode()140 if (bnxt_qplib_is_chip_gen_p7(rdev->chip_ctx)) { in bnxt_re_set_drv_mode()148 struct bnxt_qplib_chip_ctx *chip_ctx; in bnxt_re_destroy_chip_ctx() local150 if (!rdev->chip_ctx) in bnxt_re_destroy_chip_ctx()156 chip_ctx = rdev->chip_ctx; in bnxt_re_destroy_chip_ctx()157 rdev->chip_ctx = NULL; in bnxt_re_destroy_chip_ctx()162 kfree(chip_ctx); in bnxt_re_destroy_chip_ctx()167 struct bnxt_qplib_chip_ctx *chip_ctx; in bnxt_re_setup_chip_ctx() local[all …]
291 if ((bnxt_qplib_is_chip_gen_p5(rdev->chip_ctx) && rdev->is_virtfn) || in bnxt_re_assign_pma_port_ext_counters()292 !bnxt_qplib_is_chip_gen_p5(rdev->chip_ctx)) { in bnxt_re_assign_pma_port_ext_counters()334 if ((bnxt_qplib_is_chip_gen_p5(rdev->chip_ctx) && rdev->is_virtfn) || in bnxt_re_assign_pma_port_counters()335 !bnxt_qplib_is_chip_gen_p5(rdev->chip_ctx)) { in bnxt_re_assign_pma_port_counters()404 if (bnxt_ext_stats_supported(rdev->chip_ctx, rdev->dev_attr->dev_cap_flags, in bnxt_re_ib_get_hw_stats()416 return bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx) ? in bnxt_re_ib_get_hw_stats()426 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; member273 if (!bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx) || in bnxt_re_read_context_allowed()290 ((rdev)->chip_ctx->hwrm_cmd_max_timeout * 1000)
491 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_create_fence_wqe()547 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_destroy_fence_mr()581 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_create_fence_mr()1133 psn_sz = bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx) ? in bnxt_re_init_user_qp()1352 if (!bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) { in bnxt_re_adjust_gsi_rq_attr()1431 if (!bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) { in bnxt_re_adjust_gsi_sq_attr()1446 struct bnxt_qplib_chip_ctx *chip_ctx; in bnxt_re_init_qp_type() local1449 chip_ctx = rdev->chip_ctx; in bnxt_re_init_qp_type()1458 if (bnxt_qplib_is_chip_gen_p5_p7(chip_ctx) && in bnxt_re_init_qp_type()1690 !(bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx))) { in bnxt_re_create_qp()[all …]
199 return rdev->chip_ctx->modes.wqe_mode; in bnxt_re_is_var_size_supported()