Home
last modified time | relevance | path

Searched refs:PALMZ71_USBDETECT_GPIO (Results 1 – 1 of 1) sorted by relevance

/linux/arch/arm/mach-omap1/
A Dboard-palmz71.c47 #define PALMZ71_USBDETECT_GPIO 0 macro
213 if (gpio_get_value(PALMZ71_USBDETECT_GPIO)) { in palmz71_powercable()
215 irq_set_irq_type(gpio_to_irq(PALMZ71_USBDETECT_GPIO), in palmz71_powercable()
219 irq_set_irq_type(gpio_to_irq(PALMZ71_USBDETECT_GPIO), in palmz71_powercable()
251 if (gpio_request(PALMZ71_USBDETECT_GPIO, "USB detect") < 0) { in palmz71_gpio_setup()
256 gpio_direction_input(PALMZ71_USBDETECT_GPIO); in palmz71_gpio_setup()
257 if (request_irq(gpio_to_irq(PALMZ71_USBDETECT_GPIO), in palmz71_gpio_setup()
261 palmz71_powercable(gpio_to_irq(PALMZ71_USBDETECT_GPIO), NULL); in palmz71_gpio_setup()

Completed in 3 milliseconds