Home
last modified time | relevance | path

Searched refs:oc_gpio (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/usb/host/
Dohci-da8xx.c43 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()
[all …]