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