Lines Matching defs:name

260 #define fdt_set_hdr_(name) \
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.
541 * fdt_get_name - retrieve the name of a given node
546 * fdt_get_name() retrieves the name (including unit address) of the
548 * non-NULL, the length of this name is also returned, in the integer
552 * pointer to the node's name, on success
553 * If lenp is non-NULL, *lenp contains the length of that name
675 * @name: name of the property to find
676 * @namelen: number of characters of name to consider
680 * characters of name for matching the property name.
688 const char *name,
696 * @name: name of the property to find
701 * named 'name' of the node at offset nodeoffset. If lenp is
721 const char *name, int *lenp);
723 const char *name,
727 fdt_get_property(fdt, nodeoffset, name, lenp);
744 * block, not a new copy of the name).
751 * name.
770 * @name: name of the property to find
771 * @namelen: number of characters of name to consider
775 * characters of name for matching the property name.
781 const char *name, int namelen, int *lenp);
783 const char *name, int namelen,
786 return (void *)(uintptr_t)fdt_getprop_namelen(fdt, nodeoffset, name,
795 * @name: name of the property to find
799 * named @name of the node at offset @nodeoffset (this will be a
820 const char *name, int *lenp);
822 const char *name, int *lenp)
824 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp);
844 * @name: name of the alias th look up
845 * @namelen: number of characters of name to consider
848 * characters of @name for matching the alias name.
850 * Return: a pointer to the expansion of the alias named @name, if it exists,
855 const char *name, int namelen);
861 * @name: name of the alias th look up
864 * value of the property named @name in the node /aliases.
867 * a pointer to the expansion of the alias named 'name', if it exists
870 const char *fdt_get_alias(const void *fdt, const char *name);
980 * @propname: property name to check
1118 * @property: name of the property containing the string list
1131 * @property: name of the property containing the string list
1153 * @property: name of the property containing the string list
1243 * @name: name of the property to change
1244 * @namelen: number of characters of name to consider
1251 * of the name. It is useful when you want to manipulate only one value of
1258 const char *name, int namelen,
1267 * @name: name of the property to change
1292 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
1300 * @name: name of the property to change
1325 const char *name, uint32_t val)
1328 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1335 * @name: name of the property to change
1360 const char *name, uint64_t val)
1363 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1370 * @name: name of the property to change the value of
1373 * This is an alternative name for fdt_setprop_inplace_u32()
1377 const char *name, uint32_t val)
1379 return fdt_setprop_inplace_u32(fdt, nodeoffset, name, val);
1386 * @name: name of the property to nop
1406 int fdt_nop_property(void *fdt, int nodeoffset, const char *name);
1478 int fdt_begin_node(void *fdt, const char *name);
1479 int fdt_property(void *fdt, const char *name, const void *val, int len);
1480 static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val)
1483 return fdt_property(fdt, name, &tmp, sizeof(tmp));
1485 static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
1488 return fdt_property(fdt, name, &tmp, sizeof(tmp));
1492 static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
1494 return fdt_property_u32(fdt, name, val);
1502 * @name: name of property to add
1511 int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp);
1513 #define fdt_property_string(fdt, name, str) \
1514 fdt_property(fdt, name, str, strlen(str)+1)
1576 * fdt_set_name - change the name of a given node
1579 * @name: name to give the node
1581 * fdt_set_name() replaces the name (including unit address, if any)
1583 * efficiently check if the new name is unique amongst the given
1585 * with a name equal to one of the given node's siblings.
1593 * to contain the new name
1599 int fdt_set_name(void *fdt, int nodeoffset, const char *name);
1605 * @name: name of the property to change
1629 int fdt_setprop(void *fdt, int nodeoffset, const char *name,
1636 * @name: name of the property to change
1660 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name,
1667 * @name: name of the property to change
1691 static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name,
1695 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1702 * @name: name of the property to change
1726 static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name,
1730 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1737 * @name: name of the property to change
1740 * This is an alternative name for fdt_setprop_u32()
1744 static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name,
1747 return fdt_setprop_u32(fdt, nodeoffset, name, val);
1754 * @name: name of the property to change
1778 #define fdt_setprop_string(fdt, nodeoffset, name, str) \
1779 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1786 * @name: name of the property to change
1808 #define fdt_setprop_empty(fdt, nodeoffset, name) \
1809 fdt_setprop((fdt), (nodeoffset), (name), NULL, 0)
1815 * @name: name of the property to append to
1838 int fdt_appendprop(void *fdt, int nodeoffset, const char *name,
1845 * @name: name of the property to change
1870 const char *name, uint32_t val)
1873 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1880 * @name: name of the property to change
1905 const char *name, uint64_t val)
1908 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1915 * @name: name of the property to change
1918 * This is an alternative name for fdt_appendprop_u32()
1923 const char *name, uint32_t val)
1925 return fdt_appendprop_u32(fdt, nodeoffset, name, val);
1932 * @name: name of the property to change
1955 #define fdt_appendprop_string(fdt, nodeoffset, name, str) \
1956 fdt_appendprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1963 * @name: name of property
1971 * If "name" is not specified, a default "reg" is used.
1993 const char *name, uint64_t addr, uint64_t size);
1999 * @name: name of the property to nop
2017 int fdt_delprop(void *fdt, int nodeoffset, const char *name);
2023 * @name: name of the subnode to create
2024 * @namelen: number of characters of name to consider
2027 * characters of @name as the name of the new node. This is useful for
2036 const char *name, int namelen);
2043 * @name: name of the subnode to locate
2046 * structure block offset parentoffset, with the given name (which
2059 * the given name
2070 int fdt_add_subnode(void *fdt, int parentoffset, const char *name);