Home | History | Annotate | Download | only in acpi

Lines Matching refs:action

30  * APEI action interpreter.
50 * | Action=SET_ERROR_TYPE |
55 * | Action=SET_ERROR_TYPE |
60 * | Action=SET_ERROR_TYPE |
64 * | Action=SET_ERROR_TYPE |
68 * | Action=EXECUTE_OPERATION |
72 * | Action=SET_ERROR_TYPE |
80 * The entries tell the OS, for each action the OS might want to
94 * sequence of instructions for each action, to make execution easier,
95 * since there's no requirement that the instructions for an action be
97 * contiguous indexing of the instructions for an action.
121 * Sequence of instructions to execute for an action.
180 unsigned action, nact = I->nact;
182 for (action = 0; action < nact; action++) {
183 struct apei_actinst *const A = &I->actinst[action];
211 * action, so we can allocate an array of instructions for
212 * indexing each action.
220 * If we don't recognize this action, ignore it and move on.
222 if (E->Action >= I->nact || I->actname[E->Action] == NULL) {
223 aprint_error("%s[%"PRIu32"]: unknown action: 0x%"PRIx8"\n",
224 I->name, i, E->Action);
227 struct apei_actinst *const A = &I->actinst[E->Action];
230 * If we can't interpret this instruction for this action, or
232 * action, disable this action and move on.
252 * If it overflows a reasonable size, disable the action
257 " too many instructions for action %"PRIu32" (%s)\n",
259 E->Action, I->actname[E->Action]);
292 if (E->Action > I->nact || I->actname[E->Action] == NULL)
296 * If the instruction is invalid, disable the whole action.
298 struct apei_actinst *const A = &I->actinst[E->Action];
308 * Allocate an array of instructions for each action that we
314 unsigned action;
316 for (action = 0; action < I->nact; action++) {
317 struct apei_actinst *const A = &I->actinst[action];
328 * array for its action. To be called for each entry in the table
339 if (E->Action >= I->nact || I->actname[E->Action] == NULL)
342 struct apei_actinst *const A = &I->actinst[E->Action];
356 * Paranoia: Verify we got all the instructions for each action,
358 * the instructions for each action, collated, with aprint_debug.
363 unsigned action;
365 for (action = 0; action < I->nact; action++) {
366 struct apei_actinst *const A = &I->actinst[action];
370 * If the action is disabled, it's all set.
375 "action %s ip=%"PRIu32" ninstruction=%"PRIu32,
376 I->actname[action], A->ip, A->ninst);
384 KASSERT(E->Action == action);
388 * map it, disable the action.
397 I->name, I->actname[action], j,
404 * apei_interpret(I, action, cookie)
406 * Run the instructions associated with the given action by
413 apei_interpret(struct apei_interp *I, unsigned action, void *cookie)
418 if (action > I->nact || I->actname[action] == NULL)
420 struct apei_actinst *const A = &I->actinst[action];