Lines Matching full:name

260 #define fdt_set_hdr_(name) \  argument
261 static inline void fdt_set_##name(void *fdt, uint32_t val) \
264 fdth->name = cpu_to_fdt32(val); \
460 * @name: name of the subnode to locate
461 * @namelen: number of characters of name to consider
464 * namelen characters of name for matching the subnode name. This is
468 * Return: offset of the subnode or -FDT_ERR_NOTFOUND if name not found.
472 const char *name, int namelen);
478 * @name: name of the subnode to locate
481 * offset parentoffset with the given name. name may include a unit
485 * whose name excluding unit address matches the given name.
498 int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name);
507 * characters of path as the path name.
529 * that name is looked up in the /aliases node, and the value of that
566 * fdt_get_name - retrieve the name of a given node
571 * fdt_get_name() retrieves the name (including unit address) of the
573 * non-NULL, the length of this name is also returned, in the integer
577 * pointer to the node's name, on success
578 * If lenp is non-NULL, *lenp contains the length of that name
700 * @name: name of the property to find
701 * @namelen: number of characters of name to consider
705 * characters of name for matching the property name.
713 const char *name,
721 * @name: name of the property to find
726 * named 'name' of the node at offset nodeoffset. If lenp is
746 const char *name, int *lenp);
748 const char *name, in fdt_get_property_w() argument
752 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
767 * the property's name will also be returned in the char * pointed to
769 * block, not a new copy of the name).
776 * name.
795 * @name: name of the property to find
796 * @namelen: number of characters of name to consider
800 * characters of name for matching the property name.
806 const char *name, int namelen, int *lenp);
808 const char *name, int namelen, in fdt_getprop_namelen_w() argument
811 return (void *)(uintptr_t)fdt_getprop_namelen(fdt, nodeoffset, name, in fdt_getprop_namelen_w()
820 * @name: name of the property to find
824 * named @name of the node at offset @nodeoffset (this will be a
845 const char *name, int *lenp);
847 const char *name, int *lenp) in fdt_getprop_w() argument
849 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp); in fdt_getprop_w()
869 * @name: name of the alias to look up
870 * @namelen: number of characters of name to consider
873 * characters of @name for matching the alias name.
875 * Return: a pointer to the expansion of the alias named @name, if it exists,
880 const char *name, int namelen);
886 * @name: name of the alias to look up
889 * value of the property named @name in the node /aliases.
892 * a pointer to the expansion of the alias named 'name', if it exists
895 const char *fdt_get_alias(const void *fdt, const char *name);
900 * @name: name of the symbol to look up
901 * @namelen: number of characters of name to consider
904 * characters of @name for matching the symbol name.
906 * Return: a pointer to the expansion of the symbol named @name, if it exists,
911 const char *name, int namelen);
917 * @name: name of the symbol to look up
920 * the value of the property named @name in the node
923 * to a label appearing in the device tree source, with the name of
928 * a pointer to the expansion of the symbol named 'name', if it exists
931 const char *fdt_get_symbol(const void *fdt, const char *name);
1041 * @propname: property name to check
1179 * @property: name of the property containing the string list
1192 * @property: name of the property containing the string list
1214 * @property: name of the property containing the string list
1304 * @name: name of the property to change
1305 * @namelen: number of characters of name to consider
1312 * of the name. It is useful when you want to manipulate only one value of
1319 const char *name, int namelen,
1328 * @name: name of the property to change
1353 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
1361 * @name: name of the property to change
1386 const char *name, uint32_t val) in fdt_setprop_inplace_u32() argument
1389 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32()
1396 * @name: name of the property to change
1421 const char *name, uint64_t val) in fdt_setprop_inplace_u64() argument
1424 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64()
1431 * @name: name of the property to change the value of
1434 * This is an alternative name for fdt_setprop_inplace_u32()
1438 const char *name, uint32_t val) in fdt_setprop_inplace_cell() argument
1440 return fdt_setprop_inplace_u32(fdt, nodeoffset, name, val); in fdt_setprop_inplace_cell()
1447 * @name: name of the property to nop
1467 int fdt_nop_property(void *fdt, int nodeoffset, const char *name);
1539 int fdt_begin_node(void *fdt, const char *name);
1540 int fdt_property(void *fdt, const char *name, const void *val, int len);
1541 static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val) in fdt_property_u32() argument
1544 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32()
1546 static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val) in fdt_property_u64() argument
1549 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64()
1553 static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val) in fdt_property_cell() argument
1555 return fdt_property_u32(fdt, name, val); in fdt_property_cell()
1563 * @name: name of property to add
1572 int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp);
1574 #define fdt_property_string(fdt, name, str) \ argument
1575 fdt_property(fdt, name, str, strlen(str)+1)
1637 * fdt_set_name - change the name of a given node
1640 * @name: name to give the node
1642 * fdt_set_name() replaces the name (including unit address, if any)
1644 * efficiently check if the new name is unique amongst the given
1646 * with a name equal to one of the given node's siblings.
1654 * to contain the new name
1660 int fdt_set_name(void *fdt, int nodeoffset, const char *name);
1666 * @name: name of the property to change
1690 int fdt_setprop(void *fdt, int nodeoffset, const char *name,
1697 * @name: name of the property to change
1721 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name,
1728 * @name: name of the property to change
1752 static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, in fdt_setprop_u32() argument
1756 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32()
1763 * @name: name of the property to change
1787 static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, in fdt_setprop_u64() argument
1791 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u64()
1798 * @name: name of the property to change
1801 * This is an alternative name for fdt_setprop_u32()
1805 static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, in fdt_setprop_cell() argument
1808 return fdt_setprop_u32(fdt, nodeoffset, name, val); in fdt_setprop_cell()
1815 * @name: name of the property to change
1839 #define fdt_setprop_string(fdt, nodeoffset, name, str) \ argument
1840 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1847 * @name: name of the property to change
1869 #define fdt_setprop_empty(fdt, nodeoffset, name) \ argument
1870 fdt_setprop((fdt), (nodeoffset), (name), NULL, 0)
1876 * @name: name of the property to append to
1899 int fdt_appendprop(void *fdt, int nodeoffset, const char *name,
1906 * @name: name of the property to change
1931 const char *name, uint32_t val) in fdt_appendprop_u32() argument
1934 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u32()
1941 * @name: name of the property to change
1966 const char *name, uint64_t val) in fdt_appendprop_u64() argument
1969 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u64()
1976 * @name: name of the property to change
1979 * This is an alternative name for fdt_appendprop_u32()
1984 const char *name, uint32_t val) in fdt_appendprop_cell() argument
1986 return fdt_appendprop_u32(fdt, nodeoffset, name, val); in fdt_appendprop_cell()
1993 * @name: name of the property to change
2016 #define fdt_appendprop_string(fdt, nodeoffset, name, str) \ argument
2017 fdt_appendprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
2024 * @name: name of property
2054 const char *name, uint64_t addr, uint64_t size);
2060 * @name: name of the property to nop
2078 int fdt_delprop(void *fdt, int nodeoffset, const char *name);
2084 * @name: name of the subnode to create
2085 * @namelen: number of characters of name to consider
2088 * characters of @name as the name of the new node. This is useful for
2097 const char *name, int namelen);
2104 * @name: name of the subnode to locate
2107 * structure block offset parentoffset, with the given name (which
2119 * the given name
2130 int fdt_add_subnode(void *fdt, int parentoffset, const char *name);