/arch/alpha/kernel/ |
D | pci.c | 146 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()
|
D | core_tsunami.c | 257 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()
|
D | core_marvel.c | 227 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()
|
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() 469 addr += pci_vga_hose->mem_space->start; in titan_ioremap()
|
D | core_wildfire.c | 69 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()
|
D | core_polaris.c | 164 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 | 334 hose->mem_space = &iomem_resource; in apecs_init_arch()
|
D | core_irongate.c | 281 hose->mem_space = &iomem_resource; in irongate_init_arch()
|
D | core_lca.c | 259 hose->mem_space = &iomem_resource; in lca_init_arch()
|
D | core_cia.c | 685 hose->mem_space = &iomem_resource; in do_init_arch() 690 hose->mem_space = hae_mem; in do_init_arch()
|
D | core_t2.c | 442 hose->mem_space = hae_mem; in t2_init_arch()
|
/arch/sparc/kernel/ |
D | pci_common.c | 383 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()
|
D | leon_pci_grpci2.c | 791 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()
|
D | leon_pci_grpci1.c | 605 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()
|
D | leon_pci.c | 31 pci_add_resource(&resources, &info->mem_space); in leon_pci_init()
|
D | pci.c | 599 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()
|
D | pci_impl.h | 99 struct resource mem_space; member
|
/arch/sparc/include/asm/ |
D | leon_pci.h | 14 struct resource mem_space; member
|
/arch/xtensa/include/asm/ |
D | pci-bridge.h | 59 struct pci_space mem_space; member
|
/arch/tile/include/asm/ |
D | pci.h | 158 struct resource mem_space; member
|
/arch/alpha/include/asm/ |
D | vga.h | 69 (a) += pci_vga_hose->mem_space->start; \
|
D | pci.h | 28 struct resource *mem_space; member
|
/arch/mips/include/asm/octeon/ |
D | cvmx-pko.h | 131 uint64_t mem_space:2; member 301 ptr.s.mem_space = CVMX_IO_SEG; in cvmx_pko_doorbell()
|
/arch/tile/kernel/ |
D | pci_gx.c | 436 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()
|