Lines Matching +full:retain +full:- +full:state +full:- +full:shutdown
5 * Copyright (c) 2001-2007 Helge Deller <deller@gmx.de>
12 * 1. Redistributions of source code must retain the above copyright
78 /* local shutdown counter */
81 /* check, give feedback and start shutdown after one second */
85 printk(KERN_ALERT KTHREAD_NAME ": Shutdown requested...\n"); in process_shutdown()
113 /* main kernel thread worker. It polls the button state */
129 * Non-Gecko-style machines: in kpowerswd()
151 printk(KERN_INFO KTHREAD_NAME ": Shutdown request aborted.\n"); in kpowerswd()
181 * be executed any longer. This function then re-enables
182 * the soft-power switch and allows the user to switch off
190 /* re-enable the soft-power switch */ in parisc_panic_event()
200 /* qemu soft power-off function */
204 gsc_writel(0, (unsigned long) data->cb_data); in qemu_power_off()
224 soft_power_reg = -1UL; in power_init()
227 case 0: printk(KERN_INFO DRIVER_NAME ": Gecko-style soft power switch enabled.\n"); in power_init()
230 case -1UL: printk(KERN_INFO DRIVER_NAME ": Soft power switch support not available.\n"); in power_init()
231 return -ENODEV; in power_init()
247 return -EIO; in power_init()