Home
last modified time | relevance | path

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

12

/linux/arch/mips/pci/
H A 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()
H A 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()
H A Dpci-bcm63xx.c47 .io_resource = &bcm_pci_io_resource,
73 .io_resource = &bcm_cb_io_resource,
94 .io_resource = &bcm_pcie_io_resource,
H A Dops-tx4927.c251 __raw_writel((channel->io_resource->end - channel->io_resource->start) in tx4927_pcic_setup()
254 ____raw_writeq((channel->io_resource->start + in tx4927_pcic_setup()
262 ____raw_writeq(channel->io_resource->start - channel->io_offset, in tx4927_pcic_setup()
315 if (channel->io_resource->end) in tx4927_pcic_setup()
H A Dpcie-octeon.c1807 .io_resource = &octeon_pcie0_io_resource,
1828 .io_resource = &octeon_pcie1_io_resource,
1849 .io_resource = &octeon_dummy_io_resource,
1961 octeon_pcie0_controller.io_resource->start = 4 << 10; in octeon_pcie_setup()
1962 octeon_pcie0_controller.io_resource->end = in octeon_pcie_setup()
2043 octeon_pcie1_controller.io_resource->start = in octeon_pcie_setup()
2046 octeon_pcie1_controller.io_resource->end = in octeon_pcie_setup()
2047 octeon_pcie1_controller.io_resource->start + in octeon_pcie_setup()
H A Dpci-ip32.c118 .io_resource = &mace_pci_io_resource,
H A Dpci-bcm1480ht.c178 .io_resource = &bcm1480ht_io_resource,
H A Dpci-bcm1480.c184 .io_resource = &bcm1480_io_resource,
H A Dpci-sb1250.c193 .io_resource = &sb1250_io_resource,
/linux/drivers/ssb/
H A 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/drivers/bcma/
H A 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/arch/mips/txx9/generic/
H A Dpci.c95 .io_resource = &primary_pci_io_res,
130 new->c.io_resource = &new->r_io; in txx9_alloc_pci_controller()
134 pcic->io_resource->flags = IORESOURCE_IO; in txx9_alloc_pci_controller()
198 pcic->io_resource->start = 0; in txx9_alloc_pci_controller()
203 pcic->io_resource->start = in txx9_alloc_pci_controller()
208 pcic->io_resource->end = pcic->io_resource->start + io_size - 1; in txx9_alloc_pci_controller()
/linux/arch/powerpc/kernel/
H A 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()
H A Dpci-common.c288 return resource_size(&hose->io_resource); in pcibios_io_size()
572 struct resource *rp = &hose->io_resource; in pci_legacy_read()
612 struct resource *rp = &hose->io_resource; in pci_legacy_write()
689 rp = &hose->io_resource; in pci_mmap_legacy_page_range()
815 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()
1536 res = &hose->io_resource; in pcibios_setup_phb_resources()
/linux/arch/microblaze/include/asm/
H A Dpci-bridge.h35 struct resource io_resource; member
/linux/arch/mips/cobalt/
H A Dpci.c36 .io_resource = &cobalt_io_resource,
/linux/arch/mips/loongson2ef/common/
H A Dpci.c27 .io_resource = &loongson_pci_io_resource,
/linux/arch/microblaze/pci/
H A Diomap.c22 return resource_size(&hose->io_resource); in pcibios_io_size()
/linux/arch/xtensa/include/asm/
H A Dpci-bridge.h49 struct resource io_resource; member
/linux/arch/powerpc/sysdev/
H A 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/arch/mips/include/asm/
H A Dpci.h38 struct resource *io_resource; member
/linux/arch/powerpc/platforms/pseries/
H A Dpci_dlpar.c85 res = &phb->io_resource; in remove_phb_dynamic()
/linux/include/linux/ssb/
H A Dssb_driver_gige.h51 struct resource io_resource; member
/linux/arch/powerpc/platforms/powermac/
H A 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/include/linux/bcma/
H A Dbcma_driver_pci.h221 struct resource io_resource; member

12