Lines Matching +full:button +full:- +full:down
5 * Copyright (c) 2001-2007 Helge Deller <deller@gmx.de>
33 * Support of the soft power switch button may be enabled or disabled at
54 /* how often should the power button be polled ? */
57 /* how long does the power button needs to be down until we react ? */
90 /* wait until the button was pressed for 1 second */ in process_shutdown()
92 static const char msg[] = "Shutting down..."; in process_shutdown()
114 /* main kernel thread worker. It polls the button state */
130 * Non-Gecko-style machines: in kpowerswd()
134 * This bit is "1" if the button is NOT pressed. in kpowerswd()
143 * the button has been released again. in kpowerswd()
180 * executed any longer. This function then re-enables the
181 * soft-power switch and allows the user to switch off the system
186 /* re-enable the soft-power switch */ in parisc_panic_event()
212 soft_power_reg = -1UL; in power_init()
215 case 0: printk(KERN_INFO DRIVER_NAME ": Gecko-style soft power switch enabled.\n"); in power_init()
218 case -1UL: printk(KERN_INFO DRIVER_NAME ": Soft power switch support not available.\n"); in power_init()
219 return -ENODEV; in power_init()
229 return -EIO; in power_init()