Searched refs:cap_base (Results 1 – 2 of 2) sorted by relevance
94 uint32_t usb_base, cap_base; in ehci_hcd_init() local129 cap_base = ehci_readl(&(*hccr)->cr_capbase); in ehci_hcd_init()130 *hcor = (struct ehci_hcor *)(usb_base + HC_LENGTH(cap_base)); in ehci_hcd_init()138 uint32_t usb_base, cap_base, tmp; in ehci_hcd_stop() local153 cap_base = ehci_readl(&hccr->cr_capbase); in ehci_hcd_stop()154 hcor = (struct ehci_hcor *)(usb_base + HC_LENGTH(cap_base)); in ehci_hcd_stop()
71 uint32_t cap_base; in ehci_hcd_init() local124 cap_base = ehci_readl(&(*hccr)->cr_capbase); in ehci_hcd_init()125 *hcor = (struct ehci_hcor *)((uint32_t)*hccr + HC_LENGTH(cap_base)); in ehci_hcd_init()