/linux-6.3-rc2/arch/ia64/include/asm/ |
A D | io.h | 46 struct io_space { struct 51 extern struct io_space io_space[]; argument 106 struct io_space *space; in __ia64_mk_io_addr() 109 space = &io_space[IO_SPACE_NR(port)]; in __ia64_mk_io_addr()
|
/linux-6.3-rc2/drivers/parisc/ |
A D | eisa.c | 315 eisa_dev.hba.io_space.name = "EISA"; in eisa_probe() 316 eisa_dev.hba.io_space.start = 0; in eisa_probe() 317 eisa_dev.hba.io_space.end = 0xffff; in eisa_probe() 319 result = request_resource(&ioport_resource, &eisa_dev.hba.io_space); in eisa_probe() 359 result = eisa_enumerator(eisa_dev.eeprom_addr, &eisa_dev.hba.io_space, in eisa_probe() 368 eisa_dev.root.res = &eisa_dev.hba.io_space; in eisa_probe() 385 release_resource(&eisa_dev.hba.io_space); in eisa_probe()
|
A D | lba_pci.c | 739 ldev->hba.io_space.name, in lba_fixup_bus() 740 ldev->hba.io_space.start, ldev->hba.io_space.end, in lba_fixup_bus() 741 ldev->hba.io_space.flags); in lba_fixup_bus() 747 err = request_resource(&ioport_resource, &(ldev->hba.io_space)); in lba_fixup_bus() 1141 r = &lba_dev->hba.io_space; in lba_pat_resources() 1327 r = &(lba_dev->hba.io_space); in lba_legacy_resources() 1610 pci_add_resource_offset(&resources, &lba_dev->hba.io_space, in lba_driver_probe() 1649 lba_dump_res(&lba_dev->hba.io_space, 2); in lba_driver_probe()
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | console.c | 60 alpha_vga.start += hose->io_space->start; in locate_and_init_vga() 61 alpha_vga.end += hose->io_space->start; in locate_and_init_vga() 62 request_resource(hose->io_space, &alpha_vga); in locate_and_init_vga()
|
A D | core_tsunami.c | 257 hose->io_space = alloc_resource(); in tsunami_init_one_pchip() 274 hose->io_space->start = TSUNAMI_IO(index) - TSUNAMI_IO_BIAS; in tsunami_init_one_pchip() 275 hose->io_space->end = hose->io_space->start + TSUNAMI_IO_SPACE - 1; in tsunami_init_one_pchip() 276 hose->io_space->name = pci_io_names[index]; in tsunami_init_one_pchip() 277 hose->io_space->flags = IORESOURCE_IO; in tsunami_init_one_pchip() 284 if (request_resource(&ioport_resource, hose->io_space) < 0) in tsunami_init_one_pchip()
|
A D | core_wildfire.c | 69 hose->io_space = alloc_resource(); in wildfire_init_hose() 81 hose->io_space->start = WILDFIRE_IO(qbbno, hoseno) - WILDFIRE_IO_BIAS; in wildfire_init_hose() 82 hose->io_space->end = hose->io_space->start + WILDFIRE_IO_SPACE - 1; in wildfire_init_hose() 83 hose->io_space->name = pci_io_names[hoseno]; in wildfire_init_hose() 84 hose->io_space->flags = IORESOURCE_IO; in wildfire_init_hose() 91 if (request_resource(&ioport_resource, hose->io_space) < 0) in wildfire_init_hose()
|
A D | pci.c | 137 if (start - hose->io_space->start < PCIBIOS_MIN_IO) in pcibios_align_resource() 138 start = PCIBIOS_MIN_IO + hose->io_space->start; in pcibios_align_resource() 346 pci_add_resource_offset(&resources, hose->io_space, in common_init_pci() 347 hose->io_space->start); in common_init_pci()
|
A D | core_titan.c | 254 hose->io_space = alloc_resource(); in titan_init_one_pachip_port() 274 hose->io_space->start = TITAN_IO(index) - TITAN_IO_BIAS; 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() 276 hose->io_space->name = pci_io_names[index]; in titan_init_one_pachip_port() 277 hose->io_space->flags = IORESOURCE_IO; in titan_init_one_pachip_port() 284 if (request_resource(&ioport_resource, hose->io_space) < 0) in titan_init_one_pachip_port()
|
A D | core_marvel.c | 231 hose->io_space = alloc_resource(); in io7_init_hose() 247 hose->io_space->start = (unsigned long)IO7_IO_KERN(io7->pe, port); in io7_init_hose() 248 hose->io_space->end = hose->io_space->start + IO7_IO_SPACE - 1; in io7_init_hose() 249 hose->io_space->name = mk_resource_name(io7->pe, port, "IO"); in io7_init_hose() 250 hose->io_space->flags = IORESOURCE_IO; in io7_init_hose() 257 if (request_resource(&ioport_resource, hose->io_space) < 0) in io7_init_hose()
|
A D | pci-sysfs.c | 330 port += hose->io_space->start; in pci_legacy_read() 354 port += hose->io_space->start; in pci_legacy_write()
|
A D | core_polaris.c | 164 hose->io_space = &ioport_resource; in polaris_init_arch()
|
A D | sys_jensen.c | 196 hose->io_space = &ioport_resource; in jensen_init_arch()
|
/linux-6.3-rc2/arch/xtensa/kernel/ |
A D | pci.c | 83 ioaddr -= (unsigned long)pci_ctrl->io_space.base; in pci_iobar_pfn() 85 vma->vm_pgoff += (ioaddr + pci_ctrl->io_space.start) >> PAGE_SHIFT; in pci_iobar_pfn()
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | pci_common.c | 411 pbm->io_space.start = a; in pci_determine_mem_io_space() 412 pbm->io_space.end = a + size - 1UL; in pci_determine_mem_io_space() 413 pbm->io_space.flags = IORESOURCE_IO; in pci_determine_mem_io_space() 448 if (pbm->io_space.flags) in pci_determine_mem_io_space() 450 pbm->name, &pbm->io_space, pbm->io_offset); in pci_determine_mem_io_space() 465 pbm->io_space.name = pbm->mem_space.name = pbm->name; in pci_determine_mem_io_space() 468 request_resource(&ioport_resource, &pbm->io_space); in pci_determine_mem_io_space()
|
A D | leon_pci.c | 36 pci_add_resource_offset(&resources, &info->io_space, in leon_pci_init() 37 info->io_space.start - 0x1000); in leon_pci_init()
|
A D | leon_pci_grpci2.c | 782 memset(&priv->info.io_space, 0, sizeof(struct resource)); in grpci2_of_probe() 783 priv->info.io_space.name = "GRPCI2 PCI I/O Space"; in grpci2_of_probe() 784 priv->info.io_space.start = priv->pci_io_va + 0x1000; in grpci2_of_probe() 785 priv->info.io_space.end = priv->pci_io_va + 0x10000 - 1; in grpci2_of_probe() 786 priv->info.io_space.flags = IORESOURCE_IO; in grpci2_of_probe() 800 if (request_resource(&ioport_resource, &priv->info.io_space) < 0) in grpci2_of_probe() 876 release_resource(&priv->info.io_space); in grpci2_of_probe()
|
A D | leon_pci_grpci1.c | 597 priv->info.io_space.name = "GRPCI1 PCI I/O Space"; in grpci1_of_probe() 598 priv->info.io_space.start = priv->pci_io_va + 0x1000; in grpci1_of_probe() 599 priv->info.io_space.end = priv->pci_io_va + 0x10000 - 1; in grpci1_of_probe() 600 priv->info.io_space.flags = IORESOURCE_IO; in grpci1_of_probe() 617 if (request_resource(&ioport_resource, &priv->info.io_space) < 0) { in grpci1_of_probe() 690 release_resource(&priv->info.io_space); in grpci1_of_probe()
|
/linux-6.3-rc2/arch/ia64/pci/ |
A D | pci.c | 134 if (io_space[i].mmio_base == mmio_base && in new_space() 135 io_space[i].sparse == sparse) in new_space() 145 io_space[i].mmio_base = mmio_base; in new_space() 146 io_space[i].sparse = sparse; in new_space() 177 base = __pa(io_space[space_nr].mmio_base); in add_io_space()
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | leon_pci.h | 14 struct resource io_space; member
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | setup.c | 112 struct io_space io_space[MAX_IO_SPACES]; variable 113 EXPORT_SYMBOL(io_space); 473 io_space[0].mmio_base = ia64_iobase; in io_port_init() 474 io_space[0].sparse = 1; in io_port_init()
|
/linux-6.3-rc2/arch/xtensa/include/asm/ |
A D | pci-bridge.h | 56 struct pci_space io_space; member
|
/linux-6.3-rc2/arch/alpha/include/asm/ |
A D | pci.h | 24 struct resource *io_space; member
|
A D | vga.h | 65 (a) += pci_vga_hose->io_space->start; \
|
/linux-6.3-rc2/arch/parisc/include/asm/ |
A D | pci.h | 48 struct resource io_space; /* PIOP */ member
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | oplib.h | 59 extern char *prom_mapio(char *virt_hint, int io_space, unsigned int phys_addr, unsigned int num_byt…
|