Searched refs:shutdown_status (Results 1 - 9 of 9) sorted by relevance
/linux-4.1.27/drivers/misc/mic/host/ |
H A D | mic_sysfs.c | 52 void mic_set_shutdown_status(struct mic_device *mdev, u8 shutdown_status) mic_set_shutdown_status() argument 55 mic_shutdown_status_string[mdev->shutdown_status], mic_set_shutdown_status() 56 mic_shutdown_status_string[shutdown_status]); mic_set_shutdown_status() 57 mdev->shutdown_status = shutdown_status; mic_set_shutdown_status() 177 if (!mdev || mdev->shutdown_status >= MIC_STATUS_LAST) shutdown_status_show() 181 mic_shutdown_status_string[mdev->shutdown_status]); shutdown_status_show() 183 static DEVICE_ATTR_RO(shutdown_status);
|
H A D | mic_boot.c | 128 bootparam->shutdown_status = 0; mic_bootparam_init() 252 mic_set_shutdown_status(mdev, bootparam->shutdown_status); mic_shutdown_work() 253 bootparam->shutdown_status = 0; mic_shutdown_work()
|
H A D | mic_device.h | 80 * @shutdown_status: MIC status reported by card for shutdown/crashes. 119 u8 shutdown_status; member in struct:mic_device
|
H A D | mic_debugfs.c | 213 seq_printf(s, "Bootparam: shutdown_status %d\n", mic_dp_show() 214 bootparam->shutdown_status); mic_dp_show()
|
H A D | mic_main.c | 120 switch (bootparam->shutdown_status) { mic_shutdown_db()
|
/linux-4.1.27/Documentation/mic/mpssd/ |
H A D | micctrl | 37 echo -e $1 state: "`cat $f/state`" shutdown_status: "`cat $f/shutdown_status`"
|
H A D | mpssd.c | 1317 get_mic_shutdown_status(struct mic_info *mic, char *shutdown_status) get_mic_shutdown_status() argument 1319 if (!strcmp(shutdown_status, "nop")) get_mic_shutdown_status() 1321 if (!strcmp(shutdown_status, "crashed")) get_mic_shutdown_status() 1323 if (!strcmp(shutdown_status, "halted")) get_mic_shutdown_status() 1325 if (!strcmp(shutdown_status, "poweroff")) get_mic_shutdown_status() 1327 if (!strcmp(shutdown_status, "restart")) get_mic_shutdown_status() 1329 mpsslog("%s: BUG invalid status %s\n", mic->name, shutdown_status); get_mic_shutdown_status() 1357 char *shutdown_status; mic_handle_shutdown() local 1359 shutdown_status = readsysfs(mic->name, "shutdown_status"); mic_handle_shutdown() 1360 if (!shutdown_status) mic_handle_shutdown() 1362 mpsslog("%s: %s %d shutdown_status %s\n", mic_handle_shutdown() 1363 mic->name, __func__, __LINE__, shutdown_status); mic_handle_shutdown() 1364 switch (get_mic_shutdown_status(mic, shutdown_status)) { mic_handle_shutdown() 1370 free(shutdown_status); mic_handle_shutdown() 1375 free(shutdown_status); mic_handle_shutdown()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | mic_common.h | 81 * @shutdown_status: Card shutdown status set by card 89 __u8 shutdown_status; member in struct:mic_bootparam
|
/linux-4.1.27/drivers/misc/mic/card/ |
H A D | mic_device.c | 45 iowrite8(state, &bootparam->shutdown_status); mic_notify_host()
|
Completed in 183 milliseconds