Lines Matching refs:instructions
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) {
377 struct list_head *instructions;
424 instructions = wdat->instructions[action];
425 if (!instructions) {
426 instructions = devm_kzalloc(dev,
427 sizeof(*instructions),
429 if (!instructions)
432 INIT_LIST_HEAD(instructions);
433 wdat->instructions[action] = instructions;
436 list_add_tail(&instr->node, instructions);