Home
last modified time | relevance | path

Searched refs:namelen (Results 1 – 6 of 6) sorted by relevance

/DragonStub/apps/lib/libfdt/
H A Dfdt_ro.c226 const char *name, int namelen) in fdt_subnode_offset_namelen() argument
236 && fdt_nodename_eq_(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen()
250 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen() argument
252 const char *end = path + namelen; in fdt_path_offset_namelen()
397 int namelen, in fdt_get_property_namelen_() argument
412 name, namelen)) { in fdt_get_property_namelen_()
428 int namelen, int *lenp) in fdt_get_property_namelen() argument
438 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp, in fdt_get_property_namelen()
452 const char *name, int namelen, int *lenp) in fdt_getprop_namelen() argument
457 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, in fdt_getprop_namelen()
[all …]
H A Dlibfdt.h472 const char *name, int namelen);
512 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen);
689 int namelen, int *lenp);
781 const char *name, int namelen, int *lenp);
783 const char *name, int namelen, in fdt_getprop_namelen_w() argument
787 namelen, lenp); in fdt_getprop_namelen_w()
855 const char *name, int namelen);
1258 const char *name, int namelen,
2036 const char *name, int namelen);
H A Dfdt_wip.c14 const char *name, int namelen, in fdt_setprop_inplace_namelen_partial() argument
21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial()
H A Dfdt_sw.c222 int namelen; in fdt_begin_node() local
226 namelen = strlen(name) + 1; in fdt_begin_node()
227 nh = fdt_grab_space_(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
232 memcpy(nh->name, name, namelen); in fdt_begin_node()
H A Dfdt_overlay.c638 int len = 0, namelen; in get_path_len() local
644 name = fdt_get_name(fdt, nodeoffset, &namelen); in get_path_len()
646 return namelen; in get_path_len()
649 if (namelen == 0) in get_path_len()
655 len += namelen + 1; in get_path_len()
H A Dfdt_rw.c334 const char *name, int namelen) in fdt_add_subnode_namelen() argument
345 offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen); in fdt_add_subnode_namelen()
362 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
369 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
370 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()