Home
last modified time | relevance | path

Searched refs:memory_start (Results 1 – 23 of 23) sorted by relevance

/arch/m68k/sun3/
Dconfig.c107 static void __init sun3_bootmem_alloc(unsigned long memory_start, in sun3_bootmem_alloc() argument
113 memory_start = ((memory_start + (PAGE_SIZE-1)) & PAGE_MASK); in sun3_bootmem_alloc()
116 start_page = __pa(memory_start) >> PAGE_SHIFT; in sun3_bootmem_alloc()
120 availmem = memory_start; in sun3_bootmem_alloc()
128 unsigned long memory_start, memory_end; in config_sun3() local
143 memory_start = ((((unsigned long)_end) + 0x2000) & ~0x1fff); in config_sun3()
150 sun3_bootmem_alloc(memory_start, memory_end); in config_sun3()
/arch/microblaze/mm/
Dinit.c38 unsigned long memory_start; variable
39 EXPORT_SYMBOL(memory_start);
110 min_low_pfn = memory_start >> PAGE_SHIFT; /* minimum for allocation */ in setup_memory()
113 max_low_pfn = ((u64)memory_start + (u64)lowmem_size) >> PAGE_SHIFT; in setup_memory()
114 max_pfn = ((u64)memory_start + (u64)memory_size) >> PAGE_SHIFT; in setup_memory()
126 high_memory = (void *)__va(memory_start + lowmem_size - 1); in mem_init()
211 memory_start = (u32) memblock.memory.regions[0].base; in mmu_init()
260 memblock_set_current_limit(memory_start + lowmem_size - 1); in mmu_init()
265 dma_contiguous_reserve(memory_start + lowmem_size - 1); in mmu_init()
Dpgtable.c72 p >= memory_start && p < virt_to_phys(high_memory) && in __ioremap()
170 p = memory_start; in mapin_ram()
251 memory_start + kernel_tlb, in pte_alloc_one_kernel()
/arch/m68k/kernel/
Dsetup_no.c43 unsigned long memory_start; variable
46 EXPORT_SYMBOL(memory_start);
86 memory_start = PAGE_ALIGN(_ramstart); in setup_arch()
144 __bss_stop, memory_start, memory_start, memory_end); in setup_arch()
147 memblock_reserve(_rambase, memory_start - _rambase); in setup_arch()
158 min_low_pfn = PFN_DOWN(memory_start); in setup_arch()
Dhead.S1287 movel %pc@(L(memory_start)),%a1
1375 movel L(memory_start),availmem
2352 cmpl %pc@(L(memory_start)),%d0
2426 movel %pc@(L(memory_start)),%a1
2455 movel %pc@(L(memory_start)),%a3
2540 lea %pc@(L(memory_start)),%a0
2707 lea %pc@(L(memory_start)),%a0
3788 L(memory_start):
/arch/h8300/kernel/
Dsetup.c45 unsigned long memory_start; variable
72 memory_end = memory_start = 0; in bootmem_init()
75 memory_start = memblock_start_of_DRAM(); in bootmem_init()
82 min_low_pfn = PFN_UP(memory_start); in bootmem_init()
/arch/h8300/mm/
Dinit.c59 unsigned long start_mem = PAGE_ALIGN(memory_start); in paging_init()
94 pr_devel("Mem_init: start=%lx, end=%lx\n", memory_start, memory_end); in mem_init()
/arch/nios2/kernel/
Dsetup.c29 unsigned long memory_start; variable
30 EXPORT_SYMBOL(memory_start);
154 memory_start = memblock_start_of_DRAM(); in setup_arch()
/arch/h8300/include/asm/
Dpage.h12 extern unsigned long memory_start;
/arch/microblaze/include/asm/
Dpage.h96 extern unsigned long memory_start;
114 # define ARCH_PFN_OFFSET (memory_start >> PAGE_SHIFT)
Dpgtable.h246 ((pte_val(x) - memory_start) >> PAGE_SHIFT))
305 pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \
/arch/openrisc/kernel/
Dsetup.c50 phys_addr_t memory_start, memory_end; in setup_memory() local
52 memory_end = memory_start = 0; in setup_memory()
55 memory_start = memblock_start_of_DRAM(); in setup_memory()
62 ram_start_pfn = PFN_UP(memory_start); in setup_memory()
/arch/nds32/mm/
Dinit.c186 phys_addr_t memory_start = memblock_start_of_DRAM(); in mem_init() local
214 (unsigned long)__va(memory_start), (unsigned long)high_memory, in mem_init()
216 (unsigned long)__va(memory_start)) >> 20, in mem_init()
/arch/sh/mm/
Dinit.c307 memory_start = (unsigned long)__va(__MEMORY_START); in paging_init()
308 memory_end = memory_start + (memory_limit ?: memblock_phys_mem_size()); in paging_init()
378 (unsigned long)memory_start, (unsigned long)high_memory, in mem_init()
379 ((unsigned long)high_memory - (unsigned long)memory_start) >> 20, in mem_init()
Dpmb.c89 return ppn >= __pa(memory_start) && ppn < __pa(memory_end); in pmb_ppn_in_range()
/arch/nds32/kernel/
Dsetup.c246 phys_addr_t memory_start, memory_end; in setup_memory() local
248 memory_end = memory_start = 0; in setup_memory()
251 memory_start = memblock_start_of_DRAM(); in setup_memory()
/arch/m68k/include/asm/
Dpage_no.h7 extern unsigned long memory_start;
/arch/nios2/mm/
Dinit.c67 pr_debug("mem_init: start=%lx, end=%lx\n", memory_start, memory_end); in mem_init()
/arch/sh/kernel/
Dsetup.c99 unsigned long memory_start; variable
100 EXPORT_SYMBOL(memory_start);
/arch/nios2/include/asm/
Dpage.h73 extern unsigned long memory_start;
/arch/sh/drivers/pci/
Dpcie-sh7786.c361 memstart = __pa(memory_start); in pcie_init()
490 dma_direct_set_offset(&pdev->dev, __pa(memory_start), in pcibios_bus_add_device()
491 __pa(memory_start) - memstart, memsize); in pcibios_bus_add_device()
Dpci-sh7780.c299 memphys = __pa(memory_start); in sh7780_pci_init()
300 memsize = roundup_pow_of_two(memory_end - memory_start); in sh7780_pci_init()
/arch/sh/include/asm/
Dpage.h51 extern unsigned long memory_start, memory_end, memory_limit;