Lines Matching full:name
184 static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name, in fdt_resize_property_() argument
190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_()
202 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, in fdt_add_property_() argument
214 namestroff = fdt_find_add_string_(fdt, name, &allocated); in fdt_add_property_()
225 fdt_del_last_string_(fdt, name); in fdt_add_property_()
235 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument
247 newlen = strlen(name); in fdt_set_name()
254 memcpy(namep, name, newlen+1); in fdt_set_name()
258 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name, in fdt_setprop_placeholder() argument
266 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder()
268 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder()
276 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument
282 err = fdt_setprop_placeholder(fdt, nodeoffset, name, len, &prop_data); in fdt_setprop()
291 int fdt_appendprop(void *fdt, int nodeoffset, const char *name, in fdt_appendprop() argument
299 prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_appendprop()
310 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_appendprop()
318 int fdt_delprop(void *fdt, int nodeoffset, const char *name) in fdt_delprop() argument
325 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_delprop()
334 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()
366 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
367 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
374 int fdt_add_subnode(void *fdt, int parentoffset, const char *name) in fdt_add_subnode() argument
376 return fdt_add_subnode_namelen(fdt, parentoffset, name, strlen(name)); in fdt_add_subnode()