Home
last modified time | relevance | path

Searched refs:axi_addr (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/pci/controller/
Dpcie-iproc.c853 int size_idx, u64 axi_addr, u64 pci_addr) in iproc_pcie_ob_write() argument
874 writel(lower_32_bits(axi_addr) | (size_idx << OARR_SIZE_CFG_SHIFT) | in iproc_pcie_ob_write()
876 writel(upper_32_bits(axi_addr), pcie->base + oarr_offset + 4); in iproc_pcie_ob_write()
883 window_idx, oarr_offset, &axi_addr, &pci_addr); in iproc_pcie_ob_write()
905 static int iproc_pcie_setup_ob(struct iproc_pcie *pcie, u64 axi_addr, in iproc_pcie_setup_ob() argument
912 if (axi_addr < ob->axi_offset) { in iproc_pcie_setup_ob()
914 &axi_addr, &ob->axi_offset); in iproc_pcie_setup_ob()
922 axi_addr -= ob->axi_offset; in iproc_pcie_setup_ob()
961 axi_addr = ALIGN_DOWN(axi_addr, window_size); in iproc_pcie_setup_ob()
966 if (!IS_ALIGNED(axi_addr, window_size) || in iproc_pcie_setup_ob()
[all …]
Dpcie-microchip-host.c935 phys_addr_t axi_addr, phys_addr_t pci_addr, in mc_pcie_setup_window() argument
949 val = lower_32_bits(axi_addr) | (atr_sz << ATR_SIZE_SHIFT) | in mc_pcie_setup_window()
954 val = upper_32_bits(axi_addr); in mc_pcie_setup_window()