Home
last modified time | relevance | path

Searched refs:pci_controller (Results 1 – 25 of 146) sorted by relevance

123456

/linux-6.6.21/arch/powerpc/include/asm/
Dpci-bridge.h47 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 …]
Dppc-pci.h31 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);
Dpci.h95 extern struct pci_controller *init_phb_dynamic(struct device_node *dn);
96 extern int remove_phb_dynamic(struct pci_controller *phb);
114 extern resource_size_t pcibios_io_space_offset(struct pci_controller *hose);
116 extern void pcibios_setup_phb_io_space(struct pci_controller *hose);
117 extern void pcibios_scan_phb(struct pci_controller *hose);
/linux-6.6.21/arch/mips/include/asm/
Dpci.h30 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.6.21/arch/alpha/kernel/
Dpci_impl.h10 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 *,
Dproto.h16 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);
Dconsole.c21 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()
Dpci-noop.c27 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()
Dpci-sysfs.c18 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()
Dcore_mcpcia.c88 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 …]
Dpci.c57 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()
424 struct pci_controller *hose; in SYSCALL_DEFINE3()
/linux-6.6.21/arch/powerpc/kernel/
Dpci-common.c124 struct pci_controller *pcibios_alloc_controller(struct device_node *dev) in pcibios_alloc_controller()
126 struct pci_controller *phb; in pcibios_alloc_controller()
128 phb = kzalloc(sizeof(struct pci_controller), GFP_KERNEL); in pcibios_alloc_controller()
154 void pcibios_free_controller(struct pci_controller *phb) in pcibios_free_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()
238 struct pci_controller *phb = pci_bus_to_host(dev->bus); in pcibios_reset_secondary_bus()
283 static resource_size_t pcibios_io_size(const struct pci_controller *hose) in pcibios_io_size()
295 struct pci_controller *hose; in pcibios_vaddr_is_ioport()
[all …]
Dpci_64.c42 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-6.6.21/arch/powerpc/platforms/maple/
Dpci.c33 static struct pci_controller *u3_agp, *u3_ht, *u4_pcie;
96 static volatile void __iomem *u3_agp_cfg_access(struct pci_controller* hose, in u3_agp_cfg_access()
120 struct pci_controller *hose; in u3_agp_read_config()
151 struct pci_controller *hose; in u3_agp_write_config()
195 static volatile void __iomem *u3_ht_cfg_access(struct pci_controller* hose, in u3_ht_cfg_access()
206 static int u3_ht_root_read_config(struct pci_controller *hose, u8 offset, in u3_ht_root_read_config()
229 static int u3_ht_root_write_config(struct pci_controller *hose, u8 offset, in u3_ht_root_write_config()
257 struct pci_controller *hose; in u3_ht_read_config()
295 struct pci_controller *hose; in u3_ht_write_config()
352 static volatile void __iomem *u4_pcie_cfg_access(struct pci_controller* hose, in u4_pcie_cfg_access()
[all …]
/linux-6.6.21/arch/mips/include/asm/txx9/
Dpci.h11 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.6.21/arch/mips/pci/
Dpci-rt3883.c65 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 …]
Dpci-ar724x.c51 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()
Dpci-legacy.c50 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.6.21/arch/powerpc/platforms/powernv/
Dpci-cxl.c15 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.6.21/arch/xtensa/include/asm/
Dpci-bridge.h15 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.6.21/arch/powerpc/platforms/pasemi/
Dpci.c40 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.6.21/arch/alpha/include/asm/
Dpci.h21 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.6.21/arch/powerpc/platforms/powermac/
Dpci.c41 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-6.6.21/arch/powerpc/sysdev/
Dfsl_pci.c68 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-6.6.21/drivers/misc/cxl/
Dvphb.c30 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()

123456