Home
last modified time | relevance | path

Searched refs:shutdown_status (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/misc/mic/cosm/
Dcosm_sysfs.c37 void cosm_set_shutdown_status(struct cosm_device *cdev, u8 shutdown_status) in cosm_set_shutdown_status() argument
40 cosm_shutdown_status_string[cdev->shutdown_status], in cosm_set_shutdown_status()
41 cosm_shutdown_status_string[shutdown_status]); in cosm_set_shutdown_status()
42 cdev->shutdown_status = shutdown_status; in cosm_set_shutdown_status()
126 if (!cdev || cdev->shutdown_status >= MIC_STATUS_LAST) in shutdown_status_show()
130 cosm_shutdown_status_string[cdev->shutdown_status]); in shutdown_status_show()
132 static DEVICE_ATTR_RO(shutdown_status);
Dcosm_scif_server.c105 enum mic_status shutdown_status) in cosm_shutdown_status_int() argument
107 switch (shutdown_status) { in cosm_shutdown_status_int()
115 __func__, __LINE__, shutdown_status); in cosm_shutdown_status_int()
118 cdev->shutdown_status_int = shutdown_status; in cosm_shutdown_status_int()
145 cosm_shutdown_status_int(cdev, msg.shutdown_status); in cosm_scif_recv()
Dcosm_main.h35 u64 shutdown_status; member
/Linux-v5.4/samples/mic/mpssd/
Dmpssd.c1335 get_mic_shutdown_status(struct mic_info *mic, char *shutdown_status) in get_mic_shutdown_status() argument
1337 if (!strcmp(shutdown_status, "nop")) in get_mic_shutdown_status()
1339 if (!strcmp(shutdown_status, "crashed")) in get_mic_shutdown_status()
1341 if (!strcmp(shutdown_status, "halted")) in get_mic_shutdown_status()
1343 if (!strcmp(shutdown_status, "poweroff")) in get_mic_shutdown_status()
1345 if (!strcmp(shutdown_status, "restart")) in get_mic_shutdown_status()
1347 mpsslog("%s: BUG invalid status %s\n", mic->name, shutdown_status); in get_mic_shutdown_status()
1389 char *shutdown_status; in mic_handle_shutdown() local
1391 shutdown_status = readsysfs(mic->name, "shutdown_status"); in mic_handle_shutdown()
1392 if (!shutdown_status) { in mic_handle_shutdown()
[all …]
Dmicctrl26 echo -e $1 state: "`cat $f/state`" shutdown_status: "`cat $f/shutdown_status`"
/Linux-v5.4/drivers/misc/mic/bus/
Dcosm_bus.h49 u8 shutdown_status; member
/Linux-v5.4/drivers/misc/mic/cosm_client/
Dcosm_scif_client.c38 msg.shutdown_status = event; in cosm_reboot_event()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-mic63 What: /sys/class/mic/mic(x)/shutdown_status
161 shutdown_status above). User space can turn off this