Lines Matching refs:offs

26 	int offs;  in ft_hs_disable_rng()  local
31 offs = fdt_path_offset(fdt, path); in ft_hs_disable_rng()
32 if (offs < 0) { in ft_hs_disable_rng()
36 ret = fdt_setprop_string(fdt, offs, in ft_hs_disable_rng()
74 int offs, len; in ft_hs_fixup_dram() local
83 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_dram()
84 if (offs >= 0) in ft_hs_fixup_dram()
85 fdt_del_node(fdt, offs); in ft_hs_fixup_dram()
89 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_dram()
90 if (offs < 0) { in ft_hs_fixup_dram()
94 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_dram()
95 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_fixup_dram()
96 if (offs < 0) { in ft_hs_fixup_dram()
101 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_dram()
103 fdt_setprop(fdt, offs, "#address-cells", &address_cells, sizeof(address_cells)); in ft_hs_fixup_dram()
104 fdt_setprop(fdt, offs, "#size-cells", &size_cells, sizeof(size_cells)); in ft_hs_fixup_dram()
105 fdt_setprop(fdt, offs, "ranges", NULL, 0); in ft_hs_fixup_dram()
109 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_fixup_dram()
110 if (offs < 0) { in ft_hs_fixup_dram()
115 fdt_setprop_string(fdt, offs, "compatible", "ti,secure-memory"); in ft_hs_fixup_dram()
116 fdt_setprop_string(fdt, offs, "status", "okay"); in ft_hs_fixup_dram()
117 fdt_setprop(fdt, offs, "no-map", NULL, 0); in ft_hs_fixup_dram()
119 fdt_setprop(fdt, offs, "reg", temp, len); in ft_hs_fixup_dram()
130 int offs; in ft_hs_add_tee() local
137 offs = fdt_path_offset(fdt, path); in ft_hs_add_tee()
138 if (offs < 0) { in ft_hs_add_tee()
140 offs = fdt_path_offset(fdt, path); in ft_hs_add_tee()
141 if (offs < 0) { in ft_hs_add_tee()
147 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_add_tee()
148 if (offs < 0) { in ft_hs_add_tee()
155 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_add_tee()
156 if (offs < 0) { in ft_hs_add_tee()
161 fdt_setprop_string(fdt, offs, "compatible", "linaro,optee-tz"); in ft_hs_add_tee()
162 fdt_setprop_string(fdt, offs, "method", "smc"); in ft_hs_add_tee()