Lines Matching refs:oc_gpio
44 struct gpio_desc *oc_gpio; member
130 if (da8xx_ohci->oc_gpio) in ohci_da8xx_get_oci()
131 return gpiod_get_value_cansleep(da8xx_ohci->oc_gpio); in ohci_da8xx_get_oci()
160 if (da8xx_ohci->oc_gpio) in ohci_da8xx_has_oci()
200 if (gpiod_get_value_cansleep(da8xx_ohci->oc_gpio) && in ohci_da8xx_oc_thread()
216 if (!da8xx_ohci->oc_gpio && da8xx_ohci->vbus_reg) { in ohci_da8xx_register_notify()
418 da8xx_ohci->oc_gpio = devm_gpiod_get_optional(dev, "oc", GPIOD_IN); in ohci_da8xx_probe()
419 if (IS_ERR(da8xx_ohci->oc_gpio)) { in ohci_da8xx_probe()
420 error = PTR_ERR(da8xx_ohci->oc_gpio); in ohci_da8xx_probe()
424 if (da8xx_ohci->oc_gpio) { in ohci_da8xx_probe()
425 oc_irq = gpiod_to_irq(da8xx_ohci->oc_gpio); in ohci_da8xx_probe()