Lines Matching refs:writel
89 writel(stat, base + PCIE_STAT_OFF); in orion_pcie_set_local_bus_nr()
105 writel(reg, base + PCIE_DEBUG_CTRL); in orion_pcie_reset()
115 writel(reg, base + PCIE_DEBUG_CTRL); in orion_pcie_reset()
135 writel(0, base + PCIE_BAR_CTRL_OFF(i)); in orion_pcie_setup_wins()
136 writel(0, base + PCIE_BAR_LO_OFF(i)); in orion_pcie_setup_wins()
137 writel(0, base + PCIE_BAR_HI_OFF(i)); in orion_pcie_setup_wins()
141 writel(0, base + PCIE_WIN04_CTRL_OFF(i)); in orion_pcie_setup_wins()
142 writel(0, base + PCIE_WIN04_BASE_OFF(i)); in orion_pcie_setup_wins()
143 writel(0, base + PCIE_WIN04_REMAP_OFF(i)); in orion_pcie_setup_wins()
146 writel(0, base + PCIE_WIN5_CTRL_OFF); in orion_pcie_setup_wins()
147 writel(0, base + PCIE_WIN5_BASE_OFF); in orion_pcie_setup_wins()
148 writel(0, base + PCIE_WIN5_REMAP_OFF); in orion_pcie_setup_wins()
157 writel(cs->base & 0xffff0000, base + PCIE_WIN04_BASE_OFF(i)); in orion_pcie_setup_wins()
158 writel(0, base + PCIE_WIN04_REMAP_OFF(i)); in orion_pcie_setup_wins()
159 writel(((cs->size - 1) & 0xffff0000) | in orion_pcie_setup_wins()
176 writel(dram->cs[0].base, base + PCIE_BAR_LO_OFF(1)); in orion_pcie_setup_wins()
177 writel(0, base + PCIE_BAR_HI_OFF(1)); in orion_pcie_setup_wins()
178 writel(((size - 1) & 0xffff0000) | 1, base + PCIE_BAR_CTRL_OFF(1)); in orion_pcie_setup_wins()
205 writel(mask, base + PCIE_MASK_OFF); in orion_pcie_setup()
211 writel(PCIE_CONF_BUS(bus->number) | in orion_pcie_rd_conf()
230 writel(PCIE_CONF_BUS(bus->number) | in orion_pcie_rd_conf_tlp()
271 writel(PCIE_CONF_BUS(bus->number) | in orion_pcie_wr_conf()
278 writel(val, base + PCIE_CONF_DATA_OFF); in orion_pcie_wr_conf()