Lines Matching refs:ctx
11 typedef int (*apei_exec_ins_func_t)(struct apei_exec_context *ctx,
34 int apei_exec_ctx_init(struct apei_exec_context *ctx,
40 static inline void apei_exec_ctx_set_input(struct apei_exec_context *ctx, in apei_exec_ctx_set_input() argument
43 ctx->value = input; in apei_exec_ctx_set_input()
46 static inline u64 apei_exec_ctx_get_output(struct apei_exec_context *ctx) in apei_exec_ctx_get_output() argument
48 return ctx->value; in apei_exec_ctx_get_output()
51 int __apei_exec_run(struct apei_exec_context *ctx, u8 action, bool_t optional);
53 static inline int apei_exec_run(struct apei_exec_context *ctx, u8 action) in apei_exec_run() argument
55 return __apei_exec_run(ctx, action, 0); in apei_exec_run()
59 static inline int apei_exec_run_optional(struct apei_exec_context *ctx, u8 action) in apei_exec_run_optional() argument
61 return __apei_exec_run(ctx, action, 1); in apei_exec_run_optional()
71 int apei_exec_read_register(struct apei_exec_context *ctx,
73 int apei_exec_read_register_value(struct apei_exec_context *ctx,
75 int apei_exec_write_register(struct apei_exec_context *ctx,
77 int apei_exec_write_register_value(struct apei_exec_context *ctx,
79 int apei_exec_noop(struct apei_exec_context *ctx,
81 int apei_exec_pre_map_gars(struct apei_exec_context *ctx);
82 int apei_exec_post_unmap_gars(struct apei_exec_context *ctx);