/linux/arch/microblaze/include/asm/ |
A D | pci-bridge.h | 26 struct pci_controller { struct 108 extern int early_read_config_byte(struct pci_controller *hose, int bus, 110 extern int early_read_config_word(struct pci_controller *hose, int bus, 112 extern int early_read_config_dword(struct pci_controller *hose, int bus, 114 extern int early_write_config_byte(struct pci_controller *hose, int bus, 116 extern int early_write_config_word(struct pci_controller *hose, int bus, 121 extern int early_find_capability(struct pci_controller *hose, int bus, 124 extern void setup_indirect_pci(struct pci_controller *hose, 129 extern struct pci_controller *pci_find_hose_for_OF_device( 133 extern void pci_process_bridge_OF_ranges(struct pci_controller *hose, [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | pci-bridge.h | 46 void (*shutdown)(struct pci_controller *hose); 52 struct pci_controller { struct 138 extern int early_read_config_byte(struct pci_controller *hose, int bus, argument 140 extern int early_read_config_word(struct pci_controller *hose, int bus, 151 extern int early_find_capability(struct pci_controller *hose, int bus, 154 extern void setup_indirect_pci(struct pci_controller* hose, 161 extern int __indirect_read_config(struct pci_controller *hose, 199 struct pci_controller *phb; /* for pci devices */ 278 extern struct pci_controller *pci_find_hose_for_OF_device( 284 extern void pci_process_bridge_OF_ranges(struct pci_controller *hose, [all …]
|
A D | pci.h | 96 extern struct pci_controller *init_phb_dynamic(struct device_node *dn); 97 extern int remove_phb_dynamic(struct pci_controller *phb); 115 extern resource_size_t pcibios_io_space_offset(struct pci_controller *hose); 117 extern void pcibios_setup_phb_io_space(struct pci_controller *hose); 118 extern void pcibios_scan_phb(struct pci_controller *hose);
|
/linux/arch/xtensa/include/asm/ |
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 78 int early_read_config_byte(struct pci_controller*, int, int, int, u8*); argument 79 int early_read_config_word(struct pci_controller*, int, int, int, u16*); 80 int early_read_config_dword(struct pci_controller*, int, int, int, u32*); 81 int early_write_config_byte(struct pci_controller*, int, int, int, u8); 82 int early_write_config_word(struct pci_controller*, int, int, int, u16); 83 int early_write_config_dword(struct pci_controller*, int, int, int, u32);
|
/linux/arch/mips/include/asm/ |
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/ |
A D | proto.h | 16 struct pci_controller; 23 extern void apecs_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 32 extern void cia_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 44 extern void lca_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 51 extern void marvel_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 62 extern void mcpcia_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 77 extern void t2_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 84 extern void titan_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 92 extern void tsunami_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t); 99 extern void wildfire_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
|
A D | pci_impl.h | 10 struct pci_controller; 136 struct pci_controller *hose; 167 extern struct pci_controller *hose_head, **hose_tail; 168 extern struct pci_controller *pci_isa_hose; 174 extern struct pci_controller *alloc_pci_controller(void); 178 struct pci_controller *, 181 extern struct pci_iommu_arena *iommu_arena_new(struct pci_controller *,
|
A D | console.c | 21 struct pci_controller *pci_vga_hose; 29 static struct pci_controller * __init 30 default_vga_hose_select(struct pci_controller *h1, struct pci_controller *h2) in default_vga_hose_select() 41 struct pci_controller *hose = NULL; in locate_and_init_vga() 77 struct pci_controller *hose; in find_console_vga_hose()
|
A D | pci-noop.c | 27 struct pci_controller *hose_head, **hose_tail = &hose_head; 28 struct pci_controller *pci_isa_hose; 31 struct pci_controller * __init 34 struct pci_controller *hose; in alloc_pci_controller() 62 struct pci_controller *hose; in SYSCALL_DEFINE3()
|
A D | pci-sysfs.c | 18 static int hose_mmap_page_range(struct pci_controller *hose, in hose_mmap_page_range() 140 struct pci_controller *hose = pdev->sysdata; in sparse_mem_mmap_fits() 178 struct pci_controller *hose = pdev->sysdata; in pci_create_attr() 256 static int __legacy_mmap_fits(struct pci_controller *hose, in __legacy_mmap_fits() 275 static inline int has_sparse(struct pci_controller *hose, in has_sparse() 289 struct pci_controller *hose = bus->sysdata; in pci_mmap_legacy_page_range() 310 struct pci_controller *hose = bus->sysdata; in pci_adjust_legacy_attr() 328 struct pci_controller *hose = bus->sysdata; in pci_legacy_read() 352 struct pci_controller *hose = bus->sysdata; in pci_legacy_write()
|
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 …]
|
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() 324 struct pci_controller *hose; in common_init_pci() 390 struct pci_controller * __init 393 struct pci_controller *hose; in alloc_pci_controller() 425 struct pci_controller *hose; in SYSCALL_DEFINE3()
|
/linux/arch/powerpc/kernel/ |
A D | pci-common.c | 111 struct pci_controller *phb; in pcibios_alloc_controller() 179 struct pci_controller *phb = (struct pci_controller *) in pcibios_free_controller_deferred() 197 struct pci_controller *phb = pci_bus_to_host(bus); in pcibios_window_alignment() 212 struct pci_controller *hose = pci_bus_to_host(bus); in pcibios_setup_bridge() 277 struct pci_controller *hose; in pcibios_vaddr_is_ioport() 295 struct pci_controller *hose; in pci_address_to_pio() 337 struct pci_controller *hose, *tmp; in pci_find_hose_for_OF_device() 348 struct pci_controller *hose; in pci_find_controller_for_domain() 1018 struct pci_controller *phb; in pcibios_setup_bus_self() 1038 struct pci_controller *phb; in pcibios_bus_add_device() [all …]
|
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()
|
/linux/arch/powerpc/platforms/maple/ |
A D | pci.c | 33 static struct pci_controller *u3_agp, *u3_ht, *u4_pcie; 120 struct pci_controller *hose; in u3_agp_read_config() 151 struct pci_controller *hose; in u3_agp_write_config() 257 struct pci_controller *hose; in u3_ht_read_config() 295 struct pci_controller *hose; in u3_ht_write_config() 374 struct pci_controller *hose; in u4_pcie_read_config() 405 struct pci_controller *hose; in u4_pcie_write_config() 440 static void __init setup_u3_agp(struct pci_controller* hose) in setup_u3_agp() 472 static void __init setup_u3_ht(struct pci_controller* hose) in setup_u3_ht() 492 struct pci_controller *hose; in maple_add_bridge() [all …]
|
/linux/arch/mips/pci/ |
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() 441 rpc->pci_controller.of_node = child; in rt3883_pci_probe() 446 if (!rpc->pci_controller.of_node) { in rt3883_pci_probe() 488 rpc->pci_controller.pci_ops = &rt3883_pci_ops; in rt3883_pci_probe() 489 rpc->pci_controller.io_resource = &rpc->io_res; in rt3883_pci_probe() 493 pci_load_of_ranges(&rpc->pci_controller, in rt3883_pci_probe() 494 rpc->pci_controller.of_node); in rt3883_pci_probe() 545 register_pci_controller(&rpc->pci_controller); in rt3883_pci_probe() [all …]
|
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()
|
/linux/arch/microblaze/pci/ |
A D | pci-common.c | 54 struct pci_controller *phb; in pcibios_alloc_controller() 68 void pcibios_free_controller(struct pci_controller *phb) in pcibios_free_controller() 86 struct pci_controller *hose; in pcibios_vaddr_is_ioport() 104 struct pci_controller *hose; in pci_address_to_pio() 135 struct pci_controller *hose, *tmp; in pci_find_hose_for_OF_device() 221 struct pci_controller *hose = pci_bus_to_host(bus); in pci_legacy_read() 261 struct pci_controller *hose = pci_bus_to_host(bus); in pci_legacy_write() 307 struct pci_controller *hose = pci_bus_to_host(bus); in pci_mmap_legacy_page_range() 982 struct pci_controller *hose, *tmp; in pcibios_init() 1010 struct pci_controller *hose, *tmp; in pci_bus_to_hose() [all …]
|
A D | xilinx_pci.c | 40 struct pci_controller *hose; in xilinx_pci_fixup_bridge() 75 xilinx_pci_exclude_device(struct pci_controller *hose, u_char bus, u8 devfn) in xilinx_pci_exclude_device() 85 static void __init xilinx_early_pci_scan(struct pci_controller *hose) in xilinx_early_pci_scan() 114 static void __init xilinx_early_pci_scan(struct pci_controller *hose) in xilinx_early_pci_scan() 124 struct pci_controller *hose; in xilinx_pci_init()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | pci-cxl.c | 14 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_phb_to_cxl_mode() 40 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_alloc_hwirqs() 55 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_release_hwirqs() 65 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_release_hwirq_ranges() 85 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_alloc_hwirq_ranges() 121 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_get_irq_count() 131 struct pci_controller *hose = pci_bus_to_host(dev->bus); in pnv_cxl_ioda_msi_setup()
|
/linux/arch/mips/include/asm/txx9/ |
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/powerpc/sysdev/ |
A D | fsl_pci.c | 93 struct pci_controller *hose = pci_bus_to_host(bus); in fsl_indirect_read_config() 481 struct pci_controller *hose = pci_bus_to_host(bus); in fsl_pcibios_fixup_bus() 519 struct pci_controller *hose; in fsl_add_bridge() 680 struct pci_controller *hose = pci_bus_to_host(bus); in mpc83xx_pcie_exclude_device() 706 struct pci_controller *hose = pci_bus_to_host(bus); in mpc83xx_pcie_remap_cfg() 734 struct pci_controller *hose = pci_bus_to_host(bus); in mpc83xx_pcie_write_config() 799 struct pci_controller *hose; in mpc83xx_add_bridge() 1033 struct pci_controller *hose; in is_in_pci_mem_space() 1144 struct pci_controller *hose = dev_id; in fsl_pci_pme_handle() 1237 struct pci_controller *hose, *tmp; in fsl_pci_syscore_suspend() [all …]
|
/linux/arch/powerpc/platforms/powermac/ |
A D | pci.c | 40 static struct pci_controller *u3_agp; 139 struct pci_controller *hose; in macrisc_cfg_map_bus() 228 static int u3_ht_skip_device(struct pci_controller *hose, in u3_ht_skip_device() 285 struct pci_controller *hose; in u3_ht_read_config() 336 struct pci_controller *hose; in u3_ht_write_config() 399 struct pci_controller *hose; in u4_pcie_cfg_map_bus() 451 static void __init init_bandit(struct pci_controller *bp) in init_bandit() 493 struct pci_controller* hose; in init_p2pbridge() 539 struct pci_controller* hose = in init_second_ohare() 566 struct pci_controller *hose; in fixup_nec_usb2() [all …]
|
/linux/arch/powerpc/platforms/pasemi/ |
A D | pci.c | 39 static void volatile __iomem *pa_pxp_cfg_addr(struct pci_controller *hose, in pa_pxp_cfg_addr() 60 struct pci_controller *hose; in workaround_5945() 158 struct pci_controller *hose; in pa_pxp_read_config() 197 struct pci_controller *hose; in pa_pxp_write_config() 234 static void __init setup_pa_pxp(struct pci_controller *hose) in setup_pa_pxp() 242 struct pci_controller *hose; in pas_add_bridge() 292 struct pci_controller *hose; in pasemi_pci_getcfgaddr()
|
/linux/arch/alpha/include/asm/ |
A D | pci.h | 21 struct pci_controller { struct 22 struct pci_controller *next; argument 65 #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index argument 69 struct pci_controller *hose = bus->sysdata; in pci_proc_domain()
|