Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/host/
H A Dohci-pxa27x.c138 static int pxa27x_ohci_select_pmm(struct pxa27x_ohci *pxa_ohci, int mode) in pxa27x_ohci_select_pmm() argument
140 uint32_t uhcrhda = __raw_readl(pxa_ohci->mmio_base + UHCRHDA); in pxa27x_ohci_select_pmm()
141 uint32_t uhcrhdb = __raw_readl(pxa_ohci->mmio_base + UHCRHDB); in pxa27x_ohci_select_pmm()
165 __raw_writel(uhcrhda, pxa_ohci->mmio_base + UHCRHDA); in pxa27x_ohci_select_pmm()
166 __raw_writel(uhcrhdb, pxa_ohci->mmio_base + UHCRHDB); in pxa27x_ohci_select_pmm()
170 static int pxa27x_ohci_set_vbus_power(struct pxa27x_ohci *pxa_ohci, in pxa27x_ohci_set_vbus_power() argument
173 struct regulator *vbus = pxa_ohci->vbus[port]; in pxa27x_ohci_set_vbus_power()
179 if (enable && !pxa_ohci->vbus_enabled[port]) in pxa27x_ohci_set_vbus_power()
181 else if (!enable && pxa_ohci->vbus_enabled[port]) in pxa27x_ohci_set_vbus_power()
187 pxa_ohci->vbus_enabled[port] = enable; in pxa27x_ohci_set_vbus_power()
[all …]