Lines Matching refs:ctx

81 	struct cxl_cxims_context *ctx = arg;
82 struct cxl_root_decoder *cxlrd = ctx->cxlrd;
84 struct device *dev = ctx->dev;
198 struct cxl_cfmws_context *ctx)
201 struct cxl_port *root_port = ctx->root_port;
202 struct resource *cxl_res = ctx->cxl_res;
205 struct device *dev = ctx->dev;
233 res->name = kasprintf(GFP_KERNEL, "CXL Window %d", ctx->id++);
307 struct cxl_cfmws_context *ctx = arg;
308 struct device *dev = ctx->dev;
311 rc = __cxl_parse_cfmws(cfmws, ctx);
350 struct cxl_chbs_context *ctx = arg;
353 if (ctx->base != CXL_RESOURCE_NONE)
358 if (ctx->uid != chbs->uid)
361 ctx->cxl_version = chbs->cxl_version;
369 ctx->base = chbs->base;
375 struct cxl_chbs_context *ctx)
387 *ctx = (struct cxl_chbs_context) {
394 acpi_table_parse_cedt(ACPI_CEDT_TYPE_CHBS, cxl_get_chbs_iter, ctx);
404 struct cxl_chbs_context ctx;
413 rc = cxl_get_chbs(match, hb, &ctx);
417 if (ctx.cxl_version == UINT_MAX) {
419 ctx.uid);
423 if (ctx.base == CXL_RESOURCE_NONE) {
425 ctx.uid);
437 if (ctx.cxl_version == ACPI_CEDT_CHBS_VERSION_CXL11) {
438 dev_dbg(match, "RCRB found for UID %lld: %pa\n", ctx.uid,
439 &ctx.base);
440 dport = devm_cxl_add_rch_dport(root_port, bridge, ctx.uid,
441 ctx.base);
443 dport = devm_cxl_add_dport(root_port, bridge, ctx.uid,
466 struct cxl_chbs_context ctx;
486 rc = cxl_get_chbs(match, hb, &ctx);
490 if (ctx.cxl_version == ACPI_CEDT_CHBS_VERSION_CXL11) {
496 component_reg_phys = ctx.base;
499 ctx.uid, &component_reg_phys);
669 struct cxl_cfmws_context ctx;
698 ctx = (struct cxl_cfmws_context) {
703 rc = acpi_table_parse_cedt(ACPI_CEDT_TYPE_CFMWS, cxl_parse_cfmws, &ctx);