Lines Matching full:button
47 #define DSMG600_PB_GPIO 15 /* power button */
48 #define DSMG600_RB_GPIO 3 /* reset button */
176 /* This is used to make sure the power-button pusher is serious. The button
181 /* Must hold the button down for at least this many counts to be processed */
190 * state of the power button. in dsmg600_power_handler()
195 /* IO Pin is 1 (button pushed) */ in dsmg600_power_handler()
201 /* Done on button release, to allow for auto-power-on mods. */ in dsmg600_power_handler()
241 gpio_request(DSMG600_RB_GPIO, "reset button"); in dsmg600_gpio_init()
243 IRQF_TRIGGER_LOW, "DSM-G600 reset button", NULL) < 0) { in dsmg600_gpio_init()
245 printk(KERN_DEBUG "Reset Button IRQ %d not available\n", in dsmg600_gpio_init()
250 * The power button on the D-Link DSM-G600 is on GPIO 15, but in dsmg600_gpio_init()
255 /* Make sure that the power button GPIO is set up as an input */ in dsmg600_gpio_init()
256 gpio_request(DSMG600_PB_GPIO, "power button"); in dsmg600_gpio_init()
259 gpio_request(DSMG600_PO_GPIO, "power off button"); in dsmg600_gpio_init()
261 /* Set the initial value for the power button IRQ handler */ in dsmg600_gpio_init()