Lines Matching refs:nodeoffset
288 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)
290 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset);
295 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0))
326 int fdt_first_property_offset(const void *fdt, int nodeoffset)
330 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0)
430 int nodeoffset,
433 return fdt_get_property_namelen(fdt, nodeoffset, name,
437 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset,
443 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
483 const void *fdt_getprop(const void *fdt, int nodeoffset,
486 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp);
489 uint32_t fdt_get_phandle(const void *fdt, int nodeoffset)
496 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
498 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
523 int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen)
535 (offset >= 0) && (offset <= nodeoffset);
556 if (offset == nodeoffset) {
575 int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset,
587 (offset >= 0) && (offset <= nodeoffset);
592 if (offset == nodeoffset) {
611 int fdt_node_depth(const void *fdt, int nodeoffset)
616 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, 0, &nodedepth);
622 int fdt_parent_offset(const void *fdt, int nodeoffset)
624 int nodedepth = fdt_node_depth(fdt, nodeoffset);
628 return fdt_supernode_atdepth_offset(fdt, nodeoffset,
701 int fdt_stringlist_count(const void *fdt, int nodeoffset, const char *property)
706 list = fdt_getprop(fdt, nodeoffset, property, &length);
726 int fdt_stringlist_search(const void *fdt, int nodeoffset, const char *property,
732 list = fdt_getprop(fdt, nodeoffset, property, &length);
756 const char *fdt_stringlist_get(const void *fdt, int nodeoffset,
763 list = fdt_getprop(fdt, nodeoffset, property, &length);
801 int fdt_node_check_compatible(const void *fdt, int nodeoffset,
807 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len);