Searched refs:chip_ctx (Results 1 – 4 of 4) 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 …]
72 cctx = rdev->chip_ctx; in UVERBS_HANDLER()