Lines Matching refs:nodeoffset
203 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name, in _fdt_resize_property() argument
209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in _fdt_resize_property()
221 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name, in _fdt_add_property() argument
229 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in _fdt_add_property()
249 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument
257 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name()
272 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument
280 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop); in fdt_setprop()
282 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop); in fdt_setprop()
290 int fdt_appendprop(void *fdt, int nodeoffset, const char *name, in fdt_appendprop() 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()
388 return _fdt_splice_struct(fdt, _fdt_offset_ptr_w(fdt, nodeoffset), in fdt_del_node()
389 endoffset - nodeoffset, 0); in fdt_del_node()