Lines Matching refs:nodeoffset
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
211 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_add_property_()
235 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument
243 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); 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()
379 int fdt_del_node(void *fdt, int nodeoffset) in fdt_del_node() argument
385 endoffset = fdt_node_end_offset_(fdt, nodeoffset); in fdt_del_node()
389 return fdt_splice_struct_(fdt, fdt_offset_ptr_w_(fdt, nodeoffset), in fdt_del_node()
390 endoffset - nodeoffset, 0); in fdt_del_node()