Home
last modified time | relevance | path

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

12

/arch/mips/mti-malta/
Dmalta-pci.c73 .io_resource = &bonito64_io_resource,
80 .io_resource = &gt64120_io_resource,
86 .io_resource = &msc_io_resource,
251 if (controller->io_resource->start < 0x00002000UL) in mips_pcibios_init()
252 controller->io_resource->start = 0x00002000UL; in mips_pcibios_init()
255 ioport_resource.end = controller->io_resource->end; in mips_pcibios_init()
/arch/mips/pci/
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.c62 if (start < PCIBIOS_MIN_IO + hose->io_resource->start) in pcibios_align_resource()
63 start = PCIBIOS_MIN_IO + hose->io_resource->start; in pcibios_align_resource()
94 pci_add_resource_offset(&resources, hose->io_resource, hose->io_offset); in pcibios_scanbus()
150 res = hose->io_resource; in pci_load_of_ranges()
193 parent = hose->io_resource->parent; in register_pci_controller()
197 if (request_resource(parent, hose->io_resource) < 0) { in register_pci_controller()
Dpci-vr41xx.c102 .io_resource = &pci_io_resource,
295 if (setup->io_resource != NULL) { in vr41xx_pciu_init()
296 vr41xx_pci_controller.io_resource = setup->io_resource; in vr41xx_pciu_init()
305 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,
Dpci-emma2rh.c51 .io_resource = &pci_io_resource,
Dpci-lasat.c35 .io_resource = &lasat_pci_io_resource,
Dops-tx4927.c250 __raw_writel((channel->io_resource->end - channel->io_resource->start) in tx4927_pcic_setup()
253 ____raw_writeq((channel->io_resource->start + in tx4927_pcic_setup()
261 ____raw_writeq(channel->io_resource->start - channel->io_offset, in tx4927_pcic_setup()
314 if (channel->io_resource->end) in tx4927_pcic_setup()
Dpci-ip32.c118 .io_resource = &mace_pci_io_resource,
Dpci-bcm1480ht.c191 .io_resource = &bcm1480ht_io_resource,
Dpcie-octeon.c1812 .io_resource = &octeon_pcie0_io_resource,
1833 .io_resource = &octeon_pcie1_io_resource,
1854 .io_resource = &octeon_dummy_io_resource,
1966 octeon_pcie0_controller.io_resource->start = 4 << 10; in octeon_pcie_setup()
1967 octeon_pcie0_controller.io_resource->end = in octeon_pcie_setup()
2048 octeon_pcie1_controller.io_resource->start = in octeon_pcie_setup()
2051 octeon_pcie1_controller.io_resource->end = in octeon_pcie_setup()
2052 octeon_pcie1_controller.io_resource->start + in octeon_pcie_setup()
Dpci-bcm1480.c196 .io_resource = &bcm1480_io_resource,
Dpci-sb1250.c206 .io_resource = &sb1250_io_resource,
/arch/mips/txx9/generic/
Dpci.c99 .io_resource = &primary_pci_io_res,
134 new->c.io_resource = &new->r_io; in txx9_alloc_pci_controller()
138 pcic->io_resource->flags = IORESOURCE_IO; in txx9_alloc_pci_controller()
202 pcic->io_resource->start = 0; in txx9_alloc_pci_controller()
207 pcic->io_resource->start = in txx9_alloc_pci_controller()
212 pcic->io_resource->end = pcic->io_resource->start + io_size - 1; in txx9_alloc_pci_controller()
/arch/powerpc/kernel/
Dpci_64.c168 hose->io_resource.start += io_virt_offset; in pcibios_map_phb_io_space()
169 hose->io_resource.end += io_virt_offset; in pcibios_map_phb_io_space()
171 pr_debug(" hose->io_resource=%pR\n", &hose->io_resource); in pcibios_map_phb_io_space()
Dpci-common.c128 return resource_size(&hose->io_resource); in pcibios_io_size()
471 struct resource *rp = &hose->io_resource; in pci_legacy_read()
511 struct resource *rp = &hose->io_resource; in pci_legacy_write()
588 rp = &hose->io_resource; in pci_mmap_legacy_page_range()
751 res = &hose->io_resource; in pci_process_bridge_OF_ranges()
1338 if (!(hose->io_resource.flags & IORESOURCE_IO)) in pcibios_reserve_legacy_regions()
1348 if (request_resource(&hose->io_resource, res)) { in pcibios_reserve_legacy_regions()
1499 res = &hose->io_resource; in pcibios_setup_phb_resources()
/arch/mips/cobalt/
Dpci.c36 .io_resource = &cobalt_io_resource,
/arch/mips/wrppmc/
Dpci.c35 .io_resource = &pci0_io_resource,
/arch/mips/loongson/common/
Dpci.c31 .io_resource = &loongson_pci_io_resource,
/arch/mips/include/asm/vr41xx/
Dpci.h85 struct resource *io_resource; member
/arch/xtensa/include/asm/
Dpci-bridge.h51 struct resource io_resource; member
/arch/mips/include/asm/
Dpci.h35 struct resource *io_resource; member
/arch/powerpc/sysdev/
Dfsl_pci.c215 if (hose->io_resource.flags & IORESOURCE_IO) { in setup_pci_atmu()
221 (u64)hose->io_resource.start, in setup_pci_atmu()
222 (u64)resource_size(&hose->io_resource), in setup_pci_atmu()
224 out_be32(&pci->pow[j].potar, (hose->io_resource.start >> 12)); in setup_pci_atmu()
229 | (ilog2(hose->io_resource.end in setup_pci_atmu()
230 - hose->io_resource.start + 1) - 1)); in setup_pci_atmu()
439 par = &hose->io_resource; in fsl_pcibios_fixup_bus()
/arch/microblaze/include/asm/
Dpci-bridge.h89 struct resource io_resource; member
/arch/microblaze/pci/
Dpci-common.c95 return resource_size(&hose->io_resource); in pcibios_io_size()
448 struct resource *rp = &hose->io_resource; in pci_legacy_read()
488 struct resource *rp = &hose->io_resource; in pci_legacy_write()
569 rp = &hose->io_resource; in pci_mmap_legacy_page_range()
745 res = &hose->io_resource; in pci_process_bridge_OF_ranges()
1268 if (!(hose->io_resource.flags & IORESOURCE_IO)) in pcibios_reserve_legacy_regions()
1278 if (request_resource(&hose->io_resource, res)) { in pcibios_reserve_legacy_regions()
1409 res = &hose->io_resource; in pcibios_setup_phb_resources()

12