Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/arch/microblaze/include/asm/
Dpci-bridge.h26 struct pci_controller { struct
92 static inline struct pci_controller *pci_bus_to_host(const struct pci_bus *bus) in pci_bus_to_host() argument
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,
118 extern int early_write_config_dword(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,
[all …]
/linux-6.1.9/arch/powerpc/include/asm/
Dpci-bridge.h46 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,
142 extern int early_read_config_dword(struct pci_controller *hose, int bus,
144 extern int early_write_config_byte(struct pci_controller *hose, int bus,
146 extern int early_write_config_word(struct pci_controller *hose, int bus,
148 extern int early_write_config_dword(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,
[all …]
Dpci.h94 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.1.9/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.1.9/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()
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.1.9/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 = zalloc_maybe_bootmem(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.1.9/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.1.9/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.1.9/arch/microblaze/pci/
Dpci-common.c52 struct pci_controller *pcibios_alloc_controller(struct device_node *dev) in pcibios_alloc_controller()
54 struct pci_controller *phb; in pcibios_alloc_controller()
56 phb = zalloc_maybe_bootmem(sizeof(struct pci_controller), GFP_KERNEL); in pcibios_alloc_controller()
68 void pcibios_free_controller(struct pci_controller *phb) in pcibios_free_controller()
78 static resource_size_t pcibios_io_size(const struct pci_controller *hose) in pcibios_io_size()
86 struct pci_controller *hose; in pcibios_vaddr_is_ioport()
104 struct pci_controller *hose; in pci_address_to_pio()
132 struct pci_controller *pci_find_hose_for_OF_device(struct device_node *node) in pci_find_hose_for_OF_device()
135 struct pci_controller *hose, *tmp; in pci_find_hose_for_OF_device()
155 struct pci_controller *hose = pci_bus_to_host(pdev->bus); in pci_iobar_pfn()
[all …]
Dxilinx_pci.c40 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-6.1.9/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()
439 rpc->pci_controller.of_node = child; in rt3883_pci_probe()
444 if (!rpc->pci_controller.of_node) { in rt3883_pci_probe()
452 for_each_available_child_of_node(rpc->pci_controller.of_node, child) { in rt3883_pci_probe()
486 rpc->pci_controller.pci_ops = &rt3883_pci_ops; in rt3883_pci_probe()
487 rpc->pci_controller.io_resource = &rpc->io_res; in rt3883_pci_probe()
488 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()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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 …]

1234567