Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dehci-mxs.c95 uint32_t usb_base, cap_base; in ehci_hcd_init() local
130 cap_base = ehci_readl(&(*hccr)->cr_capbase); in ehci_hcd_init()
131 *hcor = (struct ehci_hcor *)(usb_base + HC_LENGTH(cap_base)); in ehci_hcd_init()
139 uint32_t usb_base, cap_base, tmp; in ehci_hcd_stop() local
154 cap_base = ehci_readl(&hccr->cr_capbase); in ehci_hcd_stop()
155 hcor = (struct ehci_hcor *)(usb_base + HC_LENGTH(cap_base)); in ehci_hcd_stop()
H A Dehci-rmobile.c72 uint32_t cap_base; in ehci_hcd_init() local
125 cap_base = ehci_readl(&(*hccr)->cr_capbase); in ehci_hcd_init()
126 *hcor = (struct ehci_hcor *)((uint32_t)*hccr + HC_LENGTH(cap_base)); in ehci_hcd_init()
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpcie-dw-rockchip.c1774 dw_pcie_writel_dbi(pcie->pci, cap_base + 8, v); \
1775 seq_printf(s, ss "0x%x\n", dw_pcie_readl_dbi(pcie->pci, cap_base + 0xc)); \
1781 int cap_base; in rockchip_pcie_rasdes_show() local
1802 cap_base = dw_pcie_find_ext_capability(pcie->pci, PCI_EXT_CAP_ID_VNDR); in rockchip_pcie_rasdes_show()
1803 if (!cap_base) { in rockchip_pcie_rasdes_show()
1851 int cap_base; in rockchip_pcie_rasdes_write() local
1856 cap_base = dw_pcie_find_ext_capability(pcie->pci, PCI_EXT_CAP_ID_VNDR); in rockchip_pcie_rasdes_write()
1857 if (!cap_base) { in rockchip_pcie_rasdes_write()
1864 dw_pcie_writel_dbi(pcie->pci, cap_base + 8, 0x1c); in rockchip_pcie_rasdes_write()
1865 dw_pcie_writel_dbi(pcie->pci, cap_base + 8, 0x3); in rockchip_pcie_rasdes_write()
[all …]