Home
last modified time | relevance | path

Searched refs:hcor (Results 1 – 25 of 42) sorted by relevance

12

/u-boot/drivers/usb/host/
A Dxhci-pci.c20 struct xhci_hcor *hcor; in xhci_pci_init() local
30 hcor = (struct xhci_hcor *)((uintptr_t) hccr + in xhci_pci_init()
34 hccr, hcor, (u32)HC_LENGTH(xhci_readl(&hccr->cr_capbase))); in xhci_pci_init()
37 *ret_hcor = hcor; in xhci_pci_init()
49 struct xhci_hcor *hcor; in xhci_pci_probe() local
52 ret = xhci_pci_init(dev, &hccr, &hcor); in xhci_pci_probe()
56 return xhci_register(dev, hccr, hcor); in xhci_pci_probe()
A Dehci-pci.c30 struct ehci_hcor *hcor; in ehci_pci_init() local
40 hcor = (struct ehci_hcor *)((uintptr_t) hccr + in ehci_pci_init()
44 (ulong)hccr, (ulong)hcor, in ehci_pci_init()
48 *ret_hcor = hcor; in ehci_pci_init()
74 struct ehci_hcor *hcor; in ehci_pci_legacy_init() local
79 hcor = (struct ehci_hcor *)((uintptr_t) hccr + in ehci_pci_legacy_init()
83 (u32)hccr, (u32)hcor, in ehci_pci_legacy_init()
87 *ret_hcor = hcor; in ehci_pci_legacy_init()
132 struct ehci_hcor *hcor; in ehci_pci_probe() local
135 ret = ehci_pci_init(dev, &hccr, &hcor); in ehci_pci_probe()
[all …]
A Dehci-fsl.c43 struct ehci_hccr *hccr, struct ehci_hcor *hcor);
46 struct ehci_hccr *hccr, struct ehci_hcor *hcor);
103 struct ehci_hcor *hcor; in ehci_fsl_probe() local
120 hcor = (struct ehci_hcor *) in ehci_fsl_probe()
125 if (ehci_fsl_init(priv, ehci, hccr, hcor) < 0) in ehci_fsl_probe()
129 (void *)hccr, (void *)hcor, in ehci_fsl_probe()
161 struct ehci_hccr **hccr, struct ehci_hcor **hcor) in ehci_hcd_init() argument
180 *hcor = (struct ehci_hcor *)((uint32_t) *hccr + in ehci_hcd_init()
185 return ehci_fsl_init(index, ehci, *hccr, *hcor); in ehci_hcd_init()
267 out_le32(&(hcor)->or_portsc[0], PORT_PTS_UTMI); in ehci_fsl_init()
[all …]
A Dehci-atmel.c22 struct ehci_hccr **hccr, struct ehci_hcor **hcor) in ehci_hcd_init() argument
32 *hcor = (struct ehci_hcor *)((uint32_t)*hccr + in ehci_hcd_init()
85 struct ehci_hcor *hcor; in ehci_atmel_probe() local
105 hcor = (struct ehci_hcor *) in ehci_atmel_probe()
109 (u32)hccr, (u32)hcor, in ehci_atmel_probe()
112 return ehci_register(dev, hccr, hcor, NULL, 0, USB_INIT_HOST); in ehci_atmel_probe()
A Dehci-armada100.c26 struct ehci_hccr **hccr, struct ehci_hcor **hcor) in ehci_hcd_init() argument
32 *hcor = (struct ehci_hcor *)((uint32_t) *hccr in ehci_hcd_init()
36 (uint32_t)*hccr, (uint32_t)*hcor, in ehci_hcd_init()
A Dehci-vct.c11 int vct_ehci_hcd_init(u32 *hccr, u32 *hcor);
18 struct ehci_hccr **hccr, struct ehci_hcor **hcor) in ehci_hcd_init() argument
32 *hcor = (struct ehci_hcor *)vct_hcor; in ehci_hcd_init()
A Dehci-faraday.c43 ret = (void __iomem *)((ulong)ctrl->hcor - 0x10); in faraday_ehci_get_port_speed()
77 return (uint32_t *)((uint8_t *)ctrl->hcor + 0x20); in faraday_ehci_get_portsc_register()
94 struct ehci_hcor *hcor; in ehci_hcd_init() local
103 hcor = (struct ehci_hcor *)&regs->usb.hcor; in ehci_hcd_init()
132 *ret_hcor = hcor; in ehci_hcd_init()
A Dxhci-fsl.c116 struct xhci_hcor *hcor; in xhci_fsl_probe() local
141 hcor = (struct xhci_hcor *)((uintptr_t) hccr in xhci_fsl_probe()
145 (uintptr_t)hccr, (uintptr_t)hcor, in xhci_fsl_probe()
148 return xhci_register(dev, hccr, hcor); in xhci_fsl_probe()
177 int xhci_hcd_init(int index, struct xhci_hccr **hccr, struct xhci_hcor **hcor) in xhci_hcd_init() argument
200 *hcor = (struct xhci_hcor *)((uintptr_t) *hccr in xhci_hcd_init()
204 (uintptr_t)*hccr, (uintptr_t)*hcor, in xhci_hcd_init()
A Dehci-hcd.c188 cmd = ehci_readl(&ctrl->hcor->or_usbcmd); in ehci_reset()
190 ehci_writel(&ctrl->hcor->or_usbcmd, cmd); in ehci_reset()
1156 if (!ctrl->hccr || !ctrl->hcor) in usb_lowlevel_init()
1229 struct ehci_hcor *hcor = ctrl->hcor; in enable_periodic() local
1232 cmd = ehci_readl(&hcor->or_usbcmd); in enable_periodic()
1234 ehci_writel(&hcor->or_usbcmd, cmd); in enable_periodic()
1250 struct ehci_hcor *hcor = ctrl->hcor; in disable_periodic() local
1253 cmd = ehci_readl(&hcor->or_usbcmd); in disable_periodic()
1255 ehci_writel(&hcor->or_usbcmd, cmd); in disable_periodic()
1688 if (!ctrl || !hccr || !hcor) in ehci_register()
[all …]
A Dxhci.c933 struct xhci_hcor *hcor = ctrl->hcor; in xhci_submit_root() local
1235 struct xhci_hcor *hcor; in xhci_lowlevel_init() local
1241 hcor = ctrl->hcor; in xhci_lowlevel_init()
1270 if (xhci_start(hcor)) { in xhci_lowlevel_init()
1271 xhci_reset(hcor); in xhci_lowlevel_init()
1290 xhci_reset(ctrl->hcor); in xhci_lowlevel_stop()
1338 struct xhci_hcor *hcor; in usb_lowlevel_init() local
1353 ctrl->hcor = hcor; in usb_lowlevel_init()
1359 ctrl->hcor = NULL; in usb_lowlevel_init()
1378 if (ctrl->hcor) { in usb_lowlevel_stop()
[all …]
A Dehci-marvell.c108 struct ehci_hcor *hcor; in ehci_mvebu_probe() local
132 hcor = (struct ehci_hcor *) in ehci_mvebu_probe()
136 (uintptr_t)hccr, (uintptr_t)hcor, in ehci_mvebu_probe()
139 return ehci_register(dev, hccr, hcor, &marvell_ehci_ops, 0, in ehci_mvebu_probe()
210 struct ehci_hccr **hccr, struct ehci_hcor **hcor) in ehci_hcd_init() argument
215 *hcor = (struct ehci_hcor *)((uint32_t) *hccr in ehci_hcd_init()
219 (uint32_t)*hccr, (uint32_t)*hcor, in ehci_hcd_init()
A Dehci-spear.c39 struct ehci_hccr **hccr, struct ehci_hcor **hcor) in ehci_hcd_init() argument
56 *hcor = (struct ehci_hcor *)((uint32_t) *hccr + in ehci_hcd_init()
60 (uint32_t)*hccr, (uint32_t)*hcor, in ehci_hcd_init()
A Dehci-mxs.c91 struct ehci_hccr **hccr, struct ehci_hcor **hcor) in ehci_hcd_init() argument
131 *hcor = (struct ehci_hcor *)(usb_base + HC_LENGTH(cap_base)); in ehci_hcd_init()
141 struct ehci_hcor *hcor; in ehci_hcd_stop() local
155 hcor = (struct ehci_hcor *)(usb_base + HC_LENGTH(cap_base)); in ehci_hcd_stop()
157 tmp = ehci_readl(&hcor->or_usbcmd); in ehci_hcd_stop()
159 ehci_writel(&hcor->or_usbcmd, tmp); in ehci_hcd_stop()
A Dxhci-omap.c52 int xhci_hcd_init(int index, struct xhci_hccr **hccr, struct xhci_hcor **hcor) in xhci_hcd_init() argument
75 *hcor = (struct xhci_hcor *)((uint32_t) *hccr in xhci_hcd_init()
79 (uint32_t)*hccr, (uint32_t)*hcor, in xhci_hcd_init()
A Dxhci-mvebu.c45 struct xhci_hcor *hcor; in xhci_usb_probe() local
51 hcor = (struct xhci_hcor *)((uintptr_t)ctx->hcd + len); in xhci_usb_probe()
65 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
A Dehci-zynq.c40 struct ehci_hcor *hcor; in ehci_zynq_probe() local
47 hcor = (struct ehci_hcor *)((uint32_t) hccr + in ehci_zynq_probe()
72 return ehci_register(dev, hccr, hcor, NULL, 0, plat->init_type); in ehci_zynq_probe()
A Dxhci-brcm.c34 struct xhci_hcor *hcor; in xhci_brcm_probe() local
51 hcor = (struct xhci_hcor *)(plat->hc_base + len); in xhci_brcm_probe()
65 ret = xhci_register(dev, hcd, hcor); in xhci_brcm_probe()
A Dehci-msm.c52 struct ehci_hcor *hcor; in ehci_usb_probe() local
56 hcor = (struct ehci_hcor *)((phys_addr_t)hccr + in ehci_usb_probe()
67 return ehci_register(dev, hccr, hcor, &msm_ehci_ops, 0, in ehci_usb_probe()
A Dxhci-rcar.c81 struct xhci_hcor *hcor; in xhci_rcar_probe() local
98 hcor = (struct xhci_hcor *)((uintptr_t)ctx->hcd + len); in xhci_rcar_probe()
107 ret = xhci_register(dev, ctx->hcd, hcor); in xhci_rcar_probe()
A Dehci-mx5.c237 struct ehci_hccr **hccr, struct ehci_hcor **hcor) in ehci_hcd_init() argument
256 *hcor = (struct ehci_hcor *)((uint32_t)*hccr + in ehci_hcd_init()
314 struct ehci_hcor *hcor; in ehci_usb_probe() local
344 hcor = (struct ehci_hcor *)((uint32_t)hccr + in ehci_usb_probe()
354 return ehci_register(dev, hccr, hcor, &mx5_ehci_ops, 0, in ehci_usb_probe()
A Dehci-vf.c161 struct ehci_hccr **hccr, struct ehci_hcor **hcor) in ehci_hcd_init() argument
177 *hcor = (struct ehci_hcor *)((uint32_t)*hccr + in ehci_hcd_init()
318 struct ehci_hcor *hcor; in ehci_usb_probe() local
337 hcor = (struct ehci_hcor *)((uint32_t)hccr + in ehci_usb_probe()
340 return ehci_register(dev, hccr, hcor, &vf_ehci_ops, 0, priv->init_type); in ehci_usb_probe()
A Dxhci-dwc3.c116 struct xhci_hcor *hcor; in xhci_dwc3_probe() local
126 hcor = (struct xhci_hcor *)((uintptr_t)hccr + in xhci_dwc3_probe()
165 return xhci_register(dev, hccr, hcor); in xhci_dwc3_probe()
A Dehci-omap.c189 struct ehci_hccr **hccr, struct ehci_hcor **hcor) argument
192 *hcor = (struct ehci_hcor *)(OMAP_EHCI_BASE + 0x10);
383 struct ehci_hcor *hcor; local
390 hcor = (struct ehci_hcor *)&priv->ehci->usbcmd;
392 return ehci_register(dev, hccr, hcor, NULL, 0, USB_INIT_HOST);
A Dxhci-exynos5.c211 struct xhci_hcor *hcor; in xhci_usb_probe() local
217 hcor = (struct xhci_hcor *)((uint32_t)ctx->hcd + in xhci_usb_probe()
230 return xhci_register(dev, ctx->hcd, hcor); in xhci_usb_probe()
/u-boot/drivers/usb/cdns3/
A Dhost.c22 struct xhci_hcor *hcor; in __cdns3_host_init() local
28 hcor = (struct xhci_hcor *)(cdns->xhci_regs + in __cdns3_host_init()
31 return xhci_register(cdns->dev, hccr, hcor); in __cdns3_host_init()

Completed in 25 milliseconds

12