Searched refs:of_get_named_gpio_flags (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/include/linux/ |
D | of_gpio.h | 50 extern int of_get_named_gpio_flags(struct device_node *np, 69 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags() function 127 return of_get_named_gpio_flags(np, "gpios", index, flags); in of_get_gpio_flags() 142 return of_get_named_gpio_flags(np, propname, index, NULL); in of_get_named_gpio()
|
/linux-3.4.99/drivers/of/ |
D | gpio.c | 34 int of_get_named_gpio_flags(struct device_node *np, const char *propname, in of_get_named_gpio_flags() function 78 EXPORT_SYMBOL(of_get_named_gpio_flags);
|
/linux-3.4.99/drivers/usb/host/ |
D | ohci-at91.c | 534 gpio = of_get_named_gpio_flags(np, "atmel,vbus-gpio", i, &flags); in ohci_at91_of_init() 543 of_get_named_gpio_flags(np, "atmel,oc-gpio", i, &flags); in ohci_at91_of_init()
|
/linux-3.4.99/drivers/power/ |
D | sbs-battery.c | 658 pdata->battery_detect = of_get_named_gpio_flags(of_node, in sbs_of_populate_pdata()
|
/linux-3.4.99/drivers/usb/gadget/ |
D | at91_udc.c | 1721 board->vbus_pin = of_get_named_gpio_flags(np, "atmel,vbus-gpio", 0, in at91udc_of_init() 1725 board->pullup_pin = of_get_named_gpio_flags(np, "atmel,pullup-gpio", 0, in at91udc_of_init()
|