Searched refs:pci_regs (Results 1 – 2 of 2) sorted by relevance
/linux-6.3-rc2/arch/powerpc/boot/ |
A D | cuboot-pq2.c | 124 u32 *pci_regs[3]; in fixup_pci() local 188 out_be32(&pci_regs[1][1], io->phys_addr | 1); in fixup_pci() 189 out_be32(&pci_regs[2][1], ~(io->size[1] - 1)); in fixup_pci() 192 out_le32(&pci_regs[0][2], mem->phys_addr >> 12); in fixup_pci() 200 out_le32(&pci_regs[0][14], io->phys_addr >> 12); in fixup_pci() 204 out_le32(&pci_regs[0][58], 0); in fixup_pci() 205 out_le32(&pci_regs[0][60], 0); in fixup_pci() 212 if (!(in_le32(&pci_regs[0][32]) & 1)) { in fixup_pci() 216 out_le32(&pci_regs[0][32], 1); in fixup_pci() 223 out_le32(&pci_regs[0][64], 0x80000004); in fixup_pci() [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/52xx/ |
A D | mpc52xx_pci.c | 250 hose->cfg_addr = &pci_regs->car; in mpc52xx_pci_setup() 254 tmp = in_be32(&pci_regs->scr); in mpc52xx_pci_setup() 256 out_be32(&pci_regs->scr, tmp); in mpc52xx_pci_setup() 262 out_be32(&pci_regs->iw0btar, in mpc52xx_pci_setup() 275 out_be32(&pci_regs->iw1btar, in mpc52xx_pci_setup() 293 out_be32(&pci_regs->iw2btar, in mpc52xx_pci_setup() 313 tmp = in_be32(&pci_regs->gscr); in mpc52xx_pci_setup() 319 out_be32(&pci_regs->gscr, tmp | MPC52xx_PCI_GSCR_PR); in mpc52xx_pci_setup() 359 struct mpc52xx_pci __iomem *pci_regs; in mpc52xx_add_bridge() local 398 if (!pci_regs) in mpc52xx_add_bridge() [all …]
|
Completed in 5 milliseconds