Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/bng_re/
H A Dbng_dev.c55 struct bng_re_chip_ctx *chip_ctx; in bng_re_destroy_chip_ctx() local
60 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() local
77 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 …]
H A Dbng_re.h74 struct bng_re_chip_ctx *chip_ctx; member
/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c101 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() local
150 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 …]
H A Duapi.c72 cctx = rdev->chip_ctx; in UVERBS_HANDLER()