Lines Matching +full:0 +full:xfd000000
44 .name = "PCIe0 MEM 0",
45 .start = 0xfd000000,
46 .end = 0xfd000000 + SZ_8M - 1,
50 .start = 0xc0000000,
51 .end = 0xc0000000 + SZ_512M - 1,
55 .start = 0x10000000,
56 .end = 0x10000000 + SZ_64M - 1,
60 .start = 0xfe100000,
61 .end = 0xfe100000 + SZ_1M - 1,
68 .name = "PCIe1 MEM 0",
69 .start = 0xfd800000,
70 .end = 0xfd800000 + SZ_8M - 1,
74 .start = 0xa0000000,
75 .end = 0xa0000000 + SZ_512M - 1,
79 .start = 0x30000000,
80 .end = 0x30000000 + SZ_256M - 1,
84 .start = 0xfe300000,
85 .end = 0xfe300000 + SZ_1M - 1,
92 .name = "PCIe2 MEM 0",
93 .start = 0xfc800000,
94 .end = 0xfc800000 + SZ_4M - 1,
98 .start = 0x80000000,
99 .end = 0x80000000 + SZ_512M - 1,
103 .start = 0x20000000,
104 .end = 0x20000000 + SZ_256M - 1,
108 .start = 0xfcd00000,
109 .end = 0xfcd00000 + SZ_1M - 1,
122 .mem_offset = 0, \
123 .io_offset = 0, \
127 DEFINE_CONTROLLER(0xfe000000, 0),
128 DEFINE_CONTROLLER(0xfe200000, 1),
129 DEFINE_CONTROLLER(0xfcc00000, 2),
141 if (pci_is_root_bus(dev->bus) && dev->devfn == 0) { in sh7786_pci_fixup()
145 r->start = 0; in sh7786_pci_fixup()
146 r->end = 0; in sh7786_pci_fixup()
147 r->flags = 0; in sh7786_pci_fixup()
160 return 0; in phy_wait_for_ack()
174 return 0; in pci_wait_for_irq()
187 phyaddr = (1 << BITS_CMD) + ((lane & 0xf) << BITS_LANE) + in phy_write_reg()
188 ((addr & 0xff) << BITS_ADR); in phy_write_reg()
197 pci_write_reg(chan, 0, SH4A_PCIEPHYDOUTR); in phy_write_reg()
198 pci_write_reg(chan, 0, SH4A_PCIEPHYADRR); in phy_write_reg()
214 if (unlikely(ret != 0)) in pcie_clk_init()
237 memset(clk, 0, sizeof(struct clk)); in pcie_clk_init()
244 if (unlikely(ret < 0)) in pcie_clk_init()
247 return 0; in pcie_clk_init()
266 phy_write_reg(chan, 0x60, 0xf, 0x004b008b); in phy_init()
267 phy_write_reg(chan, 0x61, 0xf, 0x00007b41); in phy_init()
268 phy_write_reg(chan, 0x64, 0xf, 0x00ff4f00); in phy_init()
269 phy_write_reg(chan, 0x65, 0xf, 0x09070907); in phy_init()
270 phy_write_reg(chan, 0x66, 0xf, 0x00000010); in phy_init()
271 phy_write_reg(chan, 0x74, 0xf, 0x0007001c); in phy_init()
272 phy_write_reg(chan, 0x79, 0xf, 0x01fc000d); in phy_init()
273 phy_write_reg(chan, 0xb0, 0xf, 0x00000610); in phy_init()
276 phy_write_reg(chan, 0x67, 0x1, 0x00000400); in phy_init()
283 return 0; in phy_init()
296 pci_write_reg(chan, 0, SH4A_PCIETCTLR); in pcie_reset()
297 pci_write_reg(chan, 0, SH4A_PCIESRSTR); in pcie_reset()
298 pci_write_reg(chan, 0, SH4A_PCIETXVC0SR); in pcie_reset()
347 data &= ~0x3f00; in pcie_init()
348 data |= 0x32 << 8; in pcie_init()
357 data |= (0xff << 16); in pcie_init()
385 pci_write_reg(chan, 0, SH4A_PCIELAR1); in pcie_init()
386 pci_write_reg(chan, 0, SH4A_PCIELAMR1); in pcie_init()
398 data |= 0x1; in pcie_init()
411 data |= PCIEMACCTLR_SCR_DIS | (0xff << 16); in pcie_init()
427 pci_write_reg(chan, 0x80888000, SH4A_PCIETXVC0DCTLR); in pcie_init()
428 pci_write_reg(chan, 0x00222000, SH4A_PCIERXVC0DCTLR); in pcie_init()
432 if (ret == 0) { in pcie_init()
435 port->index, (data >> 20) & 0x3f); in pcie_init()
440 for (i = win = 0; i < chan->nr_resources; i++) { in pcie_init()
455 pci_write_reg(chan, 0x00000000, SH4A_PCIEPTCTLR(win)); in pcie_init()
479 return 0; in pcie_init()
484 return evt2irq(0xae0); in pcibios_map_platform_irq()
514 if (unlikely(ret < 0)) { in sh7786_pcie_init_hw()
521 if (unlikely(ret < 0)) { in sh7786_pcie_init_hw()
528 if (unlikely(ret < 0)) { in sh7786_pcie_init_hw()
558 if (unlikely(nr_ports == 0)) in sh7786_pcie_init()
594 for (i = 0; i < nr_ports; i++) { in sh7786_pcie_init()
599 port->hose->io_map_base = port->hose->resources[0].start; in sh7786_pcie_init()
606 return 0; in sh7786_pcie_init()