Lines Matching refs:offs
75 int old_offs, offs, ret, len; in optee_copy_firmware_node() local
84 offs = fdt_path_offset(fdt_blob, "/firmware"); in optee_copy_firmware_node()
85 if (offs < 0) { in optee_copy_firmware_node()
86 offs = fdt_path_offset(fdt_blob, "/"); in optee_copy_firmware_node()
87 if (offs < 0) in optee_copy_firmware_node()
88 return offs; in optee_copy_firmware_node()
90 offs = fdt_add_subnode(fdt_blob, offs, "firmware"); in optee_copy_firmware_node()
91 if (offs < 0) in optee_copy_firmware_node()
92 return offs; in optee_copy_firmware_node()
95 offs = fdt_add_subnode(fdt_blob, offs, "optee"); in optee_copy_firmware_node()
96 if (offs < 0) in optee_copy_firmware_node()
97 return offs; in optee_copy_firmware_node()
106 ret = fdt_setprop(fdt_blob, offs, "compatible", prop, len); in optee_copy_firmware_node()
117 ret = fdt_setprop(fdt_blob, offs, "method", prop, len); in optee_copy_firmware_node()