Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dohci-pxa27x.c141 static int pxa27x_ohci_select_pmm(struct pxa27x_ohci *pxa_ohci, int mode) in pxa27x_ohci_select_pmm() argument
143 uint32_t uhcrhda = __raw_readl(pxa_ohci->mmio_base + UHCRHDA); in pxa27x_ohci_select_pmm()
144 uint32_t uhcrhdb = __raw_readl(pxa_ohci->mmio_base + UHCRHDB); in pxa27x_ohci_select_pmm()
168 __raw_writel(uhcrhda, pxa_ohci->mmio_base + UHCRHDA); in pxa27x_ohci_select_pmm()
169 __raw_writel(uhcrhdb, pxa_ohci->mmio_base + UHCRHDB); in pxa27x_ohci_select_pmm()
173 static int pxa27x_ohci_set_vbus_power(struct pxa27x_ohci *pxa_ohci, in pxa27x_ohci_set_vbus_power() argument
176 struct regulator *vbus = pxa_ohci->vbus[port]; in pxa27x_ohci_set_vbus_power()
182 if (enable && !pxa_ohci->vbus_enabled[port]) in pxa27x_ohci_set_vbus_power()
184 else if (!enable && pxa_ohci->vbus_enabled[port]) in pxa27x_ohci_set_vbus_power()
190 pxa_ohci->vbus_enabled[port] = enable; in pxa27x_ohci_set_vbus_power()
[all …]