Lines Matching defs:nodeoffset

180 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)
182 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset);
186 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0))
200 int fdt_first_property_offset(const void *fdt, int nodeoffset)
204 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
264 int nodeoffset,
267 return fdt_get_property_namelen(fdt, nodeoffset, name,
271 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset,
276 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp);
296 const void *fdt_getprop(const void *fdt, int nodeoffset,
299 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp);
302 uint32_t fdt_get_phandle(const void *fdt, int nodeoffset)
309 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
311 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
336 int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen)
348 (offset >= 0) && (offset <= nodeoffset);
369 if (offset == nodeoffset) {
388 int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset,
400 (offset >= 0) && (offset <= nodeoffset);
405 if (offset == nodeoffset) {
424 int fdt_node_depth(const void *fdt, int nodeoffset)
429 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, 0, &nodedepth);
435 int fdt_parent_offset(const void *fdt, int nodeoffset)
437 int nodedepth = fdt_node_depth(fdt, nodeoffset);
441 return fdt_supernode_atdepth_offset(fdt, nodeoffset,
515 int fdt_node_check_compatible(const void *fdt, int nodeoffset,
521 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len);