Lines Matching refs:vbus_gpiod
30 struct gpio_desc *vbus_gpiod; member
71 vbus = info->vbus_gpiod ? in usb_extcon_detect_cable()
72 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_extcon_detect_cable()
114 info->vbus_gpiod = devm_gpiod_get_optional(&pdev->dev, "vbus", in usb_extcon_probe()
117 if (!info->id_gpiod && !info->vbus_gpiod) { in usb_extcon_probe()
125 if (IS_ERR(info->vbus_gpiod)) in usb_extcon_probe()
126 return PTR_ERR(info->vbus_gpiod); in usb_extcon_probe()
143 if (!ret && info->vbus_gpiod) in usb_extcon_probe()
144 ret = gpiod_set_debounce(info->vbus_gpiod, in usb_extcon_probe()
170 if (info->vbus_gpiod) { in usb_extcon_probe()
171 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_extcon_probe()
219 if (info->vbus_gpiod) { in usb_extcon_suspend()
237 if (info->vbus_gpiod) in usb_extcon_suspend()
260 if (info->vbus_gpiod) { in usb_extcon_resume()
273 if (info->vbus_gpiod) in usb_extcon_resume()