Lines Matching refs:nodeoffset

234 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)
236 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset);
241 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0))
272 int fdt_first_property_offset(const void *fdt, int nodeoffset)
276 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0)
376 int nodeoffset,
379 return fdt_get_property_namelen(fdt, nodeoffset, name,
383 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset,
389 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
419 const void *fdt_getprop(const void *fdt, int nodeoffset,
422 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp);
425 uint32_t fdt_get_phandle(const void *fdt, int nodeoffset)
432 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
434 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
459 int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen)
471 (offset >= 0) && (offset <= nodeoffset);
492 if (offset == nodeoffset) {
511 int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset,
523 (offset >= 0) && (offset <= nodeoffset);
528 if (offset == nodeoffset) {
547 int fdt_node_depth(const void *fdt, int nodeoffset)
552 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, 0, &nodedepth);
558 int fdt_parent_offset(const void *fdt, int nodeoffset)
560 int nodedepth = fdt_node_depth(fdt, nodeoffset);
564 return fdt_supernode_atdepth_offset(fdt, nodeoffset,
637 int fdt_stringlist_count(const void *fdt, int nodeoffset, const char *property)
642 list = fdt_getprop(fdt, nodeoffset, property, &length);
662 int fdt_stringlist_search(const void *fdt, int nodeoffset, const char *property,
668 list = fdt_getprop(fdt, nodeoffset, property, &length);
692 const char *fdt_stringlist_get(const void *fdt, int nodeoffset,
699 list = fdt_getprop(fdt, nodeoffset, property, &length);
737 int fdt_node_check_compatible(const void *fdt, int nodeoffset,
743 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len);