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