Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/host/
H A Dohci-da8xx.c44 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()
[all …]