Lines Matching refs:ctx
140 static void einj_exec_ctx_init(struct apei_exec_context *ctx)
142 apei_exec_ctx_init(ctx, einj_ins_type, ARRAY_SIZE(einj_ins_type),
148 struct apei_exec_context ctx;
151 einj_exec_ctx_init(&ctx);
152 rc = apei_exec_run(&ctx, ACPI_EINJ_GET_ERROR_TYPE);
155 *type = apei_exec_ctx_get_output(&ctx);
405 struct apei_exec_context ctx;
409 einj_exec_ctx_init(&ctx);
411 rc = apei_exec_run_optional(&ctx, ACPI_EINJ_BEGIN_OPERATION);
414 apei_exec_ctx_set_input(&ctx, type);
463 rc = apei_exec_run(&ctx, ACPI_EINJ_SET_ERROR_TYPE);
472 rc = apei_exec_run(&ctx, ACPI_EINJ_EXECUTE_OPERATION);
476 rc = apei_exec_run(&ctx, ACPI_EINJ_CHECK_BUSY_STATUS);
479 val = apei_exec_ctx_get_output(&ctx);
485 rc = apei_exec_run(&ctx, ACPI_EINJ_GET_COMMAND_STATUS);
488 val = apei_exec_ctx_get_output(&ctx);
492 rc = apei_exec_run(&ctx, ACPI_EINJ_GET_TRIGGER_TABLE);
495 trigger_paddr = apei_exec_ctx_get_output(&ctx);
501 rc = apei_exec_run_optional(&ctx, ACPI_EINJ_END_OPERATION);
675 struct apei_exec_context ctx;
711 einj_exec_ctx_init(&ctx);
712 rc = apei_exec_collect_resources(&ctx, &einj_resources);
724 rc = apei_exec_pre_map_gars(&ctx);
773 struct apei_exec_context ctx;
782 einj_exec_ctx_init(&ctx);
783 apei_exec_post_unmap_gars(&ctx);