/linux-6.6.21/arch/ia64/include/asm/ |
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.6.21/drivers/parisc/ |
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()
|
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() 1323 r = &(lba_dev->hba.io_space); in lba_legacy_resources() 1607 pci_add_resource_offset(&resources, &lba_dev->hba.io_space, in lba_driver_probe() 1646 lba_dump_res(&lba_dev->hba.io_space, 2); in lba_driver_probe()
|
/linux-6.6.21/arch/alpha/kernel/ |
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()
|
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()
|
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()
|
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() 345 pci_add_resource_offset(&resources, hose->io_space, in common_init_pci() 346 hose->io_space->start); in common_init_pci()
|
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()
|
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()
|
D | pci-sysfs.c | 330 port += hose->io_space->start; in pci_legacy_read() 354 port += hose->io_space->start; in pci_legacy_write()
|
D | core_polaris.c | 164 hose->io_space = &ioport_resource; in polaris_init_arch()
|
D | sys_jensen.c | 196 hose->io_space = &ioport_resource; in jensen_init_arch()
|
/linux-6.6.21/arch/xtensa/kernel/ |
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.6.21/arch/sparc/kernel/ |
D | pci_common.c | 412 pbm->io_space.start = a; in pci_determine_mem_io_space() 413 pbm->io_space.end = a + size - 1UL; in pci_determine_mem_io_space() 414 pbm->io_space.flags = IORESOURCE_IO; in pci_determine_mem_io_space() 449 if (pbm->io_space.flags) in pci_determine_mem_io_space() 451 pbm->name, &pbm->io_space, pbm->io_offset); in pci_determine_mem_io_space() 466 pbm->io_space.name = pbm->mem_space.name = pbm->name; in pci_determine_mem_io_space() 469 request_resource(&ioport_resource, &pbm->io_space); in pci_determine_mem_io_space()
|
D | leon_pci.c | 37 pci_add_resource_offset(&resources, &info->io_space, in leon_pci_init() 38 info->io_space.start - 0x1000); in leon_pci_init()
|
D | leon_pci_grpci2.c | 784 memset(&priv->info.io_space, 0, sizeof(struct resource)); in grpci2_of_probe() 785 priv->info.io_space.name = "GRPCI2 PCI I/O Space"; in grpci2_of_probe() 786 priv->info.io_space.start = priv->pci_io_va + 0x1000; in grpci2_of_probe() 787 priv->info.io_space.end = priv->pci_io_va + 0x10000 - 1; in grpci2_of_probe() 788 priv->info.io_space.flags = IORESOURCE_IO; in grpci2_of_probe() 802 if (request_resource(&ioport_resource, &priv->info.io_space) < 0) in grpci2_of_probe() 878 release_resource(&priv->info.io_space); in grpci2_of_probe()
|
D | leon_pci_grpci1.c | 598 priv->info.io_space.name = "GRPCI1 PCI I/O Space"; in grpci1_of_probe() 599 priv->info.io_space.start = priv->pci_io_va + 0x1000; in grpci1_of_probe() 600 priv->info.io_space.end = priv->pci_io_va + 0x10000 - 1; in grpci1_of_probe() 601 priv->info.io_space.flags = IORESOURCE_IO; in grpci1_of_probe() 618 if (request_resource(&ioport_resource, &priv->info.io_space) < 0) { in grpci1_of_probe() 691 release_resource(&priv->info.io_space); in grpci1_of_probe()
|
/linux-6.6.21/arch/ia64/pci/ |
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.6.21/arch/sparc/include/asm/ |
D | leon_pci.h | 14 struct resource io_space; member
|
/linux-6.6.21/arch/ia64/kernel/ |
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.6.21/arch/xtensa/include/asm/ |
D | pci-bridge.h | 56 struct pci_space io_space; member
|
/linux-6.6.21/arch/alpha/include/asm/ |
D | pci.h | 24 struct resource *io_space; member
|
D | vga.h | 65 (a) += pci_vga_hose->io_space->start; \
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | pci.h | 48 struct resource io_space; /* PIOP */ member
|
/linux-6.6.21/arch/m68k/include/asm/ |
D | oplib.h | 59 extern char *prom_mapio(char *virt_hint, int io_space, unsigned int phys_addr, unsigned int num_byt…
|