Lines Matching full:usable
59 * used if it yields a valid address, unless the "linux,usable-memory-range"
68 const fdt32_t *usable, *reg, *endp; in fdt_check_mem_start() local
86 * Usable memory in case of a crash dump kernel in fdt_check_mem_start()
90 usable = get_prop(fdt, "/chosen", "linux,usable-memory-range", in fdt_check_mem_start()
92 if (usable) { in fdt_check_mem_start()
93 size = get_val(usable + addr_cells, size_cells); in fdt_check_mem_start()
97 if (addr_cells > 1 && fdt32_ld(usable)) { in fdt_check_mem_start()
102 usable_base = fdt32_ld(usable + addr_cells - 1); in fdt_check_mem_start()
113 reg = fdt_getprop(fdt, offset, "linux,usable-memory", &len); in fdt_check_mem_start()
133 if (usable) { in fdt_check_mem_start()
135 * Clip to usable range, which takes precedence in fdt_check_mem_start()
157 /* No usable memory found, falling back to default */ in fdt_check_mem_start()
162 * The calculated address is not usable, or was overridden by the in fdt_check_mem_start()
163 * "linux,usable-memory-range" property. in fdt_check_mem_start()
164 * Use the lowest usable physical memory address from the DTB instead, in fdt_check_mem_start()