Searched refs:kernel_can_power_off (Results 1 – 5 of 5) sorted by relevance
174 extern bool kernel_can_power_off(void);
681 bool kernel_can_power_off(void) in kernel_can_power_off() function686 EXPORT_SYMBOL_GPL(kernel_can_power_off);746 if ((cmd == LINUX_REBOOT_CMD_POWER_OFF) && !kernel_can_power_off()) { in SYSCALL_DEFINE4()
796 if (kernel_can_power_off()) { in native_machine_power_off()
688 if (kernel_can_power_off()) in power_down()
623 if (kernel_can_power_off()) { in emif_threaded_isr()