Lines Matching defs:action
22 * @node: Next instruction in action sequence
37 * @instructions: An array of instruction lists indexed by an action number from
114 static int wdat_wdt_run_action(struct wdat_wdt *wdat, unsigned int action,
119 if (action >= ARRAY_SIZE(wdat->instructions))
122 if (!wdat->instructions[action])
125 dev_dbg(&wdat->pdev->dev, "Running action %#x\n", action);
128 list_for_each_entry(instr, wdat->instructions[action], node) {
377 unsigned int action;
381 action = entries[i].action;
382 if (action >= MAX_WDAT_ACTIONS) {
383 dev_dbg(dev, "Skipping unknown action: %u\n", action);
423 instructions = wdat->instructions[action];
432 wdat->instructions[action] = instructions;