Home
last modified time | relevance | path

Searched refs:io_space (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.3-rc2/arch/ia64/include/asm/
A Dio.h46 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 Deisa.c315 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 Dlba_pci.c739 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 Dconsole.c60 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 Dcore_tsunami.c257 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 Dcore_wildfire.c69 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 Dpci.c137 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 Dcore_titan.c254 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 Dcore_marvel.c231 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 Dpci-sysfs.c330 port += hose->io_space->start; in pci_legacy_read()
354 port += hose->io_space->start; in pci_legacy_write()
A Dcore_polaris.c164 hose->io_space = &ioport_resource; in polaris_init_arch()
A Dsys_jensen.c196 hose->io_space = &ioport_resource; in jensen_init_arch()
/linux-6.3-rc2/arch/xtensa/kernel/
A Dpci.c83 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 Dpci_common.c411 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 Dleon_pci.c36 pci_add_resource_offset(&resources, &info->io_space, in leon_pci_init()
37 info->io_space.start - 0x1000); in leon_pci_init()
A Dleon_pci_grpci2.c782 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 Dleon_pci_grpci1.c597 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 Dpci.c134 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 Dleon_pci.h14 struct resource io_space; member
/linux-6.3-rc2/arch/ia64/kernel/
A Dsetup.c112 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 Dpci-bridge.h56 struct pci_space io_space; member
/linux-6.3-rc2/arch/alpha/include/asm/
A Dpci.h24 struct resource *io_space; member
A Dvga.h65 (a) += pci_vga_hose->io_space->start; \
/linux-6.3-rc2/arch/parisc/include/asm/
A Dpci.h48 struct resource io_space; /* PIOP */ member
/linux-6.3-rc2/arch/m68k/include/asm/
A Doplib.h59 extern char *prom_mapio(char *virt_hint, int io_space, unsigned int phys_addr, unsigned int num_byt…

Completed in 46 milliseconds

12