Lines Matching refs:win_num
136 void program_ib_windows(struct mobiveil_pcie *pcie, int win_num, in program_ib_windows() argument
142 if (win_num >= pcie->ppio_wins) { in program_ib_windows()
148 value = mobiveil_csr_readl(pcie, PAB_PEX_AMAP_CTRL(win_num)); in program_ib_windows()
152 mobiveil_csr_writel(pcie, value, PAB_PEX_AMAP_CTRL(win_num)); in program_ib_windows()
155 PAB_EXT_PEX_AMAP_SIZEN(win_num)); in program_ib_windows()
158 PAB_PEX_AMAP_AXI_WIN(win_num)); in program_ib_windows()
160 PAB_EXT_PEX_AMAP_AXI_WIN(win_num)); in program_ib_windows()
163 PAB_PEX_AMAP_PEX_WIN_L(win_num)); in program_ib_windows()
165 PAB_PEX_AMAP_PEX_WIN_H(win_num)); in program_ib_windows()
173 void program_ob_windows(struct mobiveil_pcie *pcie, int win_num, in program_ob_windows() argument
179 if (win_num >= pcie->apio_wins) { in program_ob_windows()
189 value = mobiveil_csr_readl(pcie, PAB_AXI_AMAP_CTRL(win_num)); in program_ob_windows()
193 mobiveil_csr_writel(pcie, value, PAB_AXI_AMAP_CTRL(win_num)); in program_ob_windows()
196 PAB_EXT_AXI_AMAP_SIZE(win_num)); in program_ob_windows()
204 PAB_AXI_AMAP_AXI_WIN(win_num)); in program_ob_windows()
206 PAB_EXT_AXI_AMAP_AXI_WIN(win_num)); in program_ob_windows()
209 PAB_AXI_AMAP_PEX_WIN_L(win_num)); in program_ob_windows()
211 PAB_AXI_AMAP_PEX_WIN_H(win_num)); in program_ob_windows()