Lines Matching refs:id_gpiod
28 struct gpio_desc *id_gpiod; member
68 id = info->id_gpiod ? in usb_extcon_detect_cable()
69 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_extcon_detect_cable()
112 info->id_gpiod = devm_gpiod_get_optional(&pdev->dev, "id", GPIOD_IN); in usb_extcon_probe()
116 if (!info->id_gpiod && !info->vbus_gpiod) { in usb_extcon_probe()
121 if (IS_ERR(info->id_gpiod)) in usb_extcon_probe()
122 return PTR_ERR(info->id_gpiod); in usb_extcon_probe()
139 if (info->id_gpiod) in usb_extcon_probe()
140 ret = gpiod_set_debounce(info->id_gpiod, in usb_extcon_probe()
151 if (info->id_gpiod) { in usb_extcon_probe()
152 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_extcon_probe()
213 if (info->id_gpiod) { in usb_extcon_suspend()
221 if (info->id_gpiod) in usb_extcon_suspend()
244 if (info->id_gpiod) { in usb_extcon_resume()
252 if (info->id_gpiod) in usb_extcon_resume()