Lines Matching refs:oc_gpio
43 struct gpio_desc *oc_gpio; member
129 if (da8xx_ohci->oc_gpio) in ohci_da8xx_get_oci()
130 return gpiod_get_value_cansleep(da8xx_ohci->oc_gpio); in ohci_da8xx_get_oci()
159 if (da8xx_ohci->oc_gpio) in ohci_da8xx_has_oci()
199 if (gpiod_get_value_cansleep(da8xx_ohci->oc_gpio) && in ohci_da8xx_oc_thread()
215 if (!da8xx_ohci->oc_gpio && da8xx_ohci->vbus_reg) { in ohci_da8xx_register_notify()
417 da8xx_ohci->oc_gpio = devm_gpiod_get_optional(dev, "oc", GPIOD_IN); in ohci_da8xx_probe()
418 if (IS_ERR(da8xx_ohci->oc_gpio)) { in ohci_da8xx_probe()
419 error = PTR_ERR(da8xx_ohci->oc_gpio); in ohci_da8xx_probe()
423 if (da8xx_ohci->oc_gpio) { in ohci_da8xx_probe()
424 oc_irq = gpiod_to_irq(da8xx_ohci->oc_gpio); in ohci_da8xx_probe()