Lines Matching refs:nodeoffset

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