Home
last modified time | relevance | path

Searched refs:chip_ctx (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c102 cctx = rdev->chip_ctx; in bnxt_re_set_db_offset()
135 cctx = rdev->chip_ctx; in bnxt_re_set_drv_mode()
136 cctx->modes.wqe_mode = bnxt_qplib_is_chip_gen_p7(rdev->chip_ctx) ? in bnxt_re_set_drv_mode()
145 struct bnxt_qplib_chip_ctx *chip_ctx; in bnxt_re_destroy_chip_ctx() local
147 if (!rdev->chip_ctx) in bnxt_re_destroy_chip_ctx()
149 chip_ctx = rdev->chip_ctx; in bnxt_re_destroy_chip_ctx()
150 rdev->chip_ctx = NULL; in bnxt_re_destroy_chip_ctx()
155 kfree(chip_ctx); in bnxt_re_destroy_chip_ctx()
160 struct bnxt_qplib_chip_ctx *chip_ctx; in bnxt_re_setup_chip_ctx() local
166 chip_ctx = kzalloc(sizeof(*chip_ctx), GFP_KERNEL); in bnxt_re_setup_chip_ctx()
[all …]
H A Dhw_counters.c369 if (rdev->pacing.dbr_pacing && bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_ib_get_hw_stats()
374 return bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx) ? in bnxt_re_ib_get_hw_stats()
384 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_ib_alloc_hw_port_stats()
H A Dbnxt_re.h151 struct bnxt_qplib_chip_ctx *chip_ctx; member
H A Dib_verbs.c405 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_create_fence_wqe()
461 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_destroy_fence_mr()
495 if (bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) in bnxt_re_create_fence_mr()
1035 psn_sz = bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx) ? in bnxt_re_init_user_qp()
1249 if (!bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) { in bnxt_re_adjust_gsi_rq_attr()
1317 if (!bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx)) { in bnxt_re_adjust_gsi_sq_attr()
1332 struct bnxt_qplib_chip_ctx *chip_ctx; in bnxt_re_init_qp_type() local
1335 chip_ctx = rdev->chip_ctx; in bnxt_re_init_qp_type()
1344 if (bnxt_qplib_is_chip_gen_p5_p7(chip_ctx) && in bnxt_re_init_qp_type()
1379 qplqp->wqe_mode = rdev->chip_ctx->modes.wqe_mode; in bnxt_re_init_qp_attr()
[all …]