/arch/microblaze/pci/ |
D | indirect_pci.c | 22 volatile void __iomem *cfg_data; in indirect_read_config() local 56 cfg_data = hose->cfg_data + (offset & 3); /* Only 3 bits for function */ in indirect_read_config() 59 *val = in_8(cfg_data); in indirect_read_config() 62 *val = in_le16(cfg_data); in indirect_read_config() 65 *val = in_le32(cfg_data); in indirect_read_config() 76 volatile void __iomem *cfg_data; in indirect_write_config() local 122 cfg_data = hose->cfg_data + (offset & 3); in indirect_write_config() 125 out_8(cfg_data, val); in indirect_write_config() 128 out_le16(cfg_data, val); in indirect_write_config() 131 out_le32(cfg_data, val); in indirect_write_config() [all …]
|
/arch/powerpc/sysdev/ |
D | indirect_pci.c | 23 volatile void __iomem *cfg_data; in __indirect_read_config() local 61 cfg_data = hose->cfg_data + (offset & 3); in __indirect_read_config() 64 *val = in_8(cfg_data); in __indirect_read_config() 67 *val = in_le16(cfg_data); in __indirect_read_config() 70 *val = in_le32(cfg_data); in __indirect_read_config() 89 volatile void __iomem *cfg_data; in indirect_write_config() local 139 cfg_data = hose->cfg_data + (offset & 3); in indirect_write_config() 142 out_8(cfg_data, val); in indirect_write_config() 145 out_le16(cfg_data, val); in indirect_write_config() 148 out_le32(cfg_data, val); in indirect_write_config() [all …]
|
D | grackle.c | 31 val = in_le32(bp->cfg_data); in grackle_set_stg() 35 out_le32(bp->cfg_data, val); in grackle_set_stg() 36 (void)in_le32(bp->cfg_data); in grackle_set_stg() 44 val = in_le32(bp->cfg_data); in grackle_set_loop_snoop() 48 out_le32(bp->cfg_data, val); in grackle_set_loop_snoop() 49 (void)in_le32(bp->cfg_data); in grackle_set_loop_snoop()
|
D | fsl_pci.c | 633 hose, hose->cfg_addr, hose->cfg_data); in fsl_add_bridge() 650 if (((unsigned long)hose->cfg_data & PAGE_MASK) != in fsl_add_bridge() 652 iounmap(hose->cfg_data); in fsl_add_bridge() 882 hose, hose->cfg_addr, hose->cfg_data); in mpc83xx_add_bridge()
|
/arch/powerpc/platforms/chrp/ |
D | pci.c | 37 volatile void __iomem *cfg_data; in gg2_read_config() local 46 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_read_config() 49 *val = in_8(cfg_data); in gg2_read_config() 52 *val = in_le16(cfg_data); in gg2_read_config() 55 *val = in_le32(cfg_data); in gg2_read_config() 64 volatile void __iomem *cfg_data; in gg2_write_config() local 73 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_write_config() 76 out_8(cfg_data, val); in gg2_write_config() 79 out_le16(cfg_data, val); in gg2_write_config() 82 out_le32(cfg_data, val); in gg2_write_config() [all …]
|
/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pci.c | 130 value = in_8(((u8 __iomem *)hose->cfg_data) + in mpc52xx_pci_read_config() 134 value = in_le16(((u16 __iomem *)hose->cfg_data) + in mpc52xx_pci_read_config() 139 value = in_le16((u16 __iomem *)hose->cfg_data) | in mpc52xx_pci_read_config() 140 (in_le16(((u16 __iomem *)hose->cfg_data) + 1) << 16); in mpc52xx_pci_read_config() 147 value = in_le32(hose->cfg_data); in mpc52xx_pci_read_config() 187 out_8(((u8 __iomem *)hose->cfg_data) + in mpc52xx_pci_write_config() 191 out_le16(((u16 __iomem *)hose->cfg_data) + in mpc52xx_pci_write_config() 196 out_le16((u16 __iomem *)hose->cfg_data, in mpc52xx_pci_write_config() 198 out_le16(((u16 __iomem *)hose->cfg_data) + 1, in mpc52xx_pci_write_config() 207 value = in_le32(hose->cfg_data); in mpc52xx_pci_write_config() [all …]
|
/arch/powerpc/platforms/amigaone/ |
D | setup.c | 34 const u32 *cfg_addr, *cfg_data; in amigaone_add_bridge() local 42 cfg_data = of_get_address(dev, 1, NULL, NULL); in amigaone_add_bridge() 43 if ((cfg_addr == NULL) || (cfg_data == NULL)) in amigaone_add_bridge() 58 setup_indirect_pci(hose, cfg_addr[0], cfg_data[0], 0); in amigaone_add_bridge()
|
/arch/powerpc/platforms/powermac/ |
D | pci.c | 158 return hose->cfg_data + offset; in macrisc_cfg_map_bus() 209 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_chaos() 275 return hose->cfg_data + U3_HT_CFA0(devfn, offset); in u3_ht_cfg_access() 279 return hose->cfg_data + U3_HT_CFA1(bus, devfn, offset); in u3_ht_cfg_access() 420 return hose->cfg_data + offset; in u4_pcie_cfg_map_bus() 459 vendev = in_le32(bp->cfg_data); in init_bandit() 466 rev = in_8(bp->cfg_data); in init_bandit() 478 magic = in_le32(bp->cfg_data); in init_bandit() 483 out_le32(bp->cfg_data, magic); in init_bandit() 606 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_bandit() [all …]
|
/arch/powerpc/platforms/maple/ |
D | pci.c | 114 return hose->cfg_data + offset; in u3_agp_cfg_access() 201 return hose->cfg_data + u3_ht_cfa0(devfn, offset); in u3_ht_cfg_access() 203 return hose->cfg_data + u3_ht_cfa1(bus, devfn, offset); in u3_ht_cfg_access() 368 return hose->cfg_data + offset; in u4_pcie_cfg_access() 455 hose->cfg_data = ioremap(0xf0000000 + 0xc00000, 0x1000); in setup_u3_agp() 467 hose->cfg_data = ioremap(0xf0000000 + 0xc00000, 0x1000); in setup_u4_pcie() 480 hose->cfg_data = ioremap(0xf2000000, 0x02000000); in setup_u3_ht()
|
/arch/microblaze/include/asm/ |
D | pci-bridge.h | 57 void __iomem *cfg_data; member 126 resource_size_t cfg_data, u32 flags);
|
/arch/xtensa/include/asm/ |
D | pci-bridge.h | 44 volatile unsigned char *cfg_data; member
|
/arch/powerpc/platforms/pasemi/ |
D | pci.c | 42 return hose->cfg_data + PA_PXP_CFA(bus, devfn, offset); in pa_pxp_cfg_addr() 237 hose->cfg_data = ioremap(0xe0000000, 0x10000000); in setup_pa_pxp()
|
/arch/powerpc/include/asm/ |
D | pci-bridge.h | 84 void __iomem *cfg_data; member 152 resource_size_t cfg_data, u32 flags);
|
/arch/powerpc/platforms/4xx/ |
D | pci.c | 1597 return (void __iomem *)port->hose->cfg_data + in ppc4xx_pciex_get_config_base() 1918 void __iomem *mbase = NULL, *cfg_data = NULL; in ppc4xx_pciex_port_setup_hose() local 1958 cfg_data = ioremap(port->cfg_space.start + in ppc4xx_pciex_port_setup_hose() 1961 if (cfg_data == NULL) { in ppc4xx_pciex_port_setup_hose() 1966 hose->cfg_data = cfg_data; in ppc4xx_pciex_port_setup_hose() 1983 hose->cfg_addr, hose->cfg_data); in ppc4xx_pciex_port_setup_hose() 2069 if (cfg_data) in ppc4xx_pciex_port_setup_hose() 2070 iounmap(cfg_data); in ppc4xx_pciex_port_setup_hose()
|