Lines Matching full:nodeoffset
233 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() argument
235 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); in fdt_get_name()
239 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0)) in fdt_get_name()
253 int fdt_first_property_offset(const void *fdt, int nodeoffset) in fdt_first_property_offset() argument
257 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in fdt_first_property_offset()
317 int nodeoffset, in fdt_get_property() argument
320 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property()
324 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, in fdt_getprop_namelen() argument
329 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp); in fdt_getprop_namelen()
349 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() argument
352 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp); in fdt_getprop()
355 uint32_t fdt_get_phandle(const void *fdt, int nodeoffset) in fdt_get_phandle() argument
362 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle()
364 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); in fdt_get_phandle()
389 int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen) in fdt_get_path() argument
401 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path()
422 if (offset == nodeoffset) { in fdt_get_path()
441 int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, in fdt_supernode_atdepth_offset() argument
453 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset()
458 if (offset == nodeoffset) { in fdt_supernode_atdepth_offset()
477 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth() argument
482 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, 0, &nodedepth); in fdt_node_depth()
488 int fdt_parent_offset(const void *fdt, int nodeoffset) in fdt_parent_offset() argument
490 int nodedepth = fdt_node_depth(fdt, nodeoffset); in fdt_parent_offset()
494 return fdt_supernode_atdepth_offset(fdt, nodeoffset, in fdt_parent_offset()
567 int fdt_stringlist_count(const void *fdt, int nodeoffset, const char *property) in fdt_stringlist_count() argument
572 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count()
592 int fdt_stringlist_search(const void *fdt, int nodeoffset, const char *property, in fdt_stringlist_search() argument
598 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search()
622 const char *fdt_stringlist_get(const void *fdt, int nodeoffset, in fdt_stringlist_get() argument
629 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_get()
667 int fdt_node_check_compatible(const void *fdt, int nodeoffset, in fdt_node_check_compatible() argument
673 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); in fdt_node_check_compatible()