Home
last modified time | relevance | path

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

12

/Linux-v6.6/arch/sparc/kernel/
Dpci_common.c347 rp->start = pbm->mem_space.start + (unsigned long) vdma[0]; in pci_register_iommu_region()
350 if (request_resource(&pbm->mem_space, rp)) { in pci_register_iommu_region()
421 pbm->mem_space.start = a; in pci_determine_mem_io_space()
422 pbm->mem_space.end = a + size - 1UL; in pci_determine_mem_io_space()
423 pbm->mem_space.flags = IORESOURCE_MEM; in pci_determine_mem_io_space()
452 if (pbm->mem_space.flags) in pci_determine_mem_io_space()
454 pbm->name, &pbm->mem_space, pbm->mem_offset); in pci_determine_mem_io_space()
455 if (pbm->mem64_space.flags && pbm->mem_space.flags) { in pci_determine_mem_io_space()
456 if (pbm->mem64_space.start <= pbm->mem_space.end) in pci_determine_mem_io_space()
457 pbm->mem64_space.start = pbm->mem_space.end + 1; in pci_determine_mem_io_space()
[all …]
Dleon_pci_grpci2.c794 memset(&priv->info.mem_space, 0, sizeof(struct resource)); in grpci2_of_probe()
795 priv->info.mem_space.name = "GRPCI2 PCI MEM Space"; in grpci2_of_probe()
796 priv->info.mem_space.start = priv->pci_area; in grpci2_of_probe()
797 priv->info.mem_space.end = priv->pci_area_end - 1; in grpci2_of_probe()
798 priv->info.mem_space.flags = IORESOURCE_MEM; in grpci2_of_probe()
800 if (request_resource(&iomem_resource, &priv->info.mem_space) < 0) in grpci2_of_probe()
880 release_resource(&priv->info.mem_space); in grpci2_of_probe()
Dleon_pci_grpci1.c607 priv->info.mem_space.name = "GRPCI1 PCI MEM Space"; in grpci1_of_probe()
608 priv->info.mem_space.start = priv->pci_area; in grpci1_of_probe()
609 priv->info.mem_space.end = priv->pci_area_end - 1; in grpci1_of_probe()
610 priv->info.mem_space.flags = IORESOURCE_MEM; in grpci1_of_probe()
612 if (request_resource(&iomem_resource, &priv->info.mem_space) < 0) { in grpci1_of_probe()
693 release_resource(&priv->info.mem_space); in grpci1_of_probe()
Dleon_pci.c39 pci_add_resource(&resources, &info->mem_space); in leon_pci_init()
Dpci_impl.h99 struct resource mem_space; member
/Linux-v6.6/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()
340 end = hose->mem_space->start + pci_mem_end; in common_init_pci()
341 if (hose->mem_space->end > end) in common_init_pci()
342 hose->mem_space->end = end; in common_init_pci()
347 pci_add_resource_offset(&resources, hose->mem_space, in common_init_pci()
348 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()
702 if ((addr >> 32) == (hose->mem_space->start >> 32)) in marvel_ioremap()
711 baddr = addr - hose->mem_space->start; in marvel_ioremap()
774 vaddr = baddr + hose->mem_space->start; in marvel_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_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_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-v6.6/arch/mips/include/asm/octeon/
Dcvmx-pko.h131 uint64_t mem_space:2; member
163 uint64_t mem_space:2;
330 ptr.s.mem_space = CVMX_IO_SEG; in cvmx_pko_doorbell()
/Linux-v6.6/arch/sparc/include/asm/
Dleon_pci.h15 struct resource mem_space; member
/Linux-v6.6/arch/xtensa/include/asm/
Dpci-bridge.h57 struct pci_space mem_space; member
/Linux-v6.6/arch/alpha/include/asm/
Dpci.h25 struct resource *mem_space; member
Dvga.h70 (a) += pci_vga_hose->mem_space->start; \
/Linux-v6.6/drivers/gpu/drm/
Ddrm_memory.c71 offset -= dev->hose->mem_space->start; in agp_remap()
/Linux-v6.6/tools/perf/util/
Dcs-etm.c945 const ocsd_mem_space_acc_t mem_space) in cs_etm__mem_access() argument
970 if (!(mem_space == OCSD_MEM_SPACE_ANY || in cs_etm__mem_access()
971 mem_space == OCSD_MEM_SPACE_N || mem_space == OCSD_MEM_SPACE_S)) { in cs_etm__mem_access()
972 if (mem_space & OCSD_MEM_SPACE_EL1N) { in cs_etm__mem_access()
975 } else if (mem_space & OCSD_MEM_SPACE_EL2) in cs_etm__mem_access()
977 else if (mem_space & OCSD_MEM_SPACE_EL3) in cs_etm__mem_access()
/Linux-v6.6/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c55 const ocsd_mem_space_acc_t mem_space, in cs_etm_decoder__mem_access() argument
63 req_size, buffer, mem_space); in cs_etm_decoder__mem_access()

12