Searched refs:vbus_det_gpio (Results 1 – 1 of 1) sorted by relevance
150 struct gpio_desc *vbus_det_gpio; member385 if (data->vbus_det_gpio) in sun4i_usb_phy0_get_vbus_det()386 return gpiod_get_value_cansleep(data->vbus_det_gpio); in sun4i_usb_phy0_get_vbus_det()404 return data->vbus_det_gpio || data->vbus_power_supply; in sun4i_usb_phy0_have_vbus_det()410 (data->vbus_det_gpio && data->vbus_det_irq <= 0)) in sun4i_usb_phy0_poll()707 data->vbus_det_gpio = devm_gpiod_get_optional(dev, "usb0_vbus_det", in sun4i_usb_phy_probe()709 if (IS_ERR(data->vbus_det_gpio)) { in sun4i_usb_phy_probe()711 return PTR_ERR(data->vbus_det_gpio); in sun4i_usb_phy_probe()817 data->vbus_det_irq = gpiod_to_irq(data->vbus_det_gpio); in sun4i_usb_phy_probe()