Lines Matching refs:reg
328 const fdt32_t *reg, *endptr; in fdt_scan_memory() local
342 reg = fdt_getprop(_fdt, nodeoffset, "reg", &len); in fdt_scan_memory()
344 if (!reg) in fdt_scan_memory()
349 endptr = reg + (len / sizeof(fdt32_t)); in fdt_scan_memory()
352 while ((endptr - reg) >= (_root_addr_cells + _root_size_cells)) in fdt_scan_memory()
354 base = rt_fdt_next_cell(®, _root_addr_cells); in fdt_scan_memory()
355 size = rt_fdt_next_cell(®, _root_size_cells); in fdt_scan_memory()
671 const fdt32_t *reg; in rt_fdt_scan_chosen_stdout() local
674 if ((reg = fdt_getprop(_fdt, offset, "reg", RT_NULL))) in rt_fdt_scan_chosen_stdout()
680 address = rt_fdt_read_number(reg, addr_cells); in rt_fdt_scan_chosen_stdout()
682 fdt_earlycon.size = rt_fdt_read_number(reg + addr_cells, size_cells); in rt_fdt_scan_chosen_stdout()