Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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-5.19.10/arch/x86/kernel/cpu/mce/
Dapei.c55 int apei_smca_report_x86_error(struct cper_ia_proc_ctx *ctx_info, u64 lapic_id) in apei_smca_report_x86_error() argument
57 const u64 *i_mce = ((const u64 *) (ctx_info + 1)); in apei_smca_report_x86_error()
72 if ((ctx_info->msr_addr & MSR_AMD64_SMCA_MC0_STATUS) != in apei_smca_report_x86_error()
86 if (ctx_info->reg_arr_size < 48) in apei_smca_report_x86_error()
103 m.bank = (ctx_info->msr_addr >> 4) & 0xFF; in apei_smca_report_x86_error()
/linux-5.19.10/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-5.19.10/arch/x86/include/asm/
Dacpi.h183 int arch_apei_report_x86_error(struct cper_ia_proc_ctx *ctx_info,
186 static inline int arch_apei_report_x86_error(struct cper_ia_proc_ctx *ctx_info, in arch_apei_report_x86_error() argument
Dmce.h208 int apei_smca_report_x86_error(struct cper_ia_proc_ctx *ctx_info,
214 static inline int apei_smca_report_x86_error(struct cper_ia_proc_ctx *ctx_info, in apei_smca_report_x86_error() argument
/linux-5.19.10/drivers/infiniband/hw/irdma/
Dverbs.c703 struct irdma_qp_host_ctx_info *ctx_info) in irdma_roce_fill_and_set_qpctx_info() argument
737 ctx_info->roce_info = &iwqp->roce_info; in irdma_roce_fill_and_set_qpctx_info()
738 ctx_info->udp_info = &iwqp->udp_info; in irdma_roce_fill_and_set_qpctx_info()
739 irdma_sc_qp_setctx_roce(&iwqp->sc_qp, iwqp->host_ctx.va, ctx_info); in irdma_roce_fill_and_set_qpctx_info()
743 struct irdma_qp_host_ctx_info *ctx_info) in irdma_iw_fill_and_set_qpctx_info() argument
766 ctx_info->iwarp_info = &iwqp->iwarp_info; in irdma_iw_fill_and_set_qpctx_info()
767 ctx_info->iwarp_info_valid = true; in irdma_iw_fill_and_set_qpctx_info()
768 irdma_sc_qp_setctx(&iwqp->sc_qp, iwqp->host_ctx.va, ctx_info); in irdma_iw_fill_and_set_qpctx_info()
769 ctx_info->iwarp_info_valid = false; in irdma_iw_fill_and_set_qpctx_info()
832 struct irdma_qp_host_ctx_info *ctx_info; in irdma_create_qp() local
[all …]
Dhw.c214 struct irdma_qp_host_ctx_info *ctx_info = NULL; in irdma_process_aeq() local
259 ctx_info = &iwqp->ctx_info; in irdma_process_aeq()
373 ctx_info->roce_info->err_rq_idx_valid = info->rq; in irdma_process_aeq()
375 ctx_info->roce_info->err_rq_idx = info->wqe_idx; in irdma_process_aeq()
377 ctx_info); in irdma_process_aeq()
383 ctx_info->iwarp_info->err_rq_idx_valid = info->rq; in irdma_process_aeq()
385 ctx_info->iwarp_info->err_rq_idx = info->wqe_idx; in irdma_process_aeq()
386 ctx_info->tcp_info_valid = false; in irdma_process_aeq()
387 ctx_info->iwarp_info_valid = true; in irdma_process_aeq()
389 ctx_info); in irdma_process_aeq()
Dverbs.h160 struct irdma_qp_host_ctx_info ctx_info; member
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 …]
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c2258 struct cudbg_region_info *ctx_info, in cudbg_get_ctxt_region_info() argument
2285 ctx_info[i].exist = false; in cudbg_get_ctxt_region_info()
2288 ctx_info[i].exist = true; in cudbg_get_ctxt_region_info()
2289 ctx_info[i].start = mem_desc.base; in cudbg_get_ctxt_region_info()
2290 ctx_info[i].end = mem_desc.limit; in cudbg_get_ctxt_region_info()
2296 ctx_info[i].exist = false; in cudbg_get_ctxt_region_info()
2304 ctx_info[CTXT_FLM].exist = true; in cudbg_get_ctxt_region_info()
2305 ctx_info[CTXT_FLM].end = (CUDBG_MAX_FL_QIDS >> flq) * SGE_CTXT_SIZE; in cudbg_get_ctxt_region_info()
2310 ctx_info[CTXT_CNM].exist = true; in cudbg_get_ctxt_region_info()
2311 ctx_info[CTXT_CNM].end = ctx_info[CTXT_FLM].end; in cudbg_get_ctxt_region_info()
/linux-5.19.10/drivers/media/platform/ti/cal/
Dcal.h273 #define ctx_info(ctx, fmt, arg...) \ macro
Dcal-video.c961 ctx_info(ctx, "V4L2 device registered as %s\n", in cal_ctx_v4l2_register()
/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c312 struct vmw_ctx_validation_info *ctx_info; in vmw_execbuf_res_noref_val_add() local
327 dirty, (void **)&ctx_info, in vmw_execbuf_res_noref_val_add()
335 ctx_info); in vmw_execbuf_res_noref_val_add()
342 vmw_execbuf_rcache_update(rcache, res, ctx_info); in vmw_execbuf_res_noref_val_add()
1999 struct vmw_ctx_validation_info *ctx_info; in vmw_cmd_set_shader() local
2052 ctx_info = vmw_execbuf_info_from_res(sw_context, ctx); in vmw_cmd_set_shader()
2053 if (!ctx_info) in vmw_cmd_set_shader()
2060 vmw_binding_add(ctx_info->staged, &binding.bi, binding.shader_slot, 0); in vmw_cmd_set_shader()