• Home
  • Raw
  • Download

Lines Matching full:nodeoffset

298 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)  in fdt_get_name()  argument
300 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset); in fdt_get_name()
305 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0)) in fdt_get_name()
336 int fdt_first_property_offset(const void *fdt, int nodeoffset) in fdt_first_property_offset() argument
340 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_first_property_offset()
442 int nodeoffset, in fdt_get_property() argument
445 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property()
449 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, in fdt_getprop_namelen() argument
455 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, in fdt_getprop_namelen()
500 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() argument
503 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp); in fdt_getprop()
506 uint32_t fdt_get_phandle(const void *fdt, int nodeoffset) in fdt_get_phandle() argument
513 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle()
515 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); in fdt_get_phandle()
540 int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen) in fdt_get_path() argument
552 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path()
573 if (offset == nodeoffset) { in fdt_get_path()
592 int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, in fdt_supernode_atdepth_offset() argument
604 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset()
609 if (offset == nodeoffset) { in fdt_supernode_atdepth_offset()
630 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth() argument
635 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, 0, &nodedepth); in fdt_node_depth()
642 int fdt_parent_offset(const void *fdt, int nodeoffset) in fdt_parent_offset() argument
644 int nodedepth = fdt_node_depth(fdt, nodeoffset); in fdt_parent_offset()
648 return fdt_supernode_atdepth_offset(fdt, nodeoffset, in fdt_parent_offset()
721 int fdt_stringlist_count(const void *fdt, int nodeoffset, const char *property) in fdt_stringlist_count() argument
726 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count()
746 int fdt_stringlist_search(const void *fdt, int nodeoffset, const char *property, in fdt_stringlist_search() argument
752 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search()
776 const char *fdt_stringlist_get(const void *fdt, int nodeoffset, in fdt_stringlist_get() argument
783 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_get()
821 int fdt_node_check_compatible(const void *fdt, int nodeoffset, in fdt_node_check_compatible() argument
827 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); in fdt_node_check_compatible()