Searched refs:chip_ctx (Results 1 – 5 of 5) sorted by relevance
55 struct bng_re_chip_ctx *chip_ctx; in bng_re_destroy_chip_ctx() local57 if (!rdev->chip_ctx) in bng_re_destroy_chip_ctx()63 chip_ctx = rdev->chip_ctx; in bng_re_destroy_chip_ctx()64 rdev->chip_ctx = NULL; in bng_re_destroy_chip_ctx()68 kfree(chip_ctx); in bng_re_destroy_chip_ctx()73 struct bng_re_chip_ctx *chip_ctx; in bng_re_setup_chip_ctx() local80 chip_ctx = kzalloc(sizeof(*chip_ctx), GFP_KERNEL); in bng_re_setup_chip_ctx()81 if (!chip_ctx) in bng_re_setup_chip_ctx()83 chip_ctx->chip_num = aux_dev->chip_num; in bng_re_setup_chip_ctx()84 chip_ctx->hw_stats_size = aux_dev->hw_ring_stats_size; 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 …]
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)
474 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_create_fence_wqe()530 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_destroy_fence_mr()564 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_create_fence_mr()1116 psn_sz = bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx) ? in bnxt_re_init_user_qp()1335 if (!bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) { in bnxt_re_adjust_gsi_rq_attr()1414 if (!bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) { in bnxt_re_adjust_gsi_sq_attr()1429 struct bnxt_qplib_chip_ctx *chip_ctx; in bnxt_re_init_qp_type() local1432 chip_ctx = rdev->chip_ctx; in bnxt_re_init_qp_type()1441 if (bnxt_qplib_is_chip_gen_p5_p7(chip_ctx) && in bnxt_re_init_qp_type()1674 !(bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx))) { in bnxt_re_create_qp()[all …]