Lines Matching refs:offs
33 int offs, len; in optee_fdt_firmware() local
35 offs = fdt_path_offset(fdt, "/firmware/optee"); in optee_fdt_firmware()
36 ut_assert(expect_success ? offs >= 0 : offs < 0); in optee_fdt_firmware()
39 if (offs < 0) in optee_fdt_firmware()
42 prop = fdt_getprop(fdt, offs, "compatible", &len); in optee_fdt_firmware()
45 prop = fdt_getprop(fdt, offs, "method", &len); in optee_fdt_firmware()
54 int offs, subnode; in optee_fdt_protected_memory() local
57 offs = fdt_path_offset(fdt, "/firmware/optee"); in optee_fdt_protected_memory()
58 ut_assert(expect_success ? offs >= 0 : offs < 0); in optee_fdt_protected_memory()
61 if (offs < 0) in optee_fdt_protected_memory()
65 offs = fdt_subnode_offset(fdt, 0, "reserved-memory"); in optee_fdt_protected_memory()
66 ut_assert(offs >= 0); in optee_fdt_protected_memory()
68 subnode = fdt_first_subnode(fdt, offs); in optee_fdt_protected_memory()