Lines Matching refs:offs
27 int offs; in ft_hs_disable_rng() local
32 offs = fdt_path_offset(fdt, path); in ft_hs_disable_rng()
33 if (offs < 0) { in ft_hs_disable_rng()
37 ret = fdt_setprop_string(fdt, offs, in ft_hs_disable_rng()
75 int offs, len; in ft_hs_fixup_dram() local
84 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_dram()
85 if (offs >= 0) in ft_hs_fixup_dram()
86 fdt_del_node(fdt, offs); in ft_hs_fixup_dram()
90 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_dram()
91 if (offs < 0) { in ft_hs_fixup_dram()
95 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_dram()
96 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_fixup_dram()
97 if (offs < 0) { in ft_hs_fixup_dram()
102 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_dram()
104 fdt_setprop(fdt, offs, "#address-cells", &address_cells, sizeof(address_cells)); in ft_hs_fixup_dram()
105 fdt_setprop(fdt, offs, "#size-cells", &size_cells, sizeof(size_cells)); in ft_hs_fixup_dram()
106 fdt_setprop(fdt, offs, "ranges", NULL, 0); in ft_hs_fixup_dram()
110 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_fixup_dram()
111 if (offs < 0) { in ft_hs_fixup_dram()
116 fdt_setprop_string(fdt, offs, "compatible", "ti,secure-memory"); in ft_hs_fixup_dram()
117 fdt_setprop_string(fdt, offs, "status", "okay"); in ft_hs_fixup_dram()
118 fdt_setprop(fdt, offs, "no-map", NULL, 0); in ft_hs_fixup_dram()
120 fdt_setprop(fdt, offs, "reg", temp, len); in ft_hs_fixup_dram()
131 int offs; in ft_hs_add_tee() local
138 offs = fdt_path_offset(fdt, path); in ft_hs_add_tee()
139 if (offs < 0) { in ft_hs_add_tee()
141 offs = fdt_path_offset(fdt, path); in ft_hs_add_tee()
142 if (offs < 0) { in ft_hs_add_tee()
148 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_add_tee()
149 if (offs < 0) { in ft_hs_add_tee()
156 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_add_tee()
157 if (offs < 0) { in ft_hs_add_tee()
162 fdt_setprop_string(fdt, offs, "compatible", "linaro,optee-tz"); in ft_hs_add_tee()
163 fdt_setprop_string(fdt, offs, "method", "smc"); in ft_hs_add_tee()