Lines Matching defs:memory
364 /* R/W Size of local memory in cache blocks, 54 (6912 bytes)
437 * We need to temporarily allocate all memory in the reserve32
439 * memory when it is getting memory from the
440 * bootloader. Later, after the memory allocations are
443 * Allocate memory for RESERVED32 aligned on 2MB boundary. This
450 pr_err("Failed to allocate CAVIUM_RESERVE32 memory area\n");
633 int64_t memory;
637 /* First add the init memory we will be returning. */
638 memory = __pa_symbol(&__init_begin) & PAGE_MASK;
639 mem_alloc_size = (__pa_symbol(&__init_end) & PAGE_MASK) - memory;
641 add_memory_region(memory, mem_alloc_size, BOOT_MEM_RAM);
646 * The Mips memory init uses the first memory location for
647 * some memory vectors. When SPARSEMEM is in use, it doesn't
657 * When allocating memory, we want incrementing addresses from
665 memory = cvmx_bootmem_phy_alloc(mem_alloc_size,
670 memory = cvmx_bootmem_phy_alloc(mem_alloc_size, 0, 1ull << 31,
674 memory = cvmx_bootmem_phy_alloc(mem_alloc_size, 0, 512 << 20,
678 if (memory >= 0) {
688 &memory, &size);
691 &memory, &size);
699 add_memory_region(memory, size, BOOT_MEM_RAM);
709 * Now that we've allocated the kernel memory it is safe to
711 * drivers can use the memory.
718 panic("Unable to allocate memory from "