Lines Matching refs:action
941 static const char *hw_protection_action_str(enum hw_protection_action action) in hw_protection_action_str() argument
943 switch (action) { in hw_protection_action_str()
1003 static void hw_failure_emergency_schedule(enum hw_protection_action action, in hw_failure_emergency_schedule() argument
1008 hw_failure_emergency_action = action; in hw_failure_emergency_schedule()
1029 enum hw_protection_action action) in __hw_protection_trigger() argument
1033 if (action == HWPROT_ACT_DEFAULT) in __hw_protection_trigger()
1034 action = hw_protection_action; in __hw_protection_trigger()
1037 hw_protection_action_str(action), reason); in __hw_protection_trigger()
1047 hw_failure_emergency_schedule(action, ms_until_forced); in __hw_protection_trigger()
1048 if (action == HWPROT_ACT_REBOOT) in __hw_protection_trigger()
1056 enum hw_protection_action *action) in hw_protection_action_parse() argument
1059 *action = HWPROT_ACT_SHUTDOWN; in hw_protection_action_parse()
1061 *action = HWPROT_ACT_REBOOT; in hw_protection_action_parse()