Searched refs:shutdown_status (Results 1 – 2 of 2) sorted by relevance
37 echo -e $1 state: "`cat $f/state`" shutdown_status: "`cat $f/shutdown_status`"
1346 get_mic_shutdown_status(struct mic_info *mic, char *shutdown_status) in get_mic_shutdown_status() argument1348 if (!strcmp(shutdown_status, "nop")) in get_mic_shutdown_status()1350 if (!strcmp(shutdown_status, "crashed")) in get_mic_shutdown_status()1352 if (!strcmp(shutdown_status, "halted")) in get_mic_shutdown_status()1354 if (!strcmp(shutdown_status, "poweroff")) in get_mic_shutdown_status()1356 if (!strcmp(shutdown_status, "restart")) in get_mic_shutdown_status()1358 mpsslog("%s: BUG invalid status %s\n", mic->name, shutdown_status); in get_mic_shutdown_status()1400 char *shutdown_status; in mic_handle_shutdown() local1402 shutdown_status = readsysfs(mic->name, "shutdown_status"); in mic_handle_shutdown()1403 if (!shutdown_status) { in mic_handle_shutdown()[all …]