Home
last modified time | relevance | path

Searched refs:node_off (Results 1 – 2 of 2) sorted by relevance

/external/dtc/tests/
Doverlay.c43 int node_off; in fdt_getprop_u32_by_poffset() local
46 node_off = fdt_path_offset(fdt, path); in fdt_getprop_u32_by_poffset()
47 if (node_off < 0) in fdt_getprop_u32_by_poffset()
48 return node_off; in fdt_getprop_u32_by_poffset()
50 val = fdt_getprop(fdt, node_off, name, &len); in fdt_getprop_u32_by_poffset()
62 int node_off; in check_getprop_string_by_name() local
64 node_off = fdt_path_offset(fdt, path); in check_getprop_string_by_name()
65 if (node_off < 0) in check_getprop_string_by_name()
66 return node_off; in check_getprop_string_by_name()
68 check_getprop_string(fdt, node_off, name, val); in check_getprop_string_by_name()
[all …]
/external/u-boot/test/overlay/
Dcmd_ut_overlay.c30 int node_off; in ut_fdt_getprop_u32_by_index() local
33 node_off = fdt_path_offset(fdt, path); in ut_fdt_getprop_u32_by_index()
34 if (node_off < 0) in ut_fdt_getprop_u32_by_index()
35 return node_off; in ut_fdt_getprop_u32_by_index()
37 val = fdt_getprop(fdt, node_off, name, &len); in ut_fdt_getprop_u32_by_index()
55 int node_off; in fdt_getprop_str() local
58 node_off = fdt_path_offset(fdt, path); in fdt_getprop_str()
59 if (node_off < 0) in fdt_getprop_str()
60 return node_off; in fdt_getprop_str()
62 *out = fdt_stringlist_get(fdt, node_off, name, 0, &len); in fdt_getprop_str()