Lines Matching full:name

247 #define fdt_set_hdr_(name) \  argument
248 static inline void fdt_set_##name(void *fdt, uint32_t val) \
251 fdth->name = cpu_to_fdt32(val); \
441 * @name: name of the subnode to locate
442 * @namelen: number of characters of name to consider
445 * namelen characters of name for matching the subnode name. This is
451 const char *name, int namelen);
457 * @name: name of the subnode to locate
460 * offset parentoffset with the given name. name may include a unit
464 * whose name excluding unit address matches the given name.
477 int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name);
486 * characters of path as the path name.
518 * fdt_get_name - retrieve the name of a given node
523 * fdt_get_name() retrieves the name (including unit address) of the
525 * non-NULL, the length of this name is also returned, in the integer
529 * pointer to the node's name, on success
530 * If lenp is non-NULL, *lenp contains the length of that name
645 * @name: name of the property to find
646 * @namelen: number of characters of name to consider
650 * characters of name for matching the property name.
655 const char *name,
663 * @name: name of the property to find
668 * named 'name' of the node at offset nodeoffset. If lenp is
688 const char *name, int *lenp);
690 const char *name, in fdt_get_property_w() argument
694 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
711 * block, not a new copy of the name).
718 * name.
737 * @name: name of the property to find
738 * @namelen: number of characters of name to consider
742 * characters of name for matching the property name.
746 const char *name, int namelen, int *lenp);
748 const char *name, int namelen, in fdt_getprop_namelen_w() argument
751 return (void *)(uintptr_t)fdt_getprop_namelen(fdt, nodeoffset, name, in fdt_getprop_namelen_w()
760 * @name: name of the property to find
764 * named 'name' of the node at offset nodeoffset (this will be a
785 const char *name, int *lenp);
787 const char *name, int *lenp) in fdt_getprop_w() argument
789 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp); in fdt_getprop_w()
809 * @name: name of the alias th look up
810 * @namelen: number of characters of name to consider
813 * characters of name for matching the alias name.
817 const char *name, int namelen);
823 * @name: name of the alias th look up
826 * value of the property named 'name' in the node /aliases.
829 * a pointer to the expansion of the alias named 'name', if it exists
832 const char *fdt_get_alias(const void *fdt, const char *name);
942 * @propname: property name to check
1081 * @property: name of the property containing the string list
1093 * @property: name of the property containing the string list
1115 * @property: name of the property containing the string list
1205 * @name: name of the property to change
1206 * @namelen: number of characters of name to consider
1213 * of the name. It is useful when you want to manipulate only one value of
1218 const char *name, int namelen,
1227 * @name: name of the property to change
1252 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
1260 * @name: name of the property to change
1285 const char *name, uint32_t val) in fdt_setprop_inplace_u32() argument
1288 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32()
1295 * @name: name of the property to change
1320 const char *name, uint64_t val) in fdt_setprop_inplace_u64() argument
1323 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64()
1329 * This is an alternative name for fdt_setprop_inplace_u32()
1332 const char *name, uint32_t val) in fdt_setprop_inplace_cell() argument
1334 return fdt_setprop_inplace_u32(fdt, nodeoffset, name, val); in fdt_setprop_inplace_cell()
1341 * @name: name of the property to nop
1361 int fdt_nop_property(void *fdt, int nodeoffset, const char *name);
1433 int fdt_begin_node(void *fdt, const char *name);
1434 int fdt_property(void *fdt, const char *name, const void *val, int len);
1435 static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val) in fdt_property_u32() argument
1438 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32()
1440 static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val) in fdt_property_u64() argument
1443 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64()
1447 static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val) in fdt_property_cell() argument
1449 return fdt_property_u32(fdt, name, val); in fdt_property_cell()
1457 * @name: name of property to add
1466 int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp);
1468 #define fdt_property_string(fdt, name, str) \ argument
1469 fdt_property(fdt, name, str, strlen(str)+1)
1530 * fdt_set_name - change the name of a given node
1533 * @name: name to give the node
1535 * fdt_set_name() replaces the name (including unit address, if any)
1537 * efficiently check if the new name is unique amongst the given
1539 * with a name equal to one of the given node's siblings.
1547 * to contain the new name
1553 int fdt_set_name(void *fdt, int nodeoffset, const char *name);
1559 * @name: name of the property to change
1583 int fdt_setprop(void *fdt, int nodeoffset, const char *name,
1590 * @name: name of the property to change
1614 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name,
1621 * @name: name of the property to change
1645 static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, in fdt_setprop_u32() argument
1649 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32()
1656 * @name: name of the property to change
1680 static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, in fdt_setprop_u64() argument
1684 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u64()
1690 * This is an alternative name for fdt_setprop_u32()
1692 static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, in fdt_setprop_cell() argument
1695 return fdt_setprop_u32(fdt, nodeoffset, name, val); in fdt_setprop_cell()
1702 * @name: name of the property to change
1726 #define fdt_setprop_string(fdt, nodeoffset, name, str) \ argument
1727 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1734 * @name: name of the property to change
1756 #define fdt_setprop_empty(fdt, nodeoffset, name) \ argument
1757 fdt_setprop((fdt), (nodeoffset), (name), NULL, 0)
1763 * @name: name of the property to append to
1786 int fdt_appendprop(void *fdt, int nodeoffset, const char *name,
1793 * @name: name of the property to change
1818 const char *name, uint32_t val) in fdt_appendprop_u32() argument
1821 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u32()
1828 * @name: name of the property to change
1853 const char *name, uint64_t val) in fdt_appendprop_u64() argument
1856 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u64()
1862 * This is an alternative name for fdt_appendprop_u32()
1865 const char *name, uint32_t val) in fdt_appendprop_cell() argument
1867 return fdt_appendprop_u32(fdt, nodeoffset, name, val); in fdt_appendprop_cell()
1874 * @name: name of the property to change
1897 #define fdt_appendprop_string(fdt, nodeoffset, name, str) \ argument
1898 fdt_appendprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1905 * @name: name of property
1913 * If "name" is not specified, a default "reg" is used.
1935 const char *name, uint64_t addr, uint64_t size);
1941 * @name: name of the property to nop
1959 int fdt_delprop(void *fdt, int nodeoffset, const char *name);
1965 * @name: name of the subnode to locate
1966 * @namelen: number of characters of name to consider
1969 * characters of name as the name of the new node. This is useful for
1975 const char *name, int namelen);
1982 * @name: name of the subnode to locate
1985 * structure block offset parentoffset, with the given name (which
1998 * the given name
2009 int fdt_add_subnode(void *fdt, int parentoffset, const char *name);