/linux-6.3-rc2/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, 205 struct pci_controller *phb; /* for pci devices */ 274 extern struct pci_controller *pci_find_hose_for_OF_device( 280 extern void pci_process_bridge_OF_ranges(struct pci_controller *hose, [all …]
|
A D | pci.h | 94 extern struct pci_controller *init_phb_dynamic(struct device_node *dn); 95 extern int remove_phb_dynamic(struct pci_controller *phb); 113 extern resource_size_t pcibios_io_space_offset(struct pci_controller *hose); 115 extern void pcibios_setup_phb_io_space(struct pci_controller *hose); 116 extern void pcibios_scan_phb(struct pci_controller *hose);
|
/linux-6.3-rc2/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-6.3-rc2/arch/alpha/kernel/ |
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 | 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 | 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-6.3-rc2/arch/powerpc/kernel/ |
A D | pci-common.c | 126 struct pci_controller *phb; in pcibios_alloc_controller() 197 struct pci_controller *phb = (struct pci_controller *) in pcibios_free_controller_deferred() 215 struct pci_controller *phb = pci_bus_to_host(bus); in pcibios_window_alignment() 230 struct pci_controller *hose = pci_bus_to_host(bus); in pcibios_setup_bridge() 295 struct pci_controller *hose; in pcibios_vaddr_is_ioport() 313 struct pci_controller *hose; in pci_address_to_pio() 355 struct pci_controller *hose, *tmp; in pci_find_hose_for_OF_device() 366 struct pci_controller *hose; in pci_find_controller_for_domain() 1036 struct pci_controller *phb; in pcibios_setup_bus_self() 1056 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()
|
A D | pci_32.c | 115 struct pci_controller *hose, *tmp; in pcibios_make_OF_bus_map() 233 void pcibios_setup_phb_io_space(struct pci_controller *hose) in pcibios_setup_phb_io_space() 246 struct pci_controller *hose, *tmp; in pcibios_init() 309 static struct pci_controller* 312 struct pci_controller *hose, *tmp; in pci_bus_to_hose() 329 struct pci_controller* hose; in SYSCALL_DEFINE3()
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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() 437 rpc->pci_controller.of_node = child; in rt3883_pci_probe() 442 if (!rpc->pci_controller.of_node) { 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() 489 pci_load_of_ranges(&rpc->pci_controller, in rt3883_pci_probe() 490 rpc->pci_controller.of_node); in rt3883_pci_probe() 541 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()
|
A D | pci-legacy.c | 50 struct pci_controller *hose = dev->sysdata; in pcibios_align_resource() 72 static void pcibios_scanbus(struct pci_controller *hose) in pcibios_scanbus() 137 void pci_load_of_ranges(struct pci_controller *hose, struct device_node *node) in pci_load_of_ranges() 173 struct pci_controller *hose = bus->sysdata; in pcibios_get_phb_of_node() 181 void register_pci_controller(struct pci_controller *hose) in register_pci_controller() 231 struct pci_controller *hose; in pcibios_init()
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
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-6.3-rc2/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
|
/linux-6.3-rc2/arch/powerpc/platforms/pasemi/ |
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() 287 struct pci_controller *hose; in pasemi_pci_getcfgaddr()
|
/linux-6.3-rc2/arch/alpha/include/asm/ |
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-6.3-rc2/arch/powerpc/platforms/powermac/ |
A D | pci.c | 41 static struct pci_controller *u3_agp; 140 struct pci_controller *hose; in macrisc_cfg_map_bus() 229 static int u3_ht_skip_device(struct pci_controller *hose, in u3_ht_skip_device() 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() 540 struct pci_controller* hose = in init_second_ohare() 567 struct pci_controller *hose; in fixup_nec_usb2() [all …]
|
/linux-6.3-rc2/arch/powerpc/sysdev/ |
A D | fsl_pci.c | 95 struct pci_controller *hose = pci_bus_to_host(bus); in fsl_indirect_read_config() 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() 720 struct pci_controller *hose = pci_bus_to_host(bus); in mpc83xx_pcie_remap_cfg() 748 struct pci_controller *hose = pci_bus_to_host(bus); in mpc83xx_pcie_write_config() 813 struct pci_controller *hose; in mpc83xx_add_bridge() 1047 struct pci_controller *hose; in is_in_pci_mem_space() 1170 struct pci_controller *hose = dev_id; in fsl_pci_pme_handle() 1263 struct pci_controller *hose, *tmp; in fsl_pci_syscore_suspend() [all …]
|
/linux-6.3-rc2/drivers/misc/cxl/ |
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()
|