Lines Matching refs:hccr
104 struct ehci_hccr *hccr; in ehci_mvebu_probe() local
128 hccr = (struct ehci_hccr *)(priv->hcd_base + 0x100); in ehci_mvebu_probe()
130 ((uintptr_t)hccr + HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_mvebu_probe()
133 (uintptr_t)hccr, (uintptr_t)hcor, in ehci_mvebu_probe()
134 (uintptr_t)HC_LENGTH(ehci_readl(&hccr->cr_capbase))); in ehci_mvebu_probe()
136 return ehci_register(dev, hccr, hcor, &marvell_ehci_ops, 0, in ehci_mvebu_probe()
207 struct ehci_hccr **hccr, struct ehci_hcor **hcor) in ehci_hcd_init() argument
211 *hccr = (struct ehci_hccr *)(MVUSB_BASE(index) + 0x100); in ehci_hcd_init()
212 *hcor = (struct ehci_hcor *)((uint32_t) *hccr in ehci_hcd_init()
213 + HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init()
216 (uint32_t)*hccr, (uint32_t)*hcor, in ehci_hcd_init()
217 (uint32_t)HC_LENGTH(ehci_readl(&(*hccr)->cr_capbase))); in ehci_hcd_init()