Lines Matching refs:window_idx
843 int window_idx) in iproc_pcie_ob_is_valid() argument
847 val = iproc_pcie_read_reg(pcie, MAP_REG(IPROC_PCIE_OARR0, window_idx)); in iproc_pcie_ob_is_valid()
852 static inline int iproc_pcie_ob_write(struct iproc_pcie *pcie, int window_idx, in iproc_pcie_ob_write() argument
863 window_idx)); in iproc_pcie_ob_write()
865 window_idx)); in iproc_pcie_ob_write()
883 window_idx, oarr_offset, &axi_addr, &pci_addr); in iproc_pcie_ob_write()
910 int ret = -EINVAL, window_idx, size_idx; in iproc_pcie_setup_ob() local
925 for (window_idx = ob->nr_windows - 1; window_idx >= 0; window_idx--) { in iproc_pcie_setup_ob()
927 &pcie->ob_map[window_idx]; in iproc_pcie_setup_ob()
933 if (iproc_pcie_ob_is_valid(pcie, window_idx)) in iproc_pcie_setup_ob()
953 if (size_idx > 0 || window_idx > 0) in iproc_pcie_setup_ob()
978 ret = iproc_pcie_ob_write(pcie, window_idx, size_idx, in iproc_pcie_setup_ob()
1063 int window_idx; in iproc_pcie_ib_write() local
1093 for (window_idx = 0; window_idx < nr_windows; window_idx++) { in iproc_pcie_ib_write()
1101 window_idx, readl(pcie->base + imap_offset), in iproc_pcie_ib_write()