/linux-6.1.9/arch/sparc/kernel/ |
D | pci_common.c | 346 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 …]
|
D | leon_pci_grpci2.c | 792 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()
|
D | leon_pci_grpci1.c | 606 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()
|
D | leon_pci.c | 38 pci_add_resource(&resources, &info->mem_space); in leon_pci_init()
|
D | pci_impl.h | 100 struct resource mem_space; member
|
/linux-6.1.9/arch/alpha/kernel/ |
D | pci.c | 148 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()
|
D | core_tsunami.c | 258 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()
|
D | core_marvel.c | 232 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()
|
D | core_wildfire.c | 70 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()
|
D | core_titan.c | 255 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()
|
D | core_polaris.c | 165 hose->mem_space = &iomem_resource; in polaris_init_arch()
|
D | sys_jensen.c | 197 hose->mem_space = &iomem_resource; in jensen_init_arch()
|
D | core_apecs.c | 335 hose->mem_space = &iomem_resource; in apecs_init_arch()
|
D | core_irongate.c | 279 hose->mem_space = &iomem_resource; in irongate_init_arch()
|
D | core_lca.c | 260 hose->mem_space = &iomem_resource; in lca_init_arch()
|
D | core_cia.c | 689 hose->mem_space = &iomem_resource; in do_init_arch() 694 hose->mem_space = hae_mem; in do_init_arch()
|
D | core_t2.c | 443 hose->mem_space = hae_mem; in t2_init_arch()
|
D | core_mcpcia.c | 303 hose->mem_space = hae_mem; in mcpcia_new_hose()
|
/linux-6.1.9/arch/mips/include/asm/octeon/ |
D | cvmx-pko.h | 131 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-6.1.9/arch/sparc/include/asm/ |
D | leon_pci.h | 15 struct resource mem_space; member
|
/linux-6.1.9/arch/xtensa/include/asm/ |
D | pci-bridge.h | 57 struct pci_space mem_space; member
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | pci.h | 25 struct resource *mem_space; member
|
D | vga.h | 70 (a) += pci_vga_hose->mem_space->start; \
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_pm4_headers_diq.h | 240 enum _WAIT_REG_MEM_mem_space_enum mem_space:2; member
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_memory.c | 71 offset -= dev->hose->mem_space->start; in agp_remap()
|