Home
last modified time | relevance | path

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

/drivers/usb/phy/
Dphy-generic.c107 vbus = gpiod_get_value(nop->gpiod_vbus); in nop_gpio_vbus_thread()
227 nop->gpiod_vbus = devm_gpiod_get_optional(dev, in usb_phy_gen_create_phy()
230 err = PTR_ERR_OR_ZERO(nop->gpiod_vbus); in usb_phy_gen_create_phy()
303 if (nop->gpiod_vbus) { in usb_phy_generic_probe()
305 gpiod_to_irq(nop->gpiod_vbus), in usb_phy_generic_probe()
311 gpiod_to_irq(nop->gpiod_vbus), err); in usb_phy_generic_probe()
314 nop->phy.otg->state = gpiod_get_value(nop->gpiod_vbus) ? in usb_phy_generic_probe()
Dphy-generic.h15 struct gpio_desc *gpiod_vbus; member