Lines Matching refs:off
195 int off; in stm32_fdt_fixup_cpu() local
198 off = fdt_path_offset(blob, "/cpus"); in stm32_fdt_fixup_cpu()
199 if (off < 0) { in stm32_fdt_fixup_cpu()
204 off = fdt_node_offset_by_prop_value(blob, -1, "device_type", "cpu", 4); in stm32_fdt_fixup_cpu()
205 while (off != -FDT_ERR_NOTFOUND) { in stm32_fdt_fixup_cpu()
206 reg = fdtdec_get_addr(blob, off, "reg"); in stm32_fdt_fixup_cpu()
208 fdt_del_node(blob, off); in stm32_fdt_fixup_cpu()
212 off = -1; in stm32_fdt_fixup_cpu()
214 off = fdt_node_offset_by_prop_value(blob, off, in stm32_fdt_fixup_cpu()
229 int off, node; in stm32_fdt_disable_optee() local
232 off = fdt_node_offset_by_compatible(blob, -1, "linaro,optee-tz"); in stm32_fdt_disable_optee()
233 if (off >= 0 && fdtdec_get_is_enabled(blob, off)) in stm32_fdt_disable_optee()
234 fdt_del_node(blob, off); in stm32_fdt_disable_optee()
237 off = fdt_path_offset(blob, "/reserved-memory/"); in stm32_fdt_disable_optee()
238 if (off < 0) in stm32_fdt_disable_optee()
240 for (node = fdt_first_subnode(blob, off); in stm32_fdt_disable_optee()