Lines Matching refs:name
170 static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name, in fdt_resize_property_() argument
176 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_()
188 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, in fdt_add_property_() argument
200 namestroff = fdt_find_add_string_(fdt, name, &allocated); in fdt_add_property_()
210 fdt_del_last_string_(fdt, name); in fdt_add_property_()
220 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument
232 newlen = strlen(name); in fdt_set_name()
239 memcpy(namep, name, newlen+1); in fdt_set_name()
243 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name, in fdt_setprop_placeholder() argument
251 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder()
253 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder()
261 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument
267 err = fdt_setprop_placeholder(fdt, nodeoffset, name, len, &prop_data); in fdt_setprop()
276 int fdt_appendprop(void *fdt, int nodeoffset, const char *name, in fdt_appendprop() argument
284 prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_appendprop()
295 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_appendprop()
303 int fdt_delprop(void *fdt, int nodeoffset, const char *name) in fdt_delprop() argument
310 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_delprop()
319 const char *name, int namelen) in fdt_add_subnode_namelen() argument
330 offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen); in fdt_add_subnode_namelen()
351 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
352 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
359 int fdt_add_subnode(void *fdt, int parentoffset, const char *name) in fdt_add_subnode() argument
361 return fdt_add_subnode_namelen(fdt, parentoffset, name, strlen(name)); in fdt_add_subnode()