Home
last modified time | relevance | path

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

12

/arch/alpha/kernel/
Dpci.c146 if (start - hose->mem_space->start < PCIBIOS_MIN_MEM) in pcibios_align_resource()
147 start = PCIBIOS_MIN_MEM + hose->mem_space->start; in pcibios_align_resource()
331 end = hose->mem_space->start + pci_mem_end; in common_init_pci()
332 if (hose->mem_space->end > end) in common_init_pci()
333 hose->mem_space->end = end; in common_init_pci()
338 pci_add_resource_offset(&resources, hose->mem_space, in common_init_pci()
339 hose->mem_space->start); in common_init_pci()
Dcore_tsunami.c257 hose->mem_space = alloc_resource(); in tsunami_init_one_pchip()
278 hose->mem_space->start = TSUNAMI_MEM(index) - TSUNAMI_MEM_BIAS; in tsunami_init_one_pchip()
279 hose->mem_space->end = hose->mem_space->start + 0xffffffff; in tsunami_init_one_pchip()
280 hose->mem_space->name = pci_mem_names[index]; in tsunami_init_one_pchip()
281 hose->mem_space->flags = IORESOURCE_MEM; in tsunami_init_one_pchip()
285 if (request_resource(&iomem_resource, hose->mem_space) < 0) in tsunami_init_one_pchip()
Dcore_marvel.c227 hose->mem_space = alloc_resource(); in io7_init_hose()
247 hose->mem_space->start = (unsigned long)IO7_MEM_KERN(io7->pe, port); in io7_init_hose()
248 hose->mem_space->end = hose->mem_space->start + IO7_MEM_SPACE - 1; in io7_init_hose()
249 hose->mem_space->name = mk_resource_name(io7->pe, port, "MEM"); in io7_init_hose()
250 hose->mem_space->flags = IORESOURCE_MEM; in io7_init_hose()
255 if (request_resource(&iomem_resource, hose->mem_space) < 0) in io7_init_hose()
697 if ((addr >> 32) == (hose->mem_space->start >> 32)) in marvel_ioremap()
706 baddr = addr - hose->mem_space->start; in marvel_ioremap()
769 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()
469 addr += pci_vga_hose->mem_space->start; in titan_ioremap()
Dcore_wildfire.c69 hose->mem_space = alloc_resource(); in wildfire_init_hose()
85 hose->mem_space->start = WILDFIRE_MEM(qbbno, hoseno)-WILDFIRE_MEM_BIAS; in wildfire_init_hose()
86 hose->mem_space->end = hose->mem_space->start + 0xffffffff; in wildfire_init_hose()
87 hose->mem_space->name = pci_mem_names[hoseno]; in wildfire_init_hose()
88 hose->mem_space->flags = IORESOURCE_MEM; in wildfire_init_hose()
93 if (request_resource(&iomem_resource, hose->mem_space) < 0) in wildfire_init_hose()
Dcore_polaris.c164 hose->mem_space = &iomem_resource; in polaris_init_arch()
Dsys_jensen.c197 hose->mem_space = &iomem_resource; in jensen_init_arch()
Dcore_apecs.c334 hose->mem_space = &iomem_resource; in apecs_init_arch()
Dcore_irongate.c281 hose->mem_space = &iomem_resource; in irongate_init_arch()
Dcore_lca.c259 hose->mem_space = &iomem_resource; in lca_init_arch()
Dcore_cia.c685 hose->mem_space = &iomem_resource; in do_init_arch()
690 hose->mem_space = hae_mem; in do_init_arch()
Dcore_t2.c442 hose->mem_space = hae_mem; in t2_init_arch()
/arch/sparc/kernel/
Dpci_common.c383 rp->start = pbm->mem_space.start + (unsigned long) vdma[0]; in pci_register_iommu_region()
386 if (request_resource(&pbm->mem_space, rp)) { in pci_register_iommu_region()
448 pbm->mem_space.start = a; in pci_determine_mem_io_space()
449 pbm->mem_space.end = a + size - 1UL; in pci_determine_mem_io_space()
450 pbm->mem_space.flags = IORESOURCE_MEM; in pci_determine_mem_io_space()
472 pbm->mem_space.start); in pci_determine_mem_io_space()
474 pbm->io_space.name = pbm->mem_space.name = pbm->name; in pci_determine_mem_io_space()
477 request_resource(&iomem_resource, &pbm->mem_space); in pci_determine_mem_io_space()
480 &pbm->mem_space); in pci_determine_mem_io_space()
Dleon_pci_grpci2.c791 memset(&priv->info.mem_space, 0, sizeof(struct resource)); in grpci2_of_probe()
792 priv->info.mem_space.name = "GRPCI2 PCI MEM Space"; in grpci2_of_probe()
793 priv->info.mem_space.start = priv->pci_area; in grpci2_of_probe()
794 priv->info.mem_space.end = priv->pci_area_end - 1; in grpci2_of_probe()
795 priv->info.mem_space.flags = IORESOURCE_MEM; in grpci2_of_probe()
797 if (request_resource(&iomem_resource, &priv->info.mem_space) < 0) in grpci2_of_probe()
877 release_resource(&priv->info.mem_space); in grpci2_of_probe()
Dleon_pci_grpci1.c605 priv->info.mem_space.name = "GRPCI1 PCI MEM Space"; in grpci1_of_probe()
606 priv->info.mem_space.start = priv->pci_area; in grpci1_of_probe()
607 priv->info.mem_space.end = priv->pci_area_end - 1; in grpci1_of_probe()
608 priv->info.mem_space.flags = IORESOURCE_MEM; in grpci1_of_probe()
610 if (request_resource(&iomem_resource, &priv->info.mem_space) < 0) { in grpci1_of_probe()
691 release_resource(&priv->info.mem_space); in grpci1_of_probe()
Dleon_pci.c31 pci_add_resource(&resources, &info->mem_space); in leon_pci_init()
Dpci.c599 pci_add_resource_offset(&resources, &pbm->mem_space, in pci_scan_one_pbm()
600 pbm->mem_space.start); in pci_scan_one_pbm()
679 space_size = resource_size(&pbm->mem_space); in __pci_mmap_make_offset_bus()
694 vma->vm_pgoff = (pbm->mem_space.start + in __pci_mmap_make_offset_bus()
933 offset = pbm->mem_space.start; in pci_resource_to_user()
Dpci_impl.h99 struct resource mem_space; member
/arch/sparc/include/asm/
Dleon_pci.h14 struct resource mem_space; member
/arch/xtensa/include/asm/
Dpci-bridge.h59 struct pci_space mem_space; member
/arch/tile/include/asm/
Dpci.h158 struct resource mem_space; member
/arch/alpha/include/asm/
Dvga.h69 (a) += pci_vga_hose->mem_space->start; \
Dpci.h28 struct resource *mem_space; member
/arch/mips/include/asm/octeon/
Dcvmx-pko.h131 uint64_t mem_space:2; member
301 ptr.s.mem_space = CVMX_IO_SEG; in cvmx_pko_doorbell()
/arch/tile/kernel/
Dpci_gx.c436 controller->mem_space.start = controller->mem_offset + in tile_pci_init()
438 controller->mem_space.end = controller->mem_offset + in tile_pci_init()
440 controller->mem_space.flags = IORESOURCE_MEM; in tile_pci_init()
444 controller->mem_space.name = controller->mem_space_name; in tile_pci_init()
848 pci_add_resource_offset(&resources, &controller->mem_space, in pcibios_init()

12