Lines Matching refs:addr_cells
66 uint32_t addr_cells, size_cells, usable_base, base; in fdt_check_mem_start() local
80 addr_cells = get_cells(fdt, "#address-cells"); in fdt_check_mem_start()
82 if (addr_cells > 2 || size_cells > 2) in fdt_check_mem_start()
91 (addr_cells + size_cells) * sizeof(fdt32_t)); 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()
120 endp - reg >= addr_cells + size_cells; in fdt_check_mem_start()
121 reg += addr_cells + size_cells) { in fdt_check_mem_start()
122 size = get_val(reg + addr_cells, size_cells); in fdt_check_mem_start()
126 if (addr_cells > 1 && fdt32_ld(reg)) { in fdt_check_mem_start()
131 base = fdt32_ld(reg + addr_cells - 1); in fdt_check_mem_start()