Lines Matching defs:nodeoffset
161 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)
163 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset);
167 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0))
182 int nodeoffset,
192 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0))
244 const void *fdt_getprop(const void *fdt, int nodeoffset,
249 prop = fdt_get_property(fdt, nodeoffset, name, lenp);
256 uint32_t fdt_get_phandle(const void *fdt, int nodeoffset)
261 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
268 int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen)
280 (offset >= 0) && (offset <= nodeoffset);
302 if (offset == nodeoffset) {
321 int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset,
333 (offset >= 0) && (offset <= nodeoffset);
338 if (offset == nodeoffset) {
357 int fdt_node_depth(const void *fdt, int nodeoffset)
362 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, 0, &nodedepth);
368 int fdt_parent_offset(const void *fdt, int nodeoffset)
370 int nodedepth = fdt_node_depth(fdt, nodeoffset);
374 return fdt_supernode_atdepth_offset(fdt, nodeoffset,
426 int fdt_node_check_compatible(const void *fdt, int nodeoffset,
432 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len);