Home
last modified time | relevance | path

Searched refs:hose (Results 1 – 25 of 105) sorted by relevance

12345

/linux-6.3-rc2/arch/powerpc/sysdev/
A Dfsl_pci.c74 __indirect_read_config(hose, hose->first_busno, 0, in fsl_pcie_check_link()
121 hose->dma_window_base_cur + hose->dma_window_size - 1; in pci_dma_dev_setup_swiotlb()
450 hose->dn); in setup_pci_atmu()
457 hose->dn); in setup_pci_atmu()
558 if (!hose) in fsl_add_bridge()
595 setup_pci_cmd(hose); in fsl_add_bridge()
636 hose->last_busno); in fsl_add_bridge()
639 hose, hose->cfg_addr, hose->cfg_data); in fsl_add_bridge()
646 setup_pci_atmu(hose); in fsl_add_bridge()
867 if (!hose) in mpc83xx_add_bridge()
[all …]
A Dindirect_pci.c27 if (bus_number != hose->first_busno) in __indirect_read_config()
38 if (bus_number != hose->first_busno) in __indirect_read_config()
41 bus_no = (bus_number == hose->first_busno) ? in __indirect_read_config()
42 hose->self_busno : bus_number; in __indirect_read_config()
60 cfg_data = hose->cfg_data + (offset & 3); in __indirect_read_config()
93 if (bus->number != hose->first_busno) in indirect_write_config()
104 if (bus->number != hose->first_busno) in indirect_write_config()
108 hose->self_busno : bus->number; in indirect_write_config()
125 (bus->number == hose->first_busno)) in indirect_write_config()
170 hose->ops = &indirect_pci_ops; in setup_indirect_pci()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/maple/
A Dpci.c124 if (hose == NULL) in u3_agp_read_config()
155 if (hose == NULL) in u3_agp_write_config()
261 if (hose == NULL) in u3_ht_read_config()
299 if (hose == NULL) in u3_ht_write_config()
457 u3_agp = hose; in setup_u3_agp()
486 u3_ht = hose; in setup_u3_ht()
506 if (hose == NULL) in maple_add_bridge()
518 setup_u3_ht(hose); in maple_add_bridge()
527 disp_name, hose->first_busno, hose->last_busno); in maple_add_bridge()
576 if (hose != u3_agp) in maple_pci_root_bridge_prepare()
[all …]
/linux-6.3-rc2/arch/alpha/kernel/
A Dsys_rawhide.c60 unsigned int mask, hose; in rawhide_enable_irq() local
64 hose = irq / 24; in rawhide_enable_irq()
68 irq -= hose * 24; in rawhide_enable_irq()
81 unsigned int mask, hose; in rawhide_disable_irq() local
85 hose = irq / 24; in rawhide_disable_irq()
89 irq -= hose * 24; in rawhide_disable_irq()
106 hose = irq / 24; in rawhide_mask_and_ack_irq()
110 irq -= hose * 24; in rawhide_mask_and_ack_irq()
164 struct pci_controller *hose; in rawhide_init_irq() local
172 for (hose = hose_head; hose; hose = hose->next) { in rawhide_init_irq()
[all …]
A Dpci.c335 for (next_busno = 0, hose = hose_head; hose; hose = hose->next) { in common_init_pci()
336 sg_base = hose->sg_pci ? hose->sg_pci->dma_base : ~0; in common_init_pci()
383 for (hose = hose_head; hose; hose = hose->next) { in common_init_pci()
384 bus = hose->bus; in common_init_pci()
395 hose = memblock_alloc(sizeof(*hose), SMP_CACHE_BYTES); in alloc_pci_controller()
396 if (!hose) in alloc_pci_controller()
398 sizeof(*hose)); in alloc_pci_controller()
400 *hose_tail = hose; in alloc_pci_controller()
403 return hose; in alloc_pci_controller()
430 for(hose = hose_head; hose; hose = hose->next) in SYSCALL_DEFINE3()
[all …]
A Dpci-noop.c36 hose = memblock_alloc(sizeof(*hose), SMP_CACHE_BYTES); in alloc_pci_controller()
37 if (!hose) in alloc_pci_controller()
39 sizeof(*hose)); in alloc_pci_controller()
41 *hose_tail = hose; in alloc_pci_controller()
42 hose_tail = &hose->next; in alloc_pci_controller()
44 return hose; in alloc_pci_controller()
66 for (hose = hose_head; hose; hose = hose->next) in SYSCALL_DEFINE3()
67 if (hose->index == bus) in SYSCALL_DEFINE3()
69 if (!hose) in SYSCALL_DEFINE3()
74 hose = pci_isa_hose; in SYSCALL_DEFINE3()
[all …]
A Dconsole.c41 struct pci_controller *hose = NULL; in locate_and_init_vga() local
49 if (!hose) in locate_and_init_vga()
50 hose = dev->sysdata; in locate_and_init_vga()
52 hose = sel_func(hose, dev->sysdata); in locate_and_init_vga()
56 if (!hose || (conswitchp == &vga_con && pci_vga_hose == hose)) in locate_and_init_vga()
65 pci_vga_hose = hose; in locate_and_init_vga()
77 struct pci_controller *hose; in find_console_vga_hose() local
84 for (hose = hose_head; hose; hose = hose->next) { in find_console_vga_hose()
85 if (hose->index == h) break; in find_console_vga_hose()
88 if (hose) { in find_console_vga_hose()
[all …]
A Dcore_mcpcia.c297 pci_isa_hose = hose; in mcpcia_new_hose()
302 hose->io_space = io; in mcpcia_new_hose()
303 hose->mem_space = hae_mem; in mcpcia_new_hose()
307 hose->dense_io_base = 0; in mcpcia_new_hose()
309 hose->index = h; in mcpcia_new_hose()
367 hose->sg_isa = iommu_arena_new(hose, 0x00800000, 0x00800000, in mcpcia_startup_hose()
369 hose->sg_pci = iommu_arena_new(hose, 0x40000000, in mcpcia_startup_hose()
440 for (hose = hose_head; hose; hose = hose->next) in mcpcia_init_hoses()
441 mcpcia_startup_hose(hose); in mcpcia_init_hoses()
551 for (hose = hose_head; hose; hose = hose->next, iodpp++) { in mcpcia_print_system_area()
[all …]
A Dcore_marvel.c228 io7_port->hose = hose; in io7_init_hose()
238 hose->sparse_mem_base = hose->sparse_io_base = 0; in io7_init_hose()
403 hose = io7->ports[port].hose; in marvel_find_console_vga_hose()
405 if (hose) { in marvel_find_console_vga_hose()
517 if (!hose) in mk_conf_addr()
701 for (hose = hose_head; hose; hose = hose->next) { in marvel_ioremap()
705 if (!hose) in marvel_ioremap()
1035 hose = NULL; in marvel_agp_info()
1047 hose = h; in marvel_agp_info()
1052 if (!hose || !hose->sg_pci) in marvel_agp_info()
[all …]
A Dcore_titan.c266 hose->dense_mem_base in titan_init_one_pachip_port()
268 hose->dense_io_base in titan_init_one_pachip_port()
275 hose->io_space->end = hose->io_space->start + TITAN_IO_SPACE - 1; in titan_init_one_pachip_port()
280 hose->mem_space->end = hose->mem_space->start + 0xffffffff; in titan_init_one_pachip_port()
318 hose->sg_isa = iommu_arena_new(hose, 0x00800000, 0x00800000, in titan_init_one_pachip_port()
322 hose->sg_pci = iommu_arena_new(hose, 0xc0000000, 0x40000000, in titan_init_one_pachip_port()
479 for (hose = hose_head; hose; hose = hose->next) in titan_ioremap()
482 if (!hose) in titan_ioremap()
753 for (hose = hose_head; hose; hose = hose->next) in titan_agp_info()
757 if (!hose || !hose->sg_pci) in titan_agp_info()
[all …]
A Dcore_tsunami.c249 struct pci_controller *hose; in tsunami_init_one_pchip() local
256 pci_isa_hose = hose; in tsunami_init_one_pchip()
264 hose->sparse_mem_base = 0; in tsunami_init_one_pchip()
265 hose->sparse_io_base = 0; in tsunami_init_one_pchip()
266 hose->dense_mem_base in tsunami_init_one_pchip()
268 hose->dense_io_base in tsunami_init_one_pchip()
272 hose->index = index; in tsunami_init_one_pchip()
275 hose->io_space->end = hose->io_space->start + TSUNAMI_IO_SPACE - 1; in tsunami_init_one_pchip()
280 hose->mem_space->end = hose->mem_space->start + 0xffffffff; in tsunami_init_one_pchip()
322 hose->sg_isa = iommu_arena_new(hose, 0x00800000, 0x00800000, in tsunami_init_one_pchip()
[all …]
A Dpci-sysfs.c25 base = sparse ? hose->sparse_mem_base : hose->dense_mem_base; in hose_mmap_page_range()
27 base = sparse ? hose->sparse_io_base : hose->dense_io_base; in hose_mmap_page_range()
150 dense_offset = (long)(hose->dense_mem_base - hose->sparse_mem_base); in sparse_mem_mmap_fits()
186 dense_base = hose->dense_mem_base; in pci_create_attr()
193 sparse_base = hose->sparse_io_base; in pci_create_attr()
194 dense_base = hose->dense_io_base; in pci_create_attr()
271 hose->index, size); in __legacy_mmap_fits()
281 hose->sparse_io_base; in has_sparse()
312 if (!has_sparse(hose, mmap_type)) in pci_adjust_legacy_attr()
330 port += hose->io_space->start; in pci_legacy_read()
[all …]
/linux-6.3-rc2/arch/sh/drivers/pci/
A Dpci.c46 res = hose->resources + i; in pcibios_scanbus()
51 offset = hose->io_offset; in pcibios_scanbus()
59 bridge->sysdata = hose; in pcibios_scanbus()
71 hose->bus = bridge->bus; in pcibios_scanbus()
115 *hose_tail = hose; in register_pci_controller()
116 hose_tail = &hose->next; in register_pci_controller()
121 if (!hose->io_map_base) { in register_pci_controller()
136 pcibios_scanbus(hose); in register_pci_controller()
155 for (hose = hose_head; hose; hose = hose->next) in pcibios_init()
156 pcibios_scanbus(hose); in pcibios_init()
[all …]
A Dcommon.c18 dev.sysdata = hose; in fake_pci_dev()
21 bus.sysdata = hose; in fake_pci_dev()
22 bus.ops = hose->pci_ops; in fake_pci_dev()
90 struct pci_channel *hose = from_timer(hose, t, err_timer); in pcibios_enable_err() local
92 del_timer(&hose->err_timer); in pcibios_enable_err()
94 enable_irq(hose->err_irq); in pcibios_enable_err()
99 struct pci_channel *hose = from_timer(hose, t, serr_timer); in pcibios_enable_serr() local
103 enable_irq(hose->serr_irq); in pcibios_enable_serr()
108 if (hose->err_irq) { in pcibios_enable_timers()
112 if (hose->serr_irq) { in pcibios_enable_timers()
[all …]
A Dpci-sh7780.c94 struct pci_channel *hose = dev_id; in sh7780_pci_err_irq() local
147 struct pci_channel *hose = dev_id; in sh7780_pci_serr_irq() local
158 hose->serr_timer.expires = jiffies + HZ; in sh7780_pci_serr_irq()
159 add_timer(&hose->serr_timer); in sh7780_pci_serr_irq()
169 __raw_writel(0, hose->reg_base + SH4_PCIAINT); in sh7780_pci_setup_irqs()
180 "PCI SERR interrupt", hose); in sh7780_pci_setup_irqs()
193 "PCI ERR interrupt", hose); in sh7780_pci_setup_irqs()
195 free_irq(hose->serr_irq, hose); in sh7780_pci_setup_irqs()
217 free_irq(hose->err_irq, hose); in sh7780_pci_teardown_irqs()
218 free_irq(hose->serr_irq, hose); in sh7780_pci_teardown_irqs()
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/
A Dpci_64.c58 pcibios_scan_phb(hose); in pcibios_init()
65 pci_bus_add_devices(hose->bus); in pcibios_init()
80 struct pci_controller *hose; in pcibios_unmap_io_space() local
110 hose = pci_bus_to_host(bus); in pcibios_unmap_io_space()
115 iounmap(hose->io_base_alloc); in pcibios_unmap_io_space()
161 hose->io_base_alloc = NULL; in pcibios_map_phb_io_space()
164 if (hose->pci_io_size == 0 || hose->io_base_phys == 0) in pcibios_map_phb_io_space()
174 if (!hose->io_base_alloc) in pcibios_map_phb_io_space()
176 hose->io_base_virt = hose->io_base_alloc + in pcibios_map_phb_io_space()
181 hose->io_base_phys, hose->io_base_virt, hose->io_base_alloc); in pcibios_map_phb_io_space()
[all …]
A Dpci-common.c358 return hose; in pci_find_hose_for_OF_device()
370 return hose; in pci_find_controller_for_domain()
509 if (!hose) in pci_iobar_pfn()
885 if (!hose) { in pcibios_fixup_resources()
967 hose->mem_resources[i].start == hose->mem_offset[i]) in pcibios_uninitialized_bridge_resource()
1542 hose->dn, hose->global_number); in pcibios_setup_phb_resources()
1610 bus.ops = hose? hose->ops: &null_pci_ops; in fake_pci_bus()
1661 hose->busn.start = hose->first_busno; in pcibios_scan_phb()
1662 hose->busn.end = hose->last_busno; in pcibios_scan_phb()
1667 bus = pci_create_root_bus(hose->parent, hose->first_busno, in pcibios_scan_phb()
[all …]
A Dpci_32.c115 struct pci_controller *hose, *tmp; in pcibios_make_OF_bus_map() local
269 hose->first_busno = next_busno; in pcibios_init()
271 hose->last_busno = 0xff; in pcibios_init()
272 pcibios_scan_phb(hose); in pcibios_init()
273 pci_bus_add_devices(hose->bus); in pcibios_init()
315 if (bus >= hose->first_busno && bus <= hose->last_busno) in pci_bus_to_hose()
316 return hose; in pci_bus_to_hose()
329 struct pci_controller* hose; in SYSCALL_DEFINE3() local
332 hose = pci_bus_to_hose(bus); in SYSCALL_DEFINE3()
333 if (!hose) in SYSCALL_DEFINE3()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/powermac/
A Dpci.c143 if (hose == NULL) in macrisc_cfg_map_bus()
291 if (hose == NULL) in u3_ht_read_config()
407 if (!hose) in u4_pcie_cfg_map_bus()
511 if (!hose) { in init_p2pbridge()
542 if (!hose) { in init_second_ohare()
590 if (!hose) in fixup_nec_usb2()
642 u3_agp = hose; in setup_u3_agp()
689 hose->mem_resources[cur].name = hose->dn->full_name; in parse_region_decode()
794 if (!hose) in pmac_add_bridge()
845 hose, hose->cfg_addr, hose->cfg_data); in pmac_add_bridge()
[all …]
/linux-6.3-rc2/arch/mips/pci/
A Dpci-legacy.c89 hose->mem_resource, hose->mem_offset); in pcibios_scanbus()
91 hose->io_resource, hose->io_offset); in pcibios_scanbus()
94 bridge->sysdata = hose; in pcibios_scanbus()
96 bridge->ops = hose->pci_ops; in pcibios_scanbus()
142 hose->of_node = node; in pci_load_of_ranges()
152 hose->io_map_base = in pci_load_of_ranges()
155 res = hose->io_resource; in pci_load_of_ranges()
158 res = hose->mem_resource; in pci_load_of_ranges()
207 if (!hose->io_map_base) { in register_pci_controller()
218 pcibios_scanbus(hose); in register_pci_controller()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/pasemi/
A Dpci.c61 struct pci_controller *hose; in workaround_5945() local
69 hose = pci_bus_to_host(bus); in workaround_5945()
159 struct pci_controller *hose; in pa_pxp_read_config() local
162 hose = pci_bus_to_host(bus); in pa_pxp_read_config()
163 if (!hose) in pa_pxp_read_config()
202 if (!hose) in pa_pxp_write_config()
237 hose->ops = &pa_pxp_ops; in setup_pa_pxp()
248 if (!hose) in pas_add_bridge()
251 hose->first_busno = 0; in pas_add_bridge()
252 hose->last_busno = 0xff; in pas_add_bridge()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/52xx/
A Dmpc52xx_pci.c118 out_be32(hose->cfg_addr, in mpc52xx_pci_read_config()
158 out_be32(hose->cfg_addr, 0); in mpc52xx_pci_read_config()
175 out_be32(hose->cfg_addr, in mpc52xx_pci_write_config()
222 out_be32(hose->cfg_addr, 0); in mpc52xx_pci_write_config()
251 hose->cfg_data = hose->io_base_virt; in mpc52xx_pci_setup()
259 res = &hose->mem_resources[0]; in mpc52xx_pci_setup()
286 res = &hose->io_resource; in mpc52xx_pci_setup()
292 res, &hose->io_base_phys); in mpc52xx_pci_setup()
360 struct pci_controller *hose; in mpc52xx_add_bridge() local
389 if (!hose) in mpc52xx_add_bridge()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/4xx/
A Dpci.c312 early_write_config_dword(hose, hose->first_busno, 0, in ppc4xx_configure_pci_PTMs()
314 early_write_config_dword(hose, hose->first_busno, 0, in ppc4xx_configure_pci_PTMs()
316 early_write_config_word(hose, hose->first_busno, 0, in ppc4xx_configure_pci_PTMs()
366 if (!hose) in ppc4xx_probe_pci_bridge()
400 if (hose) in ppc4xx_probe_pci_bridge()
612 if (hose) in ppc4xx_probe_pcix_bridge()
1611 BUG_ON(hose != port->hose); in ppc4xx_pciex_read_config()
1952 hose->last_busno = hose->first_busno + busses; in ppc4xx_pciex_port_setup_hose()
1982 hose->first_busno, hose->last_busno); in ppc4xx_pciex_port_setup_hose()
1984 hose->cfg_addr, hose->cfg_data); in ppc4xx_pciex_port_setup_hose()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/chrp/
A Dpci.c196 hose->ops = &rtas_pci_ops; in setup_peg2()
212 struct pci_controller *hose; in chrp_find_bridges() local
259 if (!hose) { in chrp_find_bridges()
264 hose->first_busno = hose->self_busno = bus_range[0]; in chrp_find_bridges()
271 setup_python(hose, dev); in chrp_find_bridges()
274 setup_grackle(hose); in chrp_find_bridges()
277 hose->ops = &gg2_pci_ops; in chrp_find_bridges()
278 hose->cfg_data = p; in chrp_find_bridges()
283 setup_peg2(hose, dev); in chrp_find_bridges()
285 setup_indirect_pci(hose, in chrp_find_bridges()
[all …]
/linux-6.3-rc2/arch/sh/include/asm/
A Dpci.h41 extern int register_pci_controller(struct pci_channel *hose);
45 extern int early_read_config_byte(struct pci_channel *hose, int top_bus,
47 extern int early_read_config_word(struct pci_channel *hose, int top_bus,
49 extern int early_read_config_dword(struct pci_channel *hose, int top_bus,
51 extern int early_write_config_byte(struct pci_channel *hose, int top_bus,
53 extern int early_write_config_word(struct pci_channel *hose, int top_bus,
57 extern void pcibios_enable_timers(struct pci_channel *hose);
59 unsigned int status, struct pci_channel *hose);
60 extern int pci_is_66mhz_capable(struct pci_channel *hose,
87 struct pci_channel *hose = bus->sysdata; in pci_proc_domain() local
[all …]

Completed in 56 milliseconds

12345