Lines Matching refs:ctx
141 static void einj_exec_ctx_init(struct apei_exec_context *ctx)
143 apei_exec_ctx_init(ctx, einj_ins_type, ARRAY_SIZE(einj_ins_type),
149 struct apei_exec_context ctx;
152 einj_exec_ctx_init(&ctx);
153 rc = apei_exec_run(&ctx, ACPI_EINJ_GET_ERROR_TYPE);
156 *type = apei_exec_ctx_get_output(&ctx);
407 struct apei_exec_context ctx;
411 einj_exec_ctx_init(&ctx);
413 rc = apei_exec_run_optional(&ctx, ACPI_EINJ_BEGIN_OPERATION);
416 apei_exec_ctx_set_input(&ctx, type);
465 rc = apei_exec_run(&ctx, ACPI_EINJ_SET_ERROR_TYPE);
475 rc = apei_exec_run(&ctx, ACPI_EINJ_EXECUTE_OPERATION);
479 rc = apei_exec_run(&ctx, ACPI_EINJ_CHECK_BUSY_STATUS);
482 val = apei_exec_ctx_get_output(&ctx);
488 rc = apei_exec_run(&ctx, ACPI_EINJ_GET_COMMAND_STATUS);
491 val = apei_exec_ctx_get_output(&ctx);
501 rc = apei_exec_run(&ctx, ACPI_EINJ_GET_TRIGGER_TABLE);
504 trigger_paddr = apei_exec_ctx_get_output(&ctx);
510 rc = apei_exec_run_optional(&ctx, ACPI_EINJ_END_OPERATION);
691 struct apei_exec_context ctx;
726 einj_exec_ctx_init(&ctx);
727 rc = apei_exec_collect_resources(&ctx, &einj_resources);
739 rc = apei_exec_pre_map_gars(&ctx);
787 struct apei_exec_context ctx;
796 einj_exec_ctx_init(&ctx);
797 apei_exec_post_unmap_gars(&ctx);