Lines Matching refs:instructions
47 struct list_head *instructions[MAX_WDAT_ACTIONS]; member
119 if (action >= ARRAY_SIZE(wdat->instructions)) in wdat_wdt_run_action()
122 if (!wdat->instructions[action]) in wdat_wdt_run_action()
128 list_for_each_entry(instr, wdat->instructions[action], node) { in wdat_wdt_run_action()
377 struct list_head *instructions; in wdat_wdt_probe() local
424 instructions = wdat->instructions[action]; in wdat_wdt_probe()
425 if (!instructions) { in wdat_wdt_probe()
426 instructions = devm_kzalloc(dev, in wdat_wdt_probe()
427 sizeof(*instructions), in wdat_wdt_probe()
429 if (!instructions) in wdat_wdt_probe()
432 INIT_LIST_HEAD(instructions); in wdat_wdt_probe()
433 wdat->instructions[action] = instructions; in wdat_wdt_probe()
436 list_add_tail(&instr->node, instructions); in wdat_wdt_probe()