Home
last modified time | relevance | path

Searched refs:ctx_info (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/firmware/efi/
Dcper-x86.c261 struct cper_ia_proc_ctx *ctx_info; in cper_print_proc_ia() local
326 ctx_info = (struct cper_ia_proc_ctx *)err_info; in cper_print_proc_ia()
328 int size = sizeof(*ctx_info) + ctx_info->reg_arr_size; in cper_print_proc_ia()
334 ctx_info->reg_ctx_type < ARRAY_SIZE(ia_reg_ctx_strs) ? in cper_print_proc_ia()
335 ia_reg_ctx_strs[ctx_info->reg_ctx_type] : "unknown"); in cper_print_proc_ia()
338 ctx_info->reg_arr_size); in cper_print_proc_ia()
340 if (ctx_info->reg_ctx_type == CTX_TYPE_MSR) { in cper_print_proc_ia()
343 ctx_info->msr_addr); in cper_print_proc_ia()
346 if (ctx_info->reg_ctx_type == CTX_TYPE_MMREG) { in cper_print_proc_ia()
348 ctx_info->mm_reg_addr); in cper_print_proc_ia()
[all …]
Dcper-arm.c243 struct cper_arm_ctx_info *ctx_info; in cper_print_proc_arm() local
312 ctx_info = (struct cper_arm_ctx_info *)err_info; in cper_print_proc_arm()
315 int size = sizeof(*ctx_info) + ctx_info->size; in cper_print_proc_arm()
323 if (ctx_info->type > max_ctx_type) { in cper_print_proc_arm()
325 newpfx, ctx_info->type, max_ctx_type); in cper_print_proc_arm()
329 arm_reg_ctx_strs[ctx_info->type]); in cper_print_proc_arm()
331 (ctx_info + 1), ctx_info->size, 0); in cper_print_proc_arm()
333 ctx_info = (struct cper_arm_ctx_info *)((long)ctx_info + size); in cper_print_proc_arm()
339 print_hex_dump(newpfx, "", DUMP_PREFIX_OFFSET, 16, 4, ctx_info, in cper_print_proc_arm()
/linux-6.1.9/drivers/scsi/cxlflash/
Dsuperpipe.h85 struct ctx_info { struct
119 int _cxlflash_vlun_resize(struct scsi_device *sdev, struct ctx_info *ctxi, argument
124 int _cxlflash_disk_release(struct scsi_device *sdev, struct ctx_info *ctxi,
135 struct ctx_info *get_context(struct cxlflash_cfg *cfg, u64 rctxit, void *arg,
137 void put_context(struct ctx_info *ctxi);
139 struct sisl_rht_entry *get_rhte(struct ctx_info *ctxi, res_hndl_t rhndl,
142 struct sisl_rht_entry *rhte_checkout(struct ctx_info *ctxi,
144 void rhte_checkin(struct ctx_info *ctxi, struct sisl_rht_entry *rhte);
Dsuperpipe.c128 static struct ctx_info *find_error_context(struct cxlflash_cfg *cfg, u64 rctxid, in find_error_context()
131 struct ctx_info *ctxi; in find_error_context()
155 struct ctx_info *get_context(struct cxlflash_cfg *cfg, u64 rctxid, in get_context()
159 struct ctx_info *ctxi = NULL; in get_context()
245 void put_context(struct ctx_info *ctxi) in put_context()
261 static int afu_attach(struct cxlflash_cfg *cfg, struct ctx_info *ctxi) in afu_attach()
434 struct sisl_rht_entry *get_rhte(struct ctx_info *ctxi, res_hndl_t rhndl, in get_rhte()
478 struct sisl_rht_entry *rhte_checkout(struct ctx_info *ctxi, in rhte_checkout()
506 void rhte_checkin(struct ctx_info *ctxi, in rhte_checkin()
629 struct ctx_info *ctxi, in _cxlflash_disk_release()
[all …]
Dvlun.c622 struct ctx_info *ctxi, in shrink_lxt()
730 struct ctx_info *ctxi, in _cxlflash_vlun_resize()
991 struct ctx_info *ctxi = NULL; in cxlflash_disk_virtual_open()
1201 struct ctx_info *ctxi_src = NULL, in cxlflash_disk_clone()
Dcommon.h137 struct ctx_info *ctx_tbl[MAX_CONTEXT];
/linux-6.1.9/arch/x86/kernel/cpu/mce/
Dapei.c66 int apei_smca_report_x86_error(struct cper_ia_proc_ctx *ctx_info, u64 lapic_id) in apei_smca_report_x86_error() argument
68 const u64 *i_mce = ((const u64 *) (ctx_info + 1)); in apei_smca_report_x86_error()
83 if ((ctx_info->msr_addr & MSR_AMD64_SMCA_MC0_STATUS) != in apei_smca_report_x86_error()
97 if (ctx_info->reg_arr_size < 48) in apei_smca_report_x86_error()
114 m.bank = (ctx_info->msr_addr >> 4) & 0xFF; in apei_smca_report_x86_error()
/linux-6.1.9/arch/x86/kernel/acpi/
Dapei.c47 int arch_apei_report_x86_error(struct cper_ia_proc_ctx *ctx_info, u64 lapic_id) in arch_apei_report_x86_error() argument
49 return apei_smca_report_x86_error(ctx_info, lapic_id); in arch_apei_report_x86_error()
/linux-6.1.9/arch/x86/include/asm/
Dacpi.h191 int arch_apei_report_x86_error(struct cper_ia_proc_ctx *ctx_info,
194 static inline int arch_apei_report_x86_error(struct cper_ia_proc_ctx *ctx_info, in arch_apei_report_x86_error() argument
Dmce.h209 int apei_smca_report_x86_error(struct cper_ia_proc_ctx *ctx_info,
215 static inline int apei_smca_report_x86_error(struct cper_ia_proc_ctx *ctx_info, in apei_smca_report_x86_error() argument
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c684 struct irdma_qp_host_ctx_info *ctx_info) in irdma_roce_fill_and_set_qpctx_info() argument
718 ctx_info->roce_info = &iwqp->roce_info; in irdma_roce_fill_and_set_qpctx_info()
719 ctx_info->udp_info = &iwqp->udp_info; in irdma_roce_fill_and_set_qpctx_info()
720 irdma_sc_qp_setctx_roce(&iwqp->sc_qp, iwqp->host_ctx.va, ctx_info); in irdma_roce_fill_and_set_qpctx_info()
724 struct irdma_qp_host_ctx_info *ctx_info) in irdma_iw_fill_and_set_qpctx_info() argument
747 ctx_info->iwarp_info = &iwqp->iwarp_info; in irdma_iw_fill_and_set_qpctx_info()
748 ctx_info->iwarp_info_valid = true; in irdma_iw_fill_and_set_qpctx_info()
749 irdma_sc_qp_setctx(&iwqp->sc_qp, iwqp->host_ctx.va, ctx_info); in irdma_iw_fill_and_set_qpctx_info()
750 ctx_info->iwarp_info_valid = false; in irdma_iw_fill_and_set_qpctx_info()
815 struct irdma_qp_host_ctx_info *ctx_info; in irdma_create_qp() local
[all …]
Dhw.c223 struct irdma_qp_host_ctx_info *ctx_info = NULL; in irdma_process_aeq() local
268 ctx_info = &iwqp->ctx_info; in irdma_process_aeq()
382 ctx_info->roce_info->err_rq_idx_valid = info->rq; in irdma_process_aeq()
384 ctx_info->roce_info->err_rq_idx = info->wqe_idx; in irdma_process_aeq()
386 ctx_info); in irdma_process_aeq()
392 ctx_info->iwarp_info->err_rq_idx_valid = info->rq; in irdma_process_aeq()
394 ctx_info->iwarp_info->err_rq_idx = info->wqe_idx; in irdma_process_aeq()
395 ctx_info->tcp_info_valid = false; in irdma_process_aeq()
396 ctx_info->iwarp_info_valid = true; in irdma_process_aeq()
398 ctx_info); in irdma_process_aeq()
Dcm.c3338 struct irdma_qp_host_ctx_info *ctx_info; in irdma_cm_init_tsa_conn() local
3341 ctx_info = &iwqp->ctx_info; in irdma_cm_init_tsa_conn()
3343 ctx_info->tcp_info = &iwqp->tcp_info; in irdma_cm_init_tsa_conn()
3344 ctx_info->send_cq_num = iwqp->iwscq->sc_cq.cq_uk.cq_id; in irdma_cm_init_tsa_conn()
3345 ctx_info->rcv_cq_num = iwqp->iwrcq->sc_cq.cq_uk.cq_id; in irdma_cm_init_tsa_conn()
3354 ctx_info->tcp_info_valid = true; in irdma_cm_init_tsa_conn()
3355 ctx_info->iwarp_info_valid = true; in irdma_cm_init_tsa_conn()
3356 ctx_info->user_pri = cm_node->user_pri; in irdma_cm_init_tsa_conn()
3374 irdma_sc_qp_setctx(&iwqp->sc_qp, iwqp->host_ctx.va, ctx_info); in irdma_cm_init_tsa_conn()
3377 ctx_info->tcp_info_valid = false; in irdma_cm_init_tsa_conn()
[all …]
Dverbs.h160 struct irdma_qp_host_ctx_info ctx_info; member
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c2259 struct cudbg_region_info *ctx_info, in cudbg_get_ctxt_region_info() argument
2286 ctx_info[i].exist = false; in cudbg_get_ctxt_region_info()
2289 ctx_info[i].exist = true; in cudbg_get_ctxt_region_info()
2290 ctx_info[i].start = mem_desc.base; in cudbg_get_ctxt_region_info()
2291 ctx_info[i].end = mem_desc.limit; in cudbg_get_ctxt_region_info()
2297 ctx_info[i].exist = false; in cudbg_get_ctxt_region_info()
2305 ctx_info[CTXT_FLM].exist = true; in cudbg_get_ctxt_region_info()
2306 ctx_info[CTXT_FLM].end = (CUDBG_MAX_FL_QIDS >> flq) * SGE_CTXT_SIZE; in cudbg_get_ctxt_region_info()
2311 ctx_info[CTXT_CNM].exist = true; in cudbg_get_ctxt_region_info()
2312 ctx_info[CTXT_CNM].end = ctx_info[CTXT_FLM].end; in cudbg_get_ctxt_region_info()
/linux-6.1.9/drivers/media/platform/ti/cal/
Dcal.h277 #define ctx_info(ctx, fmt, arg...) \ macro
Dcal-video.c962 ctx_info(ctx, "V4L2 device registered as %s\n", in cal_ctx_v4l2_register()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c318 struct vmw_ctx_validation_info *ctx_info; in vmw_execbuf_res_val_add() local
332 (void **)&ctx_info, NULL); in vmw_execbuf_res_val_add()
339 dirty, (void **)&ctx_info, in vmw_execbuf_res_val_add()
346 ctx_info); in vmw_execbuf_res_val_add()
354 vmw_execbuf_rcache_update(rcache, res, ctx_info); in vmw_execbuf_res_val_add()
1981 struct vmw_ctx_validation_info *ctx_info; in vmw_cmd_set_shader() local
2035 ctx_info = vmw_execbuf_info_from_res(sw_context, ctx); in vmw_cmd_set_shader()
2036 if (!ctx_info) in vmw_cmd_set_shader()
2043 vmw_binding_add(ctx_info->staged, &binding.bi, binding.shader_slot, 0); in vmw_cmd_set_shader()