Home
last modified time | relevance | path

Searched refs:io_resource (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.1.9/arch/mips/pci/
Dpci-legacy.c55 if (start < PCIBIOS_MIN_IO + hose->io_resource->start) in pcibios_align_resource()
56 start = PCIBIOS_MIN_IO + hose->io_resource->start; in pcibios_align_resource()
91 hose->io_resource, hose->io_offset); in pcibios_scanbus()
155 res = hose->io_resource; in pci_load_of_ranges()
192 parent = hose->io_resource->parent; in register_pci_controller()
196 if (request_resource(parent, hose->io_resource) < 0) { in register_pci_controller()
Dpci-malta.c61 .io_resource = &bonito64_io_resource,
68 .io_resource = &gt64120_io_resource,
74 .io_resource = &msc_io_resource,
233 if (controller->io_resource->start < 0x00001000UL) in mips_pcibios_init()
234 controller->io_resource->start = 0x00001000UL; in mips_pcibios_init()
237 ioport_resource.end = controller->io_resource->end; in mips_pcibios_init()
Dpci-bcm63xx.c47 .io_resource = &bcm_pci_io_resource,
73 .io_resource = &bcm_cb_io_resource,
94 .io_resource = &bcm_pcie_io_resource,
Dops-tx4927.c247 __raw_writel((channel->io_resource->end - channel->io_resource->start) in tx4927_pcic_setup()
250 ____raw_writeq((channel->io_resource->start + in tx4927_pcic_setup()
258 ____raw_writeq(channel->io_resource->start - channel->io_offset, in tx4927_pcic_setup()
311 if (channel->io_resource->end) in tx4927_pcic_setup()
Dpcie-octeon.c1801 .io_resource = &octeon_pcie0_io_resource,
1822 .io_resource = &octeon_pcie1_io_resource,
1843 .io_resource = &octeon_dummy_io_resource,
1955 octeon_pcie0_controller.io_resource->start = 4 << 10; in octeon_pcie_setup()
1956 octeon_pcie0_controller.io_resource->end = in octeon_pcie_setup()
2037 octeon_pcie1_controller.io_resource->start = in octeon_pcie_setup()
2040 octeon_pcie1_controller.io_resource->end = in octeon_pcie_setup()
2041 octeon_pcie1_controller.io_resource->start + in octeon_pcie_setup()
Dpci-ip32.c118 .io_resource = &mace_pci_io_resource,
Dpci-bcm1480ht.c178 .io_resource = &bcm1480ht_io_resource,
Dpci-sb1250.c193 .io_resource = &sb1250_io_resource,
Dpci-bcm1480.c184 .io_resource = &bcm1480_io_resource,
/linux-6.1.9/arch/mips/txx9/generic/
Dpci.c94 .io_resource = &primary_pci_io_res,
129 new->c.io_resource = &new->r_io; in txx9_alloc_pci_controller()
133 pcic->io_resource->flags = IORESOURCE_IO; in txx9_alloc_pci_controller()
197 pcic->io_resource->start = 0; in txx9_alloc_pci_controller()
202 pcic->io_resource->start = in txx9_alloc_pci_controller()
207 pcic->io_resource->end = pcic->io_resource->start + io_size - 1; in txx9_alloc_pci_controller()
/linux-6.1.9/drivers/ssb/
Ddriver_gige.c183 dev->pci_controller.io_resource = &dev->io_resource; in ssb_gige_probe()
189 dev->io_resource.name = SSB_GIGE_IO_RES_NAME; in ssb_gige_probe()
190 dev->io_resource.start = 0x800; in ssb_gige_probe()
191 dev->io_resource.end = 0x8FF; in ssb_gige_probe()
192 dev->io_resource.flags = IORESOURCE_IO | IORESOURCE_PCI_FIXED; in ssb_gige_probe()
/linux-6.1.9/drivers/bcma/
Ddriver_pci_host.c411 pc_host->pci_controller.io_resource = &pc_host->io_resource; in bcma_core_pci_hostmode_init()
427 pc_host->io_resource.name = "BCMA PCIcore external I/O"; in bcma_core_pci_hostmode_init()
428 pc_host->io_resource.start = 0x100; in bcma_core_pci_hostmode_init()
429 pc_host->io_resource.end = 0x7FF; in bcma_core_pci_hostmode_init()
430 pc_host->io_resource.flags = IORESOURCE_IO | IORESOURCE_PCI_FIXED; in bcma_core_pci_hostmode_init()
460 pc_host->io_resource.start = 0x100; in bcma_core_pci_hostmode_init()
461 pc_host->io_resource.end = 0x47F; in bcma_core_pci_hostmode_init()
469 pc_host->io_resource.start = 0x480; in bcma_core_pci_hostmode_init()
470 pc_host->io_resource.end = 0x7FF; in bcma_core_pci_hostmode_init()
/linux-6.1.9/arch/powerpc/kernel/
Dpci_64.c187 hose->io_resource.start += io_virt_offset; in pcibios_map_phb_io_space()
188 hose->io_resource.end += io_virt_offset; in pcibios_map_phb_io_space()
190 pr_debug(" hose->io_resource=%pR\n", &hose->io_resource); in pcibios_map_phb_io_space()
Dpci-common.c288 return resource_size(&hose->io_resource); in pcibios_io_size()
573 struct resource *rp = &hose->io_resource; in pci_legacy_read()
613 struct resource *rp = &hose->io_resource; in pci_legacy_write()
690 rp = &hose->io_resource; in pci_mmap_legacy_page_range()
816 res = &hose->io_resource; in pci_process_bridge_OF_ranges()
1368 if (!(hose->io_resource.flags & IORESOURCE_IO)) in pcibios_reserve_legacy_regions()
1378 if (request_resource(&hose->io_resource, res)) { in pcibios_reserve_legacy_regions()
1537 res = &hose->io_resource; in pcibios_setup_phb_resources()
/linux-6.1.9/arch/microblaze/pci/
Dpci-common.c80 return resource_size(&hose->io_resource); in pcibios_io_size()
173 struct resource *rp = &hose->io_resource; in pci_legacy_read()
213 struct resource *rp = &hose->io_resource; in pci_legacy_write()
292 rp = &hose->io_resource; in pci_mmap_legacy_page_range()
426 res = &hose->io_resource; in pci_process_bridge_OF_ranges()
775 if (!(hose->io_resource.flags & IORESOURCE_IO)) in pcibios_reserve_legacy_regions()
785 if (request_resource(&hose->io_resource, res)) { in pcibios_reserve_legacy_regions()
853 res = &hose->io_resource; in pcibios_setup_phb_resources()
/linux-6.1.9/arch/mips/cobalt/
Dpci.c36 .io_resource = &cobalt_io_resource,
/linux-6.1.9/arch/mips/loongson2ef/common/
Dpci.c27 .io_resource = &loongson_pci_io_resource,
/linux-6.1.9/arch/xtensa/include/asm/
Dpci-bridge.h49 struct resource io_resource; member
/linux-6.1.9/arch/powerpc/sysdev/
Dfsl_pci.c271 if (hose->io_resource.flags & IORESOURCE_IO) { in setup_pci_atmu()
277 (u64)hose->io_resource.start, in setup_pci_atmu()
278 (u64)resource_size(&hose->io_resource), in setup_pci_atmu()
280 out_be32(&pci->pow[j].potar, (hose->io_resource.start >> 12)); in setup_pci_atmu()
285 | (ilog2(hose->io_resource.end in setup_pci_atmu()
286 - hose->io_resource.start + 1) - 1)); in setup_pci_atmu()
510 par = &hose->io_resource; in fsl_pcibios_fixup_bus()
/linux-6.1.9/arch/mips/include/asm/
Dpci.h38 struct resource *io_resource; member
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dpci_dlpar.c69 res = &phb->io_resource; in remove_phb_dynamic()
/linux-6.1.9/arch/microblaze/include/asm/
Dpci-bridge.h86 struct resource io_resource; member
/linux-6.1.9/include/linux/ssb/
Dssb_driver_gige.h51 struct resource io_resource; member
/linux-6.1.9/arch/powerpc/platforms/powermac/
Dpci.c731 hose->io_resource.name = np->full_name; in setup_u3_ht()
732 hose->io_resource.start = 0; in setup_u3_ht()
733 hose->io_resource.end = 0x003fffff; in setup_u3_ht()
734 hose->io_resource.flags = IORESOURCE_IO; in setup_u3_ht()
/linux-6.1.9/include/linux/bcma/
Dbcma_driver_pci.h221 struct resource io_resource; member

12