/linux/arch/powerpc/include/asm/ |
H A D | pci-bridge.h | 47 void (*shutdown)(struct pci_controller *hose); 49 struct iommu_group *(*device_group)(struct pci_controller *hose, 56 struct pci_controller { struct 145 extern int early_read_config_byte(struct pci_controller *hose, int bus, argument 147 extern int early_read_config_word(struct pci_controller *hose, int bus, 149 extern int early_read_config_dword(struct pci_controller *hose, int bus, 151 extern int early_write_config_byte(struct pci_controller *hose, int bus, 153 extern int early_write_config_word(struct pci_controller *hose, int bus, 155 extern int early_write_config_dword(struct pci_controller *hose, int bus, 158 extern int early_find_capability(struct pci_controller *hose, int bus, [all …]
|
H A D | ppc-pci.h | 31 extern void pci_devs_phb_init_dynamic(struct pci_controller *phb); 35 extern void ppc_iommu_register_device(struct pci_controller *phb); 36 extern void ppc_iommu_unregister_device(struct pci_controller *phb); 38 static inline void ppc_iommu_register_device(struct pci_controller *phb) { } in ppc_iommu_register_device() 39 static inline void ppc_iommu_unregister_device(struct pci_controller *phb) { } in ppc_iommu_unregister_device() 46 extern int rtas_setup_phb(struct pci_controller *phb);
|
H A D | pci.h | 95 extern struct pci_controller *init_phb_dynamic(struct device_node *dn); 96 extern int remove_phb_dynamic(struct pci_controller *phb); 112 extern resource_size_t pcibios_io_space_offset(struct pci_controller *hose); 114 extern void pcibios_setup_phb_io_space(struct pci_controller *hose); 115 extern void pcibios_scan_phb(struct pci_controller *hose);
|
/linux/arch/mips/include/asm/ |
H A D | pci.h | 30 struct pci_controller { struct 58 extern void register_pci_controller(struct pci_controller *hose); argument 72 extern void pci_load_of_ranges(struct pci_controller *hose, 75 static inline void pci_load_of_ranges(struct pci_controller *hose, in pci_load_of_ranges() 80 static inline void set_pci_need_domain_info(struct pci_controller *hose, in set_pci_need_domain_info() 86 static inline void set_pci_need_domain_info(struct pci_controller *hose, in set_pci_need_domain_info() 128 #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index 132 struct pci_controller *hose = bus->sysdata; in pci_proc_domain()
|
/linux/arch/alpha/kernel/ |
H A D | pci_impl.h | 10 struct pci_controller; 136 struct pci_controller *hose; 165 extern struct pci_controller *hose_head, **hose_tail; 166 extern struct pci_controller *pci_isa_hose; 172 extern struct pci_controller *alloc_pci_controller(void); 176 struct pci_controller *, 179 extern struct pci_iommu_arena *iommu_arena_new(struct pci_controller *,
|
H A D | console.c | 22 struct pci_controller *pci_vga_hose; 30 static struct pci_controller * __init 31 default_vga_hose_select(struct pci_controller *h1, struct pci_controller *h2) in default_vga_hose_select() 42 struct pci_controller *hose = NULL; in locate_and_init_vga() 78 struct pci_controller *hose; in find_console_vga_hose()
|
H A D | proto.h | 17 struct pci_controller; 27 extern void cia_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 40 extern void marvel_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 51 extern void mcpcia_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 66 extern void t2_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 73 extern void titan_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 81 extern void tsunami_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 88 extern void wildfire_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
|
H A D | core_mcpcia.c | 88 struct pci_controller *hose) in conf_read() 136 struct pci_controller *hose) in conf_write() 171 struct pci_controller *hose, unsigned long *pci_addr, in mk_conf_addr() 199 struct pci_controller *hose = bus->sysdata; in mcpcia_read_config() 226 struct pci_controller *hose = bus->sysdata; in mcpcia_write_config() 246 mcpcia_pci_tbi(struct pci_controller *hose, dma_addr_t start, dma_addr_t end) in mcpcia_pci_tbi() 291 struct pci_controller *hose; in mcpcia_new_hose() 344 mcpcia_startup_hose(struct pci_controller *hose) in mcpcia_startup_hose() 423 struct pci_controller *hose; in mcpcia_init_hoses() 520 struct pci_controller *hose; in mcpcia_print_system_area() [all …]
|
H A D | pci.c | 57 struct pci_controller *hose_head, **hose_tail = &hose_head; 58 struct pci_controller *pci_isa_hose; 99 struct pci_controller *hose = dev->sysdata; in quirk_cypress() 131 struct pci_controller *hose = dev->sysdata; in pcibios_align_resource() 323 struct pci_controller *hose; in common_init_pci() 389 struct pci_controller * __init 392 struct pci_controller *hose; in alloc_pci_controller() 415 struct pci_controller *hose; in alloc_resource()
|
/linux/arch/mips/pci/ |
H A D | pci-rt3883.c | 65 struct pci_controller pci_controller; member 75 struct pci_controller *hose; in pci_bus_to_rt3883_controller() 77 hose = (struct pci_controller *) bus->sysdata; in pci_bus_to_rt3883_controller() 78 return container_of(hose, struct rt3883_pci_controller, pci_controller); in pci_bus_to_rt3883_controller() 437 rpc->pci_controller.of_node = child; in rt3883_pci_probe() 442 if (!rpc->pci_controller.of_node) { in rt3883_pci_probe() 450 for_each_available_child_of_node(rpc->pci_controller.of_node, child) { in rt3883_pci_probe() 484 rpc->pci_controller.pci_ops = &rt3883_pci_ops; in rt3883_pci_probe() 485 rpc->pci_controller.io_resource = &rpc->io_res; in rt3883_pci_probe() 486 rpc->pci_controller.mem_resource = &rpc->mem_res; in rt3883_pci_probe() [all …]
|
H A D | pci-ar724x.c | 51 struct pci_controller pci_controller; member 67 struct pci_controller *hose; in pci_bus_to_ar724x_controller() 69 hose = (struct pci_controller *) bus->sysdata; in pci_bus_to_ar724x_controller() 70 return container_of(hose, struct ar724x_pci_controller, pci_controller); in pci_bus_to_ar724x_controller() 411 apc->pci_controller.pci_ops = &ar724x_pci_ops; in ar724x_pci_probe() 412 apc->pci_controller.io_resource = &apc->io_res; in ar724x_pci_probe() 413 apc->pci_controller.mem_resource = &apc->mem_res; in ar724x_pci_probe() 430 register_pci_controller(&apc->pci_controller); in ar724x_pci_probe()
|
H A D | pci-legacy.c | 58 struct pci_controller *hose = dev->sysdata; in pcibios_align_resource() 80 static void pcibios_scanbus(struct pci_controller *hose) in pcibios_scanbus() 145 void pci_load_of_ranges(struct pci_controller *hose, struct device_node *node) in pci_load_of_ranges() 181 struct pci_controller *hose = bus->sysdata; in register_pci_controller() 189 void register_pci_controller(struct pci_controller *hose) in register_pci_controller() 239 struct pci_controller *hose; in pcibios_init()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | pci-cxl.c | 15 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_phb_to_cxl_mode() 41 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_alloc_hwirqs() 56 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_release_hwirqs() 66 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_release_hwirq_ranges() 86 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_alloc_hwirq_ranges() 122 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_get_irq_count() 132 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_ioda_msi_setup()
|
/linux/arch/mips/include/asm/txx9/ |
H A D | pci.h | 11 extern struct pci_controller txx9_primary_pcic; 12 struct pci_controller * 13 txx9_alloc_pci_controller(struct pci_controller *pcic, 17 int txx9_pci66_check(struct pci_controller *hose, int top_bus,
|
/linux/arch/xtensa/include/asm/ |
H A D | pci-bridge.h | 15 struct pci_controller; 21 extern int pciauto_bus_scan(struct pci_controller *, int); 33 struct pci_controller { struct 35 struct pci_controller *next; argument
|
/linux/arch/powerpc/sysdev/ |
H A D | fsl_pci.c | 68 static int fsl_pcie_check_link(struct pci_controller *hose) in fsl_pcie_check_link() 95 struct pci_controller *hose = pci_bus_to_host(bus); in fsl_indirect_read_config() 118 struct pci_controller *hose = pci_bus_to_host(pdev->bus); in pci_dma_dev_setup_swiotlb() 124 static void setup_swiotlb_ops(struct pci_controller *hose) in setup_swiotlb_ops() 130 static inline void setup_swiotlb_ops(struct pci_controller *hose) {} in setup_swiotlb_ops() 199 static void setup_pci_atmu(struct pci_controller *hose) in setup_pci_atmu() 464 static void setup_pci_cmd(struct pci_controller *hose) in setup_pci_cmd() 487 struct pci_controller *hose = pci_bus_to_host(bus); in fsl_pcibios_fixup_bus() 525 struct pci_controller *hose; in fsl_add_bridge() 694 struct pci_controller *hose = pci_bus_to_host(bus); in mpc83xx_pcie_exclude_device() [all …]
|
/linux/arch/powerpc/platforms/powermac/ |
H A D | pci.c | 41 static struct pci_controller *u3_agp; 140 struct pci_controller *hose; in macrisc_cfg_map_bus() 204 static void __init setup_chaos(struct pci_controller *hose, in setup_chaos() 229 static int u3_ht_skip_device(struct pci_controller *hose, in u3_ht_skip_device() 270 static void __iomem *u3_ht_cfg_access(struct pci_controller *hose, u8 bus, in u3_ht_cfg_access() 286 struct pci_controller *hose; in u3_ht_read_config() 337 struct pci_controller *hose; in u3_ht_write_config() 400 struct pci_controller *hose; in u4_pcie_cfg_map_bus() 452 static void __init init_bandit(struct pci_controller *bp) in init_bandit() 494 struct pci_controller* hose; in init_p2pbridge() [all …]
|
/linux/arch/powerpc/platforms/pasemi/ |
H A D | pci.c | 40 static void volatile __iomem *pa_pxp_cfg_addr(struct pci_controller *hose, in pa_pxp_cfg_addr() 61 struct pci_controller *hose; in workaround_5945() 159 struct pci_controller *hose; in pa_pxp_read_config() 198 struct pci_controller *hose; in pa_pxp_write_config() 235 static void __init setup_pa_pxp(struct pci_controller *hose) in setup_pa_pxp() 243 struct pci_controller *hose; in pas_add_bridge() 289 struct pci_controller *hose; in pasemi_pci_getcfgaddr()
|
/linux/arch/alpha/include/asm/ |
H A D | pci.h | 21 struct pci_controller { struct 22 struct pci_controller *next; argument 59 #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index argument 63 struct pci_controller *hose = bus->sysdata; in pci_proc_domain()
|
/linux/arch/powerpc/kernel/ |
H A D | pci_64.c | 42 struct pci_controller *hose, *tmp; in pcibios_init() 80 struct pci_controller *hose; in pcibios_unmap_io_space() 151 static int pcibios_map_phb_io_space(struct pci_controller *hose) in pcibios_map_phb_io_space() 215 void pcibios_setup_phb_io_space(struct pci_controller *hose) in pcibios_setup_phb_io_space() 229 struct pci_controller* hose; in SYSCALL_DEFINE3() 283 struct pci_controller *phb = pci_bus_to_host(bus); in pcibus_to_node()
|
H A D | pci_32.c | 115 struct pci_controller *hose, *tmp; in pcibios_make_OF_bus_map() 230 void pcibios_setup_phb_io_space(struct pci_controller *hose) in pci_create_OF_bus_map() 243 struct pci_controller *hose, *tmp; 306 static struct pci_controller* 309 struct pci_controller *hose, *tmp; 326 struct pci_controller* hose; in SYSCALL_DEFINE3()
|
/linux/drivers/misc/cxl/ |
H A D | vphb.c | 30 struct pci_controller *phb; in cxl_pci_enable_device_hook() 82 struct pci_controller *phb = bus ? pci_bus_to_host(bus) : NULL; in pci_bus_to_afu() 204 struct pci_controller *phb; in cxl_pci_vphb_add() 270 struct pci_controller *phb; in cxl_pci_vphb_remove() 288 struct pci_controller *phb; in cxl_pci_is_vphb_device() 297 struct pci_controller *phb; in cxl_pci_to_afu()
|
/linux/arch/powerpc/platforms/chrp/ |
H A D | pci.c | 38 struct pci_controller *hose = pci_bus_to_host(bus); in gg2_read_config() 65 struct pci_controller *hose = pci_bus_to_host(bus); in gg2_write_config() 100 struct pci_controller *hose = pci_bus_to_host(bus); in rtas_read_config() 115 struct pci_controller *hose = pci_bus_to_host(bus); in rtas_write_config() 164 setup_python(struct pci_controller *hose, struct device_node *dev) in setup_python() 189 static void __init setup_peg2(struct pci_controller *hose, struct device_node *dev) in setup_peg2() 212 struct pci_controller *hose; in chrp_find_bridges()
|
/linux/arch/powerpc/platforms/embedded6xx/ |
H A D | mpc10x.h | 148 int mpc10x_bridge_init(struct pci_controller *hose, 153 int mpc10x_enable_store_gathering(struct pci_controller *hose); 154 int mpc10x_disable_store_gathering(struct pci_controller *hose);
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | pseries.h | 92 int pseries_msi_allocate_domains(struct pci_controller *phb); 93 void pseries_msi_free_domains(struct pci_controller *phb); 127 struct iommu_group *pSeries_pci_device_group(struct pci_controller *hose,
|