Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Dspl_pcie_ep_boot.c188 void *resbar_base; in pcie_bar_init() local
198 resbar_base = dbi_base + PCI_RESBAR; in pcie_bar_init()
199 writel(0xfffff0, resbar_base + 0x4); in pcie_bar_init()
200 writel(0x2c0, resbar_base + 0x8); in pcie_bar_init()
202 writel(0xfffff0, resbar_base + 0x14); in pcie_bar_init()
203 writel(0x6c0, resbar_base + 0x18); in pcie_bar_init()
205 writel(0xfffff0, resbar_base + 0x24); in pcie_bar_init()
206 writel(0xc0, resbar_base + 0x28); in pcie_bar_init()
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpcie-dw-ep-rockchip.c473 u32 resbar_base, lanes, val; in rockchip_pcie_resize_bar() local
527 resbar_base = rockchip_pci_find_resbar_capability(rockchip); in rockchip_pcie_resize_bar()
531 dw_pcie_writel_dbi(pci, resbar_base + 0x4 + bar * 0x8, 0xfffff0); in rockchip_pcie_resize_bar()
532 dw_pcie_writel_dbi(pci, resbar_base + 0x8 + bar * 0x8, 0x2c0); in rockchip_pcie_resize_bar()
536 dw_pcie_writel_dbi(pci, resbar_base + 0x4 + bar * 0x8, 0xfffff0); in rockchip_pcie_resize_bar()
537 dw_pcie_writel_dbi(pci, resbar_base + 0x8 + bar * 0x8, 0x6c0); in rockchip_pcie_resize_bar()
542 dw_pcie_writel_dbi(pci, resbar_base + 0x4 + bar * 0x8, 0xfffff0); in rockchip_pcie_resize_bar()
543 dw_pcie_writel_dbi(pci, resbar_base + 0x8 + bar * 0x8, 0xc0); in rockchip_pcie_resize_bar()
H A Dpcie-dw-rockchip.c959 int resbar_base; in rk_pcie_ep_setup() local
1024 resbar_base = rk_pci_find_resbar_capability(rk_pcie); in rk_pcie_ep_setup()
1025 if (!resbar_base) { in rk_pcie_ep_setup()
1029 dw_pcie_writel_dbi(rk_pcie->pci, resbar_base + 0x4, 0xfffff0); in rk_pcie_ep_setup()
1030 dw_pcie_writel_dbi(rk_pcie->pci, resbar_base + 0x8, 0x13c0); in rk_pcie_ep_setup()
1031 dw_pcie_writel_dbi(rk_pcie->pci, resbar_base + 0xc, 0xfffff0); in rk_pcie_ep_setup()
1032 dw_pcie_writel_dbi(rk_pcie->pci, resbar_base + 0x10, 0x3c0); in rk_pcie_ep_setup()
1034 dw_pcie_writel_dbi(rk_pcie->pci, resbar_base + 0x4 + bar * 0x8, 0xfffff0); in rk_pcie_ep_setup()
1035 dw_pcie_writel_dbi(rk_pcie->pci, resbar_base + 0x8 + bar * 0x8, 0x6c0); in rk_pcie_ep_setup()