Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/host/
H A Dohci-at91.c44 struct gpio_desc *vbus_pin[AT91_MAX_USBH_PORTS]; member
289 gpiod_set_value(pdata->vbus_pin[port], enable); in ohci_at91_usb_set_power()
297 return gpiod_get_value(pdata->vbus_pin[port]); in ohci_at91_usb_get_power()
561 pdata->vbus_pin[i] = in ohci_hcd_at91_drv_probe()
564 if (IS_ERR(pdata->vbus_pin[i])) { in ohci_hcd_at91_drv_probe()
565 err = PTR_ERR(pdata->vbus_pin[i]); in ohci_hcd_at91_drv_probe()
/openbmc/u-boot/include/linux/usb/
H A Dat91_udc.h10 int vbus_pin; /* high == host powering us */ member
/openbmc/linux/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c383 if (udc->vbus_pin) in vbus_is_present()
384 return gpiod_get_value(udc->vbus_pin); in vbus_is_present()
2000 if (udc->vbus_pin) in atmel_usba_start()
2015 if (udc->vbus_pin) in atmel_usba_start()
2031 if (udc->vbus_pin) in atmel_usba_stop()
2168 if (IS_ERR(udc->vbus_pin)) in atmel_udc_of_init()
2169 return ERR_CAST(udc->vbus_pin); in atmel_udc_of_init()
2344 if (udc->vbus_pin) { in usba_udc_probe()
2351 udc->vbus_pin = NULL; in usba_udc_probe()
2406 if (udc->vbus_pin) { in usba_udc_suspend()
[all …]
H A Dat91_udc.c1782 if (IS_ERR(board->vbus_pin)) in at91udc_of_init()
1783 board->vbus_pin = NULL; in at91udc_of_init()
1879 if (udc->board.vbus_pin) { in at91udc_probe()
1880 gpiod_direction_input(udc->board.vbus_pin); in at91udc_probe()
1886 udc->vbus = gpiod_get_value_cansleep(udc->board.vbus_pin); in at91udc_probe()
1895 gpiod_to_irq(udc->board.vbus_pin), in at91udc_probe()
1899 desc_to_gpio(udc->board.vbus_pin)); in at91udc_probe()
1973 if (udc->board.vbus_pin && !udc->board.vbus_polled && wake) in at91udc_suspend()
1974 enable_irq_wake(gpiod_to_irq(udc->board.vbus_pin)); in at91udc_suspend()
1983 if (udc->board.vbus_pin && !udc->board.vbus_polled && in at91udc_resume()
[all …]
H A Dat91_udc.h112 struct gpio_desc *vbus_pin; /* high == host powering us */ member
H A Datmel_usba_udc.h338 struct gpio_desc *vbus_pin; member
/openbmc/u-boot/drivers/usb/gadget/
H A Datmel_usba_udc.h291 int vbus_pin; member
H A Dat91_udc.c1495 if (udc->board.vbus_pin) { in at91_udc_probe()