Lines Matching refs:nodeoffset
300 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() argument
302 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset); in fdt_get_name()
307 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0)) in fdt_get_name()
338 int fdt_first_property_offset(const void *fdt, int nodeoffset) in fdt_first_property_offset() argument
342 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_first_property_offset()
444 int nodeoffset, in fdt_get_property() argument
447 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property()
451 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, in fdt_getprop_namelen() argument
457 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, in fdt_getprop_namelen()
502 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() argument
505 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp); in fdt_getprop()
508 uint32_t fdt_get_phandle(const void *fdt, int nodeoffset) in fdt_get_phandle() argument
515 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle()
517 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); in fdt_get_phandle()
542 int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen) in fdt_get_path() argument
554 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path()
575 if (offset == nodeoffset) { in fdt_get_path()
594 int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, in fdt_supernode_atdepth_offset() argument
606 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset()
611 if (offset == nodeoffset) { in fdt_supernode_atdepth_offset()
632 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth() argument
637 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, 0, &nodedepth); in fdt_node_depth()
644 int fdt_parent_offset(const void *fdt, int nodeoffset) in fdt_parent_offset() argument
646 int nodedepth = fdt_node_depth(fdt, nodeoffset); in fdt_parent_offset()
650 return fdt_supernode_atdepth_offset(fdt, nodeoffset, in fdt_parent_offset()
723 int fdt_stringlist_count(const void *fdt, int nodeoffset, const char *property) in fdt_stringlist_count() argument
728 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count()
748 int fdt_stringlist_search(const void *fdt, int nodeoffset, const char *property, in fdt_stringlist_search() argument
754 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search()
778 const char *fdt_stringlist_get(const void *fdt, int nodeoffset, in fdt_stringlist_get() argument
785 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_get()
823 int fdt_node_check_compatible(const void *fdt, int nodeoffset, in fdt_node_check_compatible() argument
829 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); in fdt_node_check_compatible()