pxa_ohci          141 drivers/usb/host/ohci-pxa27x.c static int pxa27x_ohci_select_pmm(struct pxa27x_ohci *pxa_ohci, int mode)
pxa_ohci          143 drivers/usb/host/ohci-pxa27x.c 	uint32_t uhcrhda = __raw_readl(pxa_ohci->mmio_base + UHCRHDA);
pxa_ohci          144 drivers/usb/host/ohci-pxa27x.c 	uint32_t uhcrhdb = __raw_readl(pxa_ohci->mmio_base + UHCRHDB);
pxa_ohci          168 drivers/usb/host/ohci-pxa27x.c 	__raw_writel(uhcrhda, pxa_ohci->mmio_base + UHCRHDA);
pxa_ohci          169 drivers/usb/host/ohci-pxa27x.c 	__raw_writel(uhcrhdb, pxa_ohci->mmio_base + UHCRHDB);
pxa_ohci          173 drivers/usb/host/ohci-pxa27x.c static int pxa27x_ohci_set_vbus_power(struct pxa27x_ohci *pxa_ohci,
pxa_ohci          176 drivers/usb/host/ohci-pxa27x.c 	struct regulator *vbus = pxa_ohci->vbus[port];
pxa_ohci          182 drivers/usb/host/ohci-pxa27x.c 	if (enable && !pxa_ohci->vbus_enabled[port])
pxa_ohci          184 drivers/usb/host/ohci-pxa27x.c 	else if (!enable && pxa_ohci->vbus_enabled[port])
pxa_ohci          190 drivers/usb/host/ohci-pxa27x.c 	pxa_ohci->vbus_enabled[port] = enable;
pxa_ohci          198 drivers/usb/host/ohci-pxa27x.c 	struct pxa27x_ohci *pxa_ohci = to_pxa27x_ohci(hcd);
pxa_ohci          210 drivers/usb/host/ohci-pxa27x.c 		ret = pxa27x_ohci_set_vbus_power(pxa_ohci, wIndex - 1,
pxa_ohci          221 drivers/usb/host/ohci-pxa27x.c static inline void pxa27x_setup_hc(struct pxa27x_ohci *pxa_ohci,
pxa_ohci          224 drivers/usb/host/ohci-pxa27x.c 	uint32_t uhchr = __raw_readl(pxa_ohci->mmio_base + UHCHR);
pxa_ohci          225 drivers/usb/host/ohci-pxa27x.c 	uint32_t uhcrhda = __raw_readl(pxa_ohci->mmio_base + UHCRHDA);
pxa_ohci          257 drivers/usb/host/ohci-pxa27x.c 	__raw_writel(uhchr, pxa_ohci->mmio_base + UHCHR);
pxa_ohci          258 drivers/usb/host/ohci-pxa27x.c 	__raw_writel(uhcrhda, pxa_ohci->mmio_base + UHCRHDA);
pxa_ohci          261 drivers/usb/host/ohci-pxa27x.c static inline void pxa27x_reset_hc(struct pxa27x_ohci *pxa_ohci)
pxa_ohci          263 drivers/usb/host/ohci-pxa27x.c 	uint32_t uhchr = __raw_readl(pxa_ohci->mmio_base + UHCHR);
pxa_ohci          265 drivers/usb/host/ohci-pxa27x.c 	__raw_writel(uhchr | UHCHR_FHR, pxa_ohci->mmio_base + UHCHR);
pxa_ohci          267 drivers/usb/host/ohci-pxa27x.c 	__raw_writel(uhchr & ~UHCHR_FHR, pxa_ohci->mmio_base + UHCHR);
pxa_ohci          276 drivers/usb/host/ohci-pxa27x.c static int pxa27x_start_hc(struct pxa27x_ohci *pxa_ohci, struct device *dev)
pxa_ohci          285 drivers/usb/host/ohci-pxa27x.c 	retval = clk_prepare_enable(pxa_ohci->clk);
pxa_ohci          289 drivers/usb/host/ohci-pxa27x.c 	pxa27x_reset_hc(pxa_ohci);
pxa_ohci          291 drivers/usb/host/ohci-pxa27x.c 	uhchr = __raw_readl(pxa_ohci->mmio_base + UHCHR) | UHCHR_FSBIR;
pxa_ohci          292 drivers/usb/host/ohci-pxa27x.c 	__raw_writel(uhchr, pxa_ohci->mmio_base + UHCHR);
pxa_ohci          294 drivers/usb/host/ohci-pxa27x.c 	while (__raw_readl(pxa_ohci->mmio_base + UHCHR) & UHCHR_FSBIR)
pxa_ohci          297 drivers/usb/host/ohci-pxa27x.c 	pxa27x_setup_hc(pxa_ohci, inf);
pxa_ohci          303 drivers/usb/host/ohci-pxa27x.c 		clk_disable_unprepare(pxa_ohci->clk);
pxa_ohci          310 drivers/usb/host/ohci-pxa27x.c 	uhchr = __raw_readl(pxa_ohci->mmio_base + UHCHR) & ~UHCHR_SSE;
pxa_ohci          311 drivers/usb/host/ohci-pxa27x.c 	__raw_writel(uhchr, pxa_ohci->mmio_base + UHCHR);
pxa_ohci          312 drivers/usb/host/ohci-pxa27x.c 	__raw_writel(UHCHIE_UPRIE | UHCHIE_RWIE, pxa_ohci->mmio_base + UHCHIE);
pxa_ohci          319 drivers/usb/host/ohci-pxa27x.c static void pxa27x_stop_hc(struct pxa27x_ohci *pxa_ohci, struct device *dev)
pxa_ohci          333 drivers/usb/host/ohci-pxa27x.c 	pxa27x_reset_hc(pxa_ohci);
pxa_ohci          336 drivers/usb/host/ohci-pxa27x.c 	uhccoms = __raw_readl(pxa_ohci->mmio_base + UHCCOMS) | 0x01;
pxa_ohci          337 drivers/usb/host/ohci-pxa27x.c 	__raw_writel(uhccoms, pxa_ohci->mmio_base + UHCCOMS);
pxa_ohci          340 drivers/usb/host/ohci-pxa27x.c 	clk_disable_unprepare(pxa_ohci->clk);
pxa_ohci          425 drivers/usb/host/ohci-pxa27x.c 	struct pxa27x_ohci *pxa_ohci;
pxa_ohci          464 drivers/usb/host/ohci-pxa27x.c 	pxa_ohci = to_pxa27x_ohci(hcd);
pxa_ohci          465 drivers/usb/host/ohci-pxa27x.c 	pxa_ohci->clk = usb_clk;
pxa_ohci          466 drivers/usb/host/ohci-pxa27x.c 	pxa_ohci->mmio_base = (void __iomem *)hcd->regs;
pxa_ohci          475 drivers/usb/host/ohci-pxa27x.c 		pxa_ohci->vbus[i] = devm_regulator_get(&pdev->dev, name);
pxa_ohci          478 drivers/usb/host/ohci-pxa27x.c 	retval = pxa27x_start_hc(pxa_ohci, &pdev->dev);
pxa_ohci          485 drivers/usb/host/ohci-pxa27x.c 	pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode);
pxa_ohci          500 drivers/usb/host/ohci-pxa27x.c 	pxa27x_stop_hc(pxa_ohci, &pdev->dev);
pxa_ohci          523 drivers/usb/host/ohci-pxa27x.c 	struct pxa27x_ohci *pxa_ohci = to_pxa27x_ohci(hcd);
pxa_ohci          527 drivers/usb/host/ohci-pxa27x.c 	pxa27x_stop_hc(pxa_ohci, &pdev->dev);
pxa_ohci          530 drivers/usb/host/ohci-pxa27x.c 		pxa27x_ohci_set_vbus_power(pxa_ohci, i, false);
pxa_ohci          542 drivers/usb/host/ohci-pxa27x.c 	struct pxa27x_ohci *pxa_ohci = to_pxa27x_ohci(hcd);
pxa_ohci          556 drivers/usb/host/ohci-pxa27x.c 	pxa27x_stop_hc(pxa_ohci, dev);
pxa_ohci          563 drivers/usb/host/ohci-pxa27x.c 	struct pxa27x_ohci *pxa_ohci = to_pxa27x_ohci(hcd);
pxa_ohci          572 drivers/usb/host/ohci-pxa27x.c 	status = pxa27x_start_hc(pxa_ohci, dev);
pxa_ohci          577 drivers/usb/host/ohci-pxa27x.c 	pxa27x_ohci_select_pmm(pxa_ohci, inf->port_mode);