Lines Matching defs:nodeoffset

201 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)
203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset);
207 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0))
221 int fdt_first_property_offset(const void *fdt, int nodeoffset)
225 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
285 int nodeoffset,
288 return fdt_get_property_namelen(fdt, nodeoffset, name,
292 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset,
297 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp);
317 const void *fdt_getprop(const void *fdt, int nodeoffset,
320 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp);
323 uint32_t fdt_get_phandle(const void *fdt, int nodeoffset)
330 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
332 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
357 int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen)
369 (offset >= 0) && (offset <= nodeoffset);
390 if (offset == nodeoffset) {
409 int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset,
421 (offset >= 0) && (offset <= nodeoffset);
426 if (offset == nodeoffset) {
445 int fdt_node_depth(const void *fdt, int nodeoffset)
450 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, 0, &nodedepth);
456 int fdt_parent_offset(const void *fdt, int nodeoffset)
458 int nodedepth = fdt_node_depth(fdt, nodeoffset);
462 return fdt_supernode_atdepth_offset(fdt, nodeoffset,
536 int fdt_node_check_compatible(const void *fdt, int nodeoffset,
542 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len);