Lines Matching refs:instructions
37 * @instructions: An array of instruction lists indexed by an action number from
47 struct list_head *instructions[MAX_WDAT_ACTIONS];
119 if (action >= ARRAY_SIZE(wdat->instructions))
122 if (!wdat->instructions[action])
128 list_for_each_entry(instr, wdat->instructions[action], node) {
376 struct list_head *instructions;
423 instructions = wdat->instructions[action];
424 if (!instructions) {
425 instructions = devm_kzalloc(dev,
426 sizeof(*instructions),
428 if (!instructions)
431 INIT_LIST_HEAD(instructions);
432 wdat->instructions[action] = instructions;
435 list_add_tail(&instr->node, instructions);
438 if (wdat->instructions[ACPI_WDAT_GET_CURRENT_COUNTDOWN])