Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/host/
H A Dohci-at91.c45 struct gpio_desc *overcurrent_pin[AT91_MAX_USBH_PORTS]; member
496 if (gpiod_to_irq(pdata->overcurrent_pin[port]) == irq) in ohci_hcd_at91_overcurrent_irq()
505 val = gpiod_get_value(pdata->overcurrent_pin[port]); in ohci_hcd_at91_overcurrent_irq()
575 pdata->overcurrent_pin[i] = in ohci_hcd_at91_drv_probe()
578 if (!pdata->overcurrent_pin[i]) in ohci_hcd_at91_drv_probe()
580 if (IS_ERR(pdata->overcurrent_pin[i])) { in ohci_hcd_at91_drv_probe()
581 err = PTR_ERR(pdata->overcurrent_pin[i]); in ohci_hcd_at91_drv_probe()
587 gpiod_to_irq(pdata->overcurrent_pin[i]), in ohci_hcd_at91_drv_probe()