Searched refs:win_num (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/pci/controller/ |
D | pcie-mobiveil.c | 391 static void program_ib_windows(struct mobiveil_pcie *pcie, int win_num, in program_ib_windows() argument 398 if (win_num >= pcie->ppio_wins) { in program_ib_windows() 407 amap_ctrl_dw = read_paged_register(pcie, PAB_PEX_AMAP_CTRL(win_num)); in program_ib_windows() 412 PAB_PEX_AMAP_CTRL(win_num)); in program_ib_windows() 415 PAB_EXT_PEX_AMAP_SIZEN(win_num)); in program_ib_windows() 417 write_paged_register(pcie, pci_addr, PAB_PEX_AMAP_AXI_WIN(win_num)); in program_ib_windows() 418 write_paged_register(pcie, pci_addr, PAB_PEX_AMAP_PEX_WIN_L(win_num)); in program_ib_windows() 419 write_paged_register(pcie, 0, PAB_PEX_AMAP_PEX_WIN_H(win_num)); in program_ib_windows() 425 static void program_ob_windows(struct mobiveil_pcie *pcie, int win_num, in program_ob_windows() argument 432 if (win_num >= pcie->apio_wins) { in program_ob_windows() [all …]
|
D | pci-aardvark.c | 418 static void advk_pcie_set_ob_win(struct advk_pcie *pcie, u8 win_num, in advk_pcie_set_ob_win() argument 423 lower_32_bits(match), OB_WIN_MATCH_LS(win_num)); in advk_pcie_set_ob_win() 424 advk_writel(pcie, upper_32_bits(match), OB_WIN_MATCH_MS(win_num)); in advk_pcie_set_ob_win() 425 advk_writel(pcie, lower_32_bits(remap), OB_WIN_REMAP_LS(win_num)); in advk_pcie_set_ob_win() 426 advk_writel(pcie, upper_32_bits(remap), OB_WIN_REMAP_MS(win_num)); in advk_pcie_set_ob_win() 427 advk_writel(pcie, lower_32_bits(mask), OB_WIN_MASK_LS(win_num)); in advk_pcie_set_ob_win() 428 advk_writel(pcie, upper_32_bits(mask), OB_WIN_MASK_MS(win_num)); in advk_pcie_set_ob_win() 429 advk_writel(pcie, actions, OB_WIN_ACTIONS(win_num)); in advk_pcie_set_ob_win() 432 static void advk_pcie_disable_ob_win(struct advk_pcie *pcie, u8 win_num) in advk_pcie_disable_ob_win() argument 434 advk_writel(pcie, 0, OB_WIN_MATCH_LS(win_num)); in advk_pcie_disable_ob_win() [all …]
|