Home
last modified time | relevance | path

Searched refs:mem_space (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v5.10/arch/sparc/kernel/
Dpci_common.c346 rp->start = pbm->mem_space.start + (unsigned long) vdma[0]; in pci_register_iommu_region()
349 if (request_resource(&pbm->mem_space, rp)) { in pci_register_iommu_region()
420 pbm->mem_space.start = a; in pci_determine_mem_io_space()
421 pbm->mem_space.end = a + size - 1UL; in pci_determine_mem_io_space()
422 pbm->mem_space.flags = IORESOURCE_MEM; in pci_determine_mem_io_space()
451 if (pbm->mem_space.flags) in pci_determine_mem_io_space()
453 pbm->name, &pbm->mem_space, pbm->mem_offset); in pci_determine_mem_io_space()
454 if (pbm->mem64_space.flags && pbm->mem_space.flags) { in pci_determine_mem_io_space()
455 if (pbm->mem64_space.start <= pbm->mem_space.end) in pci_determine_mem_io_space()
456 pbm->mem64_space.start = pbm->mem_space.end + 1; in pci_determine_mem_io_space()
[all …]
Dleon_pci_grpci2.c792 memset(&priv->info.mem_space, 0, sizeof(struct resource)); in grpci2_of_probe()
793 priv->info.mem_space.name = "GRPCI2 PCI MEM Space"; in grpci2_of_probe()
794 priv->info.mem_space.start = priv->pci_area; in grpci2_of_probe()
795 priv->info.mem_space.end = priv->pci_area_end - 1; in grpci2_of_probe()
796 priv->info.mem_space.flags = IORESOURCE_MEM; in grpci2_of_probe()
798 if (request_resource(&iomem_resource, &priv->info.mem_space) < 0) in grpci2_of_probe()
878 release_resource(&priv->info.mem_space); in grpci2_of_probe()
Dleon_pci_grpci1.c606 priv->info.mem_space.name = "GRPCI1 PCI MEM Space"; in grpci1_of_probe()
607 priv->info.mem_space.start = priv->pci_area; in grpci1_of_probe()
608 priv->info.mem_space.end = priv->pci_area_end - 1; in grpci1_of_probe()
609 priv->info.mem_space.flags = IORESOURCE_MEM; in grpci1_of_probe()
611 if (request_resource(&iomem_resource, &priv->info.mem_space) < 0) { in grpci1_of_probe()
692 release_resource(&priv->info.mem_space); in grpci1_of_probe()
Dleon_pci.c38 pci_add_resource(&resources, &info->mem_space); in leon_pci_init()
Dpci_impl.h100 struct resource mem_space; member
Dpci.c700 pci_add_resource_offset(&resources, &pbm->mem_space, in pci_scan_one_pbm()
772 space_size = resource_size(&pbm->mem_space); in __pci_mmap_make_offset_bus()
787 vma->vm_pgoff = (pbm->mem_space.start + in __pci_mmap_make_offset_bus()
/Linux-v5.10/arch/alpha/kernel/
Dpci.c148 if (start - hose->mem_space->start < PCIBIOS_MIN_MEM) in pcibios_align_resource()
149 start = PCIBIOS_MIN_MEM + hose->mem_space->start; in pcibios_align_resource()
341 end = hose->mem_space->start + pci_mem_end; in common_init_pci()
342 if (hose->mem_space->end > end) in common_init_pci()
343 hose->mem_space->end = end; in common_init_pci()
348 pci_add_resource_offset(&resources, hose->mem_space, in common_init_pci()
349 hose->mem_space->start); in common_init_pci()
Dcore_tsunami.c258 hose->mem_space = alloc_resource(); in tsunami_init_one_pchip()
279 hose->mem_space->start = TSUNAMI_MEM(index) - TSUNAMI_MEM_BIAS; in tsunami_init_one_pchip()
280 hose->mem_space->end = hose->mem_space->start + 0xffffffff; in tsunami_init_one_pchip()
281 hose->mem_space->name = pci_mem_names[index]; in tsunami_init_one_pchip()
282 hose->mem_space->flags = IORESOURCE_MEM; in tsunami_init_one_pchip()
286 if (request_resource(&iomem_resource, hose->mem_space) < 0) in tsunami_init_one_pchip()
Dcore_marvel.c232 hose->mem_space = alloc_resource(); in io7_init_hose()
252 hose->mem_space->start = (unsigned long)IO7_MEM_KERN(io7->pe, port); in io7_init_hose()
253 hose->mem_space->end = hose->mem_space->start + IO7_MEM_SPACE - 1; in io7_init_hose()
254 hose->mem_space->name = mk_resource_name(io7->pe, port, "MEM"); in io7_init_hose()
255 hose->mem_space->flags = IORESOURCE_MEM; in io7_init_hose()
260 if (request_resource(&iomem_resource, hose->mem_space) < 0) in io7_init_hose()
704 if ((addr >> 32) == (hose->mem_space->start >> 32)) in marvel_ioremap()
713 baddr = addr - hose->mem_space->start; in marvel_ioremap()
776 vaddr = baddr + hose->mem_space->start; in marvel_ioremap()
Dcore_titan.c255 hose->mem_space = alloc_resource(); in titan_init_one_pachip_port()
279 hose->mem_space->start = TITAN_MEM(index) - TITAN_MEM_BIAS; in titan_init_one_pachip_port()
280 hose->mem_space->end = hose->mem_space->start + 0xffffffff; in titan_init_one_pachip_port()
281 hose->mem_space->name = pci_mem_names[index]; in titan_init_one_pachip_port()
282 hose->mem_space->flags = IORESOURCE_MEM; in titan_init_one_pachip_port()
286 if (request_resource(&iomem_resource, hose->mem_space) < 0) in titan_init_one_pachip_port()
472 addr += pci_vga_hose->mem_space->start; in titan_ioremap()
Dcore_wildfire.c70 hose->mem_space = alloc_resource(); in wildfire_init_hose()
86 hose->mem_space->start = WILDFIRE_MEM(qbbno, hoseno)-WILDFIRE_MEM_BIAS; in wildfire_init_hose()
87 hose->mem_space->end = hose->mem_space->start + 0xffffffff; in wildfire_init_hose()
88 hose->mem_space->name = pci_mem_names[hoseno]; in wildfire_init_hose()
89 hose->mem_space->flags = IORESOURCE_MEM; in wildfire_init_hose()
94 if (request_resource(&iomem_resource, hose->mem_space) < 0) in wildfire_init_hose()
Dcore_polaris.c165 hose->mem_space = &iomem_resource; in polaris_init_arch()
Dsys_jensen.c197 hose->mem_space = &iomem_resource; in jensen_init_arch()
Dcore_apecs.c335 hose->mem_space = &iomem_resource; in apecs_init_arch()
Dcore_irongate.c279 hose->mem_space = &iomem_resource; in irongate_init_arch()
Dcore_lca.c260 hose->mem_space = &iomem_resource; in lca_init_arch()
Dcore_cia.c689 hose->mem_space = &iomem_resource; in do_init_arch()
694 hose->mem_space = hae_mem; in do_init_arch()
Dcore_t2.c443 hose->mem_space = hae_mem; in t2_init_arch()
/Linux-v5.10/arch/mips/include/asm/octeon/
Dcvmx-pko.h131 uint64_t mem_space:2; member
163 uint64_t mem_space:2;
331 ptr.s.mem_space = CVMX_IO_SEG; in cvmx_pko_doorbell()
/Linux-v5.10/arch/sparc/include/asm/
Dleon_pci.h15 struct resource mem_space; member
/Linux-v5.10/arch/xtensa/include/asm/
Dpci-bridge.h57 struct pci_space mem_space; member
/Linux-v5.10/arch/alpha/include/asm/
Dpci.h25 struct resource *mem_space; member
Dvga.h70 (a) += pci_vga_hose->mem_space->start; \
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_pm4_headers_diq.h239 enum _WAIT_REG_MEM_mem_space_enum mem_space:2;
/Linux-v5.10/drivers/gpu/drm/
Ddrm_memory.c73 offset -= dev->hose->mem_space->start; in agp_remap()

12