Lines Matching refs:vbus_gpiod
29 struct gpio_desc *vbus_gpiod; member
70 vbus = info->vbus_gpiod ? in usb_extcon_detect_cable()
71 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_extcon_detect_cable()
113 info->vbus_gpiod = devm_gpiod_get_optional(&pdev->dev, "vbus", in usb_extcon_probe()
116 if (!info->id_gpiod && !info->vbus_gpiod) { in usb_extcon_probe()
124 if (IS_ERR(info->vbus_gpiod)) in usb_extcon_probe()
125 return PTR_ERR(info->vbus_gpiod); in usb_extcon_probe()
142 if (!ret && info->vbus_gpiod) in usb_extcon_probe()
143 ret = gpiod_set_debounce(info->vbus_gpiod, in usb_extcon_probe()
169 if (info->vbus_gpiod) { in usb_extcon_probe()
170 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_extcon_probe()
218 if (info->vbus_gpiod) { in usb_extcon_suspend()
249 if (info->vbus_gpiod) { in usb_extcon_resume()