Lines Matching refs:adj_val
120 uint32_t adj_val; in overlay_phandle_add_offset() local
130 adj_val = fdt32_to_cpu(*val); in overlay_phandle_add_offset()
131 if ((adj_val + delta) < adj_val) in overlay_phandle_add_offset()
134 adj_val += delta; in overlay_phandle_add_offset()
135 if (adj_val == (uint32_t)-1) in overlay_phandle_add_offset()
138 return fdt_setprop_inplace_u32(fdt, node, name, adj_val); in overlay_phandle_add_offset()
255 fdt32_t adj_val; in overlay_update_local_node_references() local
266 memcpy(&adj_val, tree_val + poffset, sizeof(adj_val)); in overlay_update_local_node_references()
268 adj_val = cpu_to_fdt32(fdt32_to_cpu(adj_val) + delta); in overlay_update_local_node_references()
275 &adj_val, in overlay_update_local_node_references()
276 sizeof(adj_val)); in overlay_update_local_node_references()