Home
last modified time | relevance | path

Searched refs:nodeoffset (Results 1 – 7 of 7) sorted by relevance

/lk-master/external/lib/fdt/include/
A Dlibfdt.h655 int nodeoffset,
695 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
914 int fdt_node_depth(const void *fdt, int nodeoffset);
937 int fdt_parent_offset(const void *fdt, int nodeoffset);
1173 int fdt_address_cells(const void *fdt, int nodeoffset);
1194 int fdt_size_cells(const void *fdt, int nodeoffset);
1386 int fdt_nop_node(void *fdt, int nodeoffset);
1696 return fdt_setprop_u32(fdt, nodeoffset, name, val); in fdt_setprop_cell()
1757 #define fdt_setprop_empty(fdt, nodeoffset, name) \ argument
1758 fdt_setprop((fdt), (nodeoffset), (name), NULL, 0)
[all …]
/lk-master/external/lib/fdt/
A Dfdt_wip.c13 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial() argument
21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial()
33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument
39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
46 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, in fdt_setprop_inplace()
59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument
64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property()
83 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node() argument
87 endoffset = fdt_node_end_offset_(fdt, nodeoffset); in fdt_nop_node()
91 fdt_nop_region_(fdt_offset_ptr_w(fdt, nodeoffset, 0), in fdt_nop_node()
[all …]
A Dfdt_addresses.c14 static int fdt_cells(const void *fdt, int nodeoffset, const char *name) in fdt_cells() argument
20 c = fdt_getprop(fdt, nodeoffset, name, &len); in fdt_cells()
34 int fdt_address_cells(const void *fdt, int nodeoffset) in fdt_address_cells() argument
38 val = fdt_cells(fdt, nodeoffset, "#address-cells"); in fdt_address_cells()
46 int fdt_size_cells(const void *fdt, int nodeoffset) in fdt_size_cells() argument
50 val = fdt_cells(fdt, nodeoffset, "#size-cells"); in fdt_size_cells()
57 int fdt_appendprop_addrrange(void *fdt, int parent, int nodeoffset, in fdt_appendprop_addrrange() argument
99 return fdt_appendprop(fdt, nodeoffset, name, data, in fdt_appendprop_addrrange()
A Dfdt_ro.c442 int nodeoffset, in fdt_get_property() argument
445 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property()
513 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle()
552 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path()
573 if (offset == nodeoffset) { in fdt_get_path()
604 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset()
609 if (offset == nodeoffset) { in fdt_supernode_atdepth_offset()
630 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth() argument
642 int fdt_parent_offset(const void *fdt, int nodeoffset) in fdt_parent_offset() argument
644 int nodedepth = fdt_node_depth(fdt, nodeoffset); in fdt_parent_offset()
[all …]
A Dfdt_rw.c189 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_()
234 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument
267 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder()
275 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument
298 prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_appendprop()
309 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_appendprop()
317 int fdt_delprop(void *fdt, int nodeoffset, const char *name) in fdt_delprop() argument
324 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_delprop()
378 int fdt_del_node(void *fdt, int nodeoffset) in fdt_del_node() argument
384 endoffset = fdt_node_end_offset_(fdt, nodeoffset); in fdt_del_node()
[all …]
A Dfdt_overlay.c650 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len() argument
658 name = fdt_get_name(fdt, nodeoffset, &namelen); in get_path_len()
666 nodeoffset = fdt_parent_offset(fdt, nodeoffset); in get_path_len()
667 if (nodeoffset < 0) in get_path_len()
668 return nodeoffset; in get_path_len()
A Dlibfdt_internal.h24 int fdt_node_end_offset_(void *fdt, int nodeoffset);

Completed in 15 milliseconds