Lines Matching full:name

251 #define fdt_set_hdr_(name) \  argument
252 static inline void fdt_set_##name(void *fdt, uint32_t val) \
255 fdth->name = cpu_to_fdt32(val); \
446 * @name: name of the subnode to locate
447 * @namelen: number of characters of name to consider
450 * namelen characters of name for matching the subnode name. This is
456 const char *name, int namelen);
462 * @name: name of the subnode to locate
465 * offset parentoffset with the given name. name may include a unit
469 * whose name excluding unit address matches the given name.
482 int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name);
491 * characters of path as the path name.
523 * fdt_get_name - retrieve the name of a given node
528 * fdt_get_name() retrieves the name (including unit address) of the
530 * non-NULL, the length of this name is also returned, in the integer
534 * pointer to the node's name, on success
535 * If lenp is non-NULL, *lenp contains the length of that name
650 * @name: name of the property to find
651 * @namelen: number of characters of name to consider
655 * characters of name for matching the property name.
660 const char *name,
668 * @name: name of the property to find
673 * named 'name' of the node at offset nodeoffset. If lenp is
693 const char *name, int *lenp);
695 const char *name, in fdt_get_property_w() argument
699 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
716 * block, not a new copy of the name).
723 * name.
742 * @name: name of the property to find
743 * @namelen: number of characters of name to consider
747 * characters of name for matching the property name.
751 const char *name, int namelen, int *lenp);
753 const char *name, int namelen, in fdt_getprop_namelen_w() argument
756 return (void *)(uintptr_t)fdt_getprop_namelen(fdt, nodeoffset, name, in fdt_getprop_namelen_w()
765 * @name: name of the property to find
769 * named 'name' of the node at offset nodeoffset (this will be a
790 const char *name, int *lenp);
792 const char *name, int *lenp) in fdt_getprop_w() argument
794 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp); in fdt_getprop_w()
814 * @name: name of the alias th look up
815 * @namelen: number of characters of name to consider
818 * characters of name for matching the alias name.
822 const char *name, int namelen);
828 * @name: name of the alias th look up
831 * value of the property named 'name' in the node /aliases.
834 * a pointer to the expansion of the alias named 'name', if it exists
837 const char *fdt_get_alias(const void *fdt, const char *name);
947 * @propname: property name to check
1086 * @property: name of the property containing the string list
1098 * @property: name of the property containing the string list
1120 * @property: name of the property containing the string list
1210 * @name: name of the property to change
1211 * @namelen: number of characters of name to consider
1218 * of the name. It is useful when you want to manipulate only one value of
1223 const char *name, int namelen,
1232 * @name: name of the property to change
1257 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
1265 * @name: name of the property to change
1290 const char *name, uint32_t val) in fdt_setprop_inplace_u32() argument
1293 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32()
1300 * @name: name of the property to change
1325 const char *name, uint64_t val) in fdt_setprop_inplace_u64() argument
1328 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64()
1334 * This is an alternative name for fdt_setprop_inplace_u32()
1337 const char *name, uint32_t val) in fdt_setprop_inplace_cell() argument
1339 return fdt_setprop_inplace_u32(fdt, nodeoffset, name, val); in fdt_setprop_inplace_cell()
1346 * @name: name of the property to nop
1366 int fdt_nop_property(void *fdt, int nodeoffset, const char *name);
1438 int fdt_begin_node(void *fdt, const char *name);
1439 int fdt_property(void *fdt, const char *name, const void *val, int len);
1440 static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val) in fdt_property_u32() argument
1443 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32()
1445 static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val) in fdt_property_u64() argument
1448 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64()
1452 static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val) in fdt_property_cell() argument
1454 return fdt_property_u32(fdt, name, val); in fdt_property_cell()
1462 * @name: name of property to add
1471 int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp);
1473 #define fdt_property_string(fdt, name, str) \ argument
1474 fdt_property(fdt, name, str, strlen(str)+1)
1535 * fdt_set_name - change the name of a given node
1538 * @name: name to give the node
1540 * fdt_set_name() replaces the name (including unit address, if any)
1542 * efficiently check if the new name is unique amongst the given
1544 * with a name equal to one of the given node's siblings.
1552 * to contain the new name
1558 int fdt_set_name(void *fdt, int nodeoffset, const char *name);
1564 * @name: name of the property to change
1588 int fdt_setprop(void *fdt, int nodeoffset, const char *name,
1595 * @name: name of the property to change
1619 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name,
1626 * @name: name of the property to change
1650 static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, in fdt_setprop_u32() argument
1654 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32()
1661 * @name: name of the property to change
1685 static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, in fdt_setprop_u64() argument
1689 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u64()
1695 * This is an alternative name for fdt_setprop_u32()
1697 static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, in fdt_setprop_cell() argument
1700 return fdt_setprop_u32(fdt, nodeoffset, name, val); in fdt_setprop_cell()
1707 * @name: name of the property to change
1731 #define fdt_setprop_string(fdt, nodeoffset, name, str) \ argument
1732 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1739 * @name: name of the property to change
1761 #define fdt_setprop_empty(fdt, nodeoffset, name) \ argument
1762 fdt_setprop((fdt), (nodeoffset), (name), NULL, 0)
1768 * @name: name of the property to append to
1791 int fdt_appendprop(void *fdt, int nodeoffset, const char *name,
1798 * @name: name of the property to change
1823 const char *name, uint32_t val) in fdt_appendprop_u32() argument
1826 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u32()
1833 * @name: name of the property to change
1858 const char *name, uint64_t val) in fdt_appendprop_u64() argument
1861 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u64()
1867 * This is an alternative name for fdt_appendprop_u32()
1870 const char *name, uint32_t val) in fdt_appendprop_cell() argument
1872 return fdt_appendprop_u32(fdt, nodeoffset, name, val); in fdt_appendprop_cell()
1879 * @name: name of the property to change
1902 #define fdt_appendprop_string(fdt, nodeoffset, name, str) \ argument
1903 fdt_appendprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1910 * @name: name of property
1918 * If "name" is not specified, a default "reg" is used.
1940 const char *name, uint64_t addr, uint64_t size);
1946 * @name: name of the property to nop
1964 int fdt_delprop(void *fdt, int nodeoffset, const char *name);
1970 * @name: name of the subnode to locate
1971 * @namelen: number of characters of name to consider
1974 * characters of name as the name of the new node. This is useful for
1980 const char *name, int namelen);
1987 * @name: name of the subnode to locate
1990 * structure block offset parentoffset, with the given name (which
2003 * the given name
2014 int fdt_add_subnode(void *fdt, int parentoffset, const char *name);