Lines Matching refs:pci_write_reg

189 	pci_write_reg(chan, data, SH4A_PCIEPHYDOUTR);  in phy_write_reg()
190 pci_write_reg(chan, phyaddr, SH4A_PCIEPHYADRR); in phy_write_reg()
195 pci_write_reg(chan, 0, SH4A_PCIEPHYDOUTR); in phy_write_reg()
196 pci_write_reg(chan, 0, SH4A_PCIEPHYADRR); in phy_write_reg()
293 pci_write_reg(chan, 1, SH4A_PCIESRSTR); in pcie_reset()
294 pci_write_reg(chan, 0, SH4A_PCIETCTLR); in pcie_reset()
295 pci_write_reg(chan, 0, SH4A_PCIESRSTR); in pcie_reset()
296 pci_write_reg(chan, 0, SH4A_PCIETXVC0SR); in pcie_reset()
315 pci_write_reg(chan, PCI_CLASS_BRIDGE_PCI << 16, SH4A_PCIEIDSETR1); in pcie_init()
327 pci_write_reg(chan, data, SH4A_PCIEEXPCAP0); in pcie_init()
330 pci_write_reg(chan, PCI_EXP_LNKCAP_DLLLARC, SH4A_PCIEEXPCAP3); in pcie_init()
336 pci_write_reg(chan, data, SH4A_PCIEEXPCAP4); in pcie_init()
342 pci_write_reg(chan, data, SH4A_PCIEEXPCAP5); in pcie_init()
348 pci_write_reg(chan, data, SH4A_PCIETLCTLR); in pcie_init()
357 pci_write_reg(chan, data, SH4A_PCIEMACCTLR); in pcie_init()
367 pci_write_reg(chan, memphys + SZ_512M, SH4A_PCIELAR1); in pcie_init()
368 pci_write_reg(chan, ((memsize - SZ_512M) - SZ_256) | 1, in pcie_init()
375 pci_write_reg(chan, 0, SH4A_PCIELAR1); in pcie_init()
376 pci_write_reg(chan, 0, SH4A_PCIELAMR1); in pcie_init()
383 pci_write_reg(chan, memphys, SH4A_PCIELAR0); in pcie_init()
384 pci_write_reg(chan, (memsize - SZ_256) | 1, SH4A_PCIELAMR0); in pcie_init()
389 pci_write_reg(chan, data, SH4A_PCIETCTLR); in pcie_init()
397 pci_write_reg(chan, data, SH4A_PCIEDLINTENR); in pcie_init()
402 pci_write_reg(chan, data, SH4A_PCIEMACCTLR); in pcie_init()
415 pci_write_reg(chan, data, SH4A_PCIEPCICONF1); in pcie_init()
417 pci_write_reg(chan, 0x80888000, SH4A_PCIETXVC0DCTLR); in pcie_init()
418 pci_write_reg(chan, 0x00222000, SH4A_PCIERXVC0DCTLR); in pcie_init()
442 pci_write_reg(chan, 0x00000000, SH4A_PCIEPTCTLR(win)); in pcie_init()
450 pci_write_reg(chan, mask << 18, SH4A_PCIEPAMR(win)); in pcie_init()
452 pci_write_reg(chan, upper_32_bits(res->start), in pcie_init()
454 pci_write_reg(chan, lower_32_bits(res->start), in pcie_init()
461 pci_write_reg(chan, mask, SH4A_PCIEPTCTLR(win)); in pcie_init()