Home
last modified time | relevance | path

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

123

/Linux-v5.4/arch/mips/pci/
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-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()
160 res = hose->io_resource; in pci_load_of_ranges()
195 parent = hose->io_resource->parent; in register_pci_controller()
199 if (request_resource(parent, hose->io_resource) < 0) { in register_pci_controller()
Dops-tx3927.c134 channel->io_resource->start + mips_io_port_base - IO_BASE; in tx3927_pcic_setup()
136 channel->io_resource->end - channel->io_resource->start; in tx3927_pcic_setup()
138 channel->io_resource->start - channel->io_offset; in tx3927_pcic_setup()
Dpci-vr41xx.c89 .io_resource = &pci_io_resource,
282 if (setup->io_resource != NULL) { in vr41xx_pciu_init()
283 vr41xx_pci_controller.io_resource = setup->io_resource; in vr41xx_pciu_init()
292 struct resource *res = vr41xx_pci_controller.io_resource; in vr41xx_pciu_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()
Dpci-lasat.c35 .io_resource = &lasat_pci_io_resource,
Dpci-emma2rh.c38 .io_resource = &pci_io_resource,
Dpci-virtio-guest.c117 .io_resource = &pci_virtio_guest_io_resource,
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,
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/arch/powerpc/kernel/
Dpci_64.c169 hose->io_resource.start += io_virt_offset; in pcibios_map_phb_io_space()
170 hose->io_resource.end += io_virt_offset; in pcibios_map_phb_io_space()
172 pr_debug(" hose->io_resource=%pR\n", &hose->io_resource); in pcibios_map_phb_io_space()
Dpci-common.c275 return resource_size(&hose->io_resource); in pcibios_io_size()
486 struct resource *rp = &hose->io_resource; in pci_legacy_read()
526 struct resource *rp = &hose->io_resource; in pci_legacy_write()
603 rp = &hose->io_resource; in pci_mmap_legacy_page_range()
729 res = &hose->io_resource; in pci_process_bridge_OF_ranges()
1308 if (!(hose->io_resource.flags & IORESOURCE_IO)) in pcibios_reserve_legacy_regions()
1318 if (request_resource(&hose->io_resource, res)) { in pcibios_reserve_legacy_regions()
1483 res = &hose->io_resource; in pcibios_setup_phb_resources()
/Linux-v5.4/arch/microblaze/pci/
Dpci-common.c80 return resource_size(&hose->io_resource); in pcibios_io_size()
222 struct resource *rp = &hose->io_resource; in pci_legacy_read()
262 struct resource *rp = &hose->io_resource; in pci_legacy_write()
343 rp = &hose->io_resource; in pci_mmap_legacy_page_range()
481 res = &hose->io_resource; in pci_process_bridge_OF_ranges()
831 if (!(hose->io_resource.flags & IORESOURCE_IO)) in pcibios_reserve_legacy_regions()
841 if (request_resource(&hose->io_resource, res)) { in pcibios_reserve_legacy_regions()
909 res = &hose->io_resource; in pcibios_setup_phb_resources()
/Linux-v5.4/arch/mips/cobalt/
Dpci.c36 .io_resource = &cobalt_io_resource,
/Linux-v5.4/arch/mips/include/asm/vr41xx/
Dpci.h72 struct resource *io_resource; member
/Linux-v5.4/arch/mips/loongson64/common/
Dpci.c28 .io_resource = &loongson_pci_io_resource,
/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_pci.c265 if (hose->io_resource.flags & IORESOURCE_IO) { in setup_pci_atmu()
271 (u64)hose->io_resource.start, in setup_pci_atmu()
272 (u64)resource_size(&hose->io_resource), in setup_pci_atmu()
274 out_be32(&pci->pow[j].potar, (hose->io_resource.start >> 12)); in setup_pci_atmu()
279 | (ilog2(hose->io_resource.end in setup_pci_atmu()
280 - hose->io_resource.start + 1) - 1)); in setup_pci_atmu()
504 par = &hose->io_resource; in fsl_pcibios_fixup_bus()
/Linux-v5.4/arch/xtensa/include/asm/
Dpci-bridge.h49 struct resource io_resource; member
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dpci_dlpar.c82 res = &phb->io_resource; in remove_phb_dynamic()
/Linux-v5.4/arch/mips/include/asm/
Dpci.h38 struct resource *io_resource; member
/Linux-v5.4/arch/microblaze/include/asm/
Dpci-bridge.h86 struct resource io_resource; member

123