Lines Matching refs:adj_val
103 uint32_t adj_val; in overlay_phandle_add_offset() local
113 adj_val = fdt32_to_cpu(*val); in overlay_phandle_add_offset()
114 if ((adj_val + delta) < adj_val) in overlay_phandle_add_offset()
117 adj_val += delta; in overlay_phandle_add_offset()
118 if (adj_val == (uint32_t)-1) in overlay_phandle_add_offset()
121 return fdt_setprop_inplace_u32(fdt, node, name, adj_val); in overlay_phandle_add_offset()
237 fdt32_t adj_val; in overlay_update_local_node_references() local
248 memcpy(&adj_val, tree_val + poffset, sizeof(adj_val)); in overlay_update_local_node_references()
250 adj_val = cpu_to_fdt32(fdt32_to_cpu(adj_val) + delta); in overlay_update_local_node_references()
257 &adj_val, in overlay_update_local_node_references()
258 sizeof(adj_val)); in overlay_update_local_node_references()