Home
last modified time | relevance | path

Searched refs:win_num (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/pci/controller/mobiveil/
H A Dpcie-mobiveil.c136 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
[all …]
H A Dpcie-mobiveil.h183 void program_ob_windows(struct mobiveil_pcie *pcie, int win_num, u64 cpu_addr,
185 void program_ib_windows(struct mobiveil_pcie *pcie, int win_num, u64 cpu_addr,
/linux/drivers/pci/controller/
H A Dpci-aardvark.c453 static void advk_pcie_set_ob_win(struct advk_pcie *pcie, u8 win_num, in advk_pcie_set_ob_win() argument
458 lower_32_bits(match), OB_WIN_MATCH_LS(win_num)); in advk_pcie_set_ob_win()
459 advk_writel(pcie, upper_32_bits(match), OB_WIN_MATCH_MS(win_num)); in advk_pcie_set_ob_win()
460 advk_writel(pcie, lower_32_bits(remap), OB_WIN_REMAP_LS(win_num)); in advk_pcie_set_ob_win()
461 advk_writel(pcie, upper_32_bits(remap), OB_WIN_REMAP_MS(win_num)); in advk_pcie_set_ob_win()
462 advk_writel(pcie, lower_32_bits(mask), OB_WIN_MASK_LS(win_num)); in advk_pcie_set_ob_win()
463 advk_writel(pcie, upper_32_bits(mask), OB_WIN_MASK_MS(win_num)); in advk_pcie_set_ob_win()
464 advk_writel(pcie, actions, OB_WIN_ACTIONS(win_num)); in advk_pcie_set_ob_win()
467 static void advk_pcie_disable_ob_win(struct advk_pcie *pcie, u8 win_num) in advk_pcie_disable_ob_win() argument
469 advk_writel(pcie, 0, OB_WIN_MATCH_LS(win_num)); in advk_pcie_disable_ob_win()
[all …]
/linux/drivers/net/ethernet/3com/
H A D3c589_cs.c67 #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) argument
H A D3c574_cs.c131 #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) argument
H A D3c509.c116 #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) argument
H A D3c515.c168 #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) argument
/linux/drivers/net/ethernet/amd/
H A Dnmclan_cs.c291 #define MACEBANK(win_num) outb((win_num), ioaddr + AM2150_MACE_BANK) argument