Searched refs:vbus_pin (Results 1 – 8 of 8) sorted by relevance
44 struct gpio_desc *vbus_pin[AT91_MAX_USBH_PORTS]; member289 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()
10 int vbus_pin; /* high == host powering us */ member
383 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 …]
1782 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 …]
112 struct gpio_desc *vbus_pin; /* high == host powering us */ member
338 struct gpio_desc *vbus_pin; member
291 int vbus_pin; member
1495 if (udc->board.vbus_pin) { in at91_udc_probe()