Lines Matching full:button
43 #define NAS100D_PB_GPIO 14 /* power button */
44 #define NAS100D_RB_GPIO 4 /* reset button */
209 /* This is used to make sure the power-button pusher is serious. The button
214 /* Must hold the button down for at least this many counts to be processed */
223 * state of the power button. in nas100d_power_handler()
228 /* IO Pin is 1 (button pushed) */ in nas100d_power_handler()
234 /* Done on button release, to allow for auto-power-on mods. */ in nas100d_power_handler()
266 * The power button on the Iomega NAS100d is on GPIO 14, but in nas100d_gpio_init()
274 /* Make sure that the power button GPIO is set up as an input */ in nas100d_gpio_init()
275 gpio_request(NAS100D_PB_GPIO, "power button"); in nas100d_gpio_init()
278 /* Set the initial value for the power button IRQ handler */ in nas100d_gpio_init()
314 IRQF_TRIGGER_LOW, "NAS100D reset button", NULL) < 0) { in nas100d_init()
316 printk(KERN_DEBUG "Reset Button IRQ %d not available\n", in nas100d_init()