Lines Matching defs:name

252 #define fdt_set_hdr_(name) \
253 static inline void fdt_set_##name(void *fdt, uint32_t val) \
256 fdth->name = cpu_to_fdt32(val); \
418 * @name: name of the subnode to locate
419 * @namelen: number of characters of name to consider
422 * namelen characters of name for matching the subnode name. This is
428 const char *name, int namelen);
434 * @name: name of the subnode to locate
437 * offset parentoffset with the given name. name may include a unit
441 * whose name excluding unit address matches the given name.
454 int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name);
463 * characters of path as the path name.
495 * fdt_get_name - retrieve the name of a given node
500 * fdt_get_name() retrieves the name (including unit address) of the
502 * non-NULL, the length of this name is also returned, in the integer
506 * pointer to the node's name, on success
507 * If lenp is non-NULL, *lenp contains the length of that name
622 * @name: name of the property to find
623 * @namelen: number of characters of name to consider
627 * characters of name for matching the property name.
632 const char *name,
640 * @name: name of the property to find
645 * named 'name' of the node at offset nodeoffset. If lenp is
665 const char *name, int *lenp);
667 const char *name,
671 fdt_get_property(fdt, nodeoffset, name, lenp);
688 * block, not a new copy of the name).
695 * name.
714 * @name: name of the property to find
715 * @namelen: number of characters of name to consider
719 * characters of name for matching the property name.
723 const char *name, int namelen, int *lenp);
725 const char *name, int namelen,
728 return (void *)(uintptr_t)fdt_getprop_namelen(fdt, nodeoffset, name,
737 * @name: name of the property to find
741 * named 'name' of the node at offset nodeoffset (this will be a
762 const char *name, int *lenp);
764 const char *name, int *lenp)
766 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp);
786 * @name: name of the alias th look up
787 * @namelen: number of characters of name to consider
790 * characters of name for matching the alias name.
794 const char *name, int namelen);
800 * @name: name of the alias th look up
803 * value of the property named 'name' in the node /aliases.
806 * a pointer to the expansion of the alias named 'name', if it exists
809 const char *fdt_get_alias(const void *fdt, const char *name);
919 * @propname: property name to check
1058 * @property: name of the property containing the string list
1070 * @property: name of the property containing the string list
1092 * @property: name of the property containing the string list
1182 * @name: name of the property to change
1183 * @namelen: number of characters of name to consider
1190 * of the name. It is useful when you want to manipulate only one value of
1195 const char *name, int namelen,
1204 * @name: name of the property to change
1229 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
1237 * @name: name of the property to change
1262 const char *name, uint32_t val)
1265 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1272 * @name: name of the property to change
1297 const char *name, uint64_t val)
1300 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1306 * This is an alternative name for fdt_setprop_inplace_u32()
1309 const char *name, uint32_t val)
1311 return fdt_setprop_inplace_u32(fdt, nodeoffset, name, val);
1318 * @name: name of the property to nop
1338 int fdt_nop_property(void *fdt, int nodeoffset, const char *name);
1372 int fdt_begin_node(void *fdt, const char *name);
1373 int fdt_property(void *fdt, const char *name, const void *val, int len);
1374 static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val)
1377 return fdt_property(fdt, name, &tmp, sizeof(tmp));
1379 static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
1382 return fdt_property(fdt, name, &tmp, sizeof(tmp));
1386 static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
1388 return fdt_property_u32(fdt, name, val);
1396 * @name: name of property to add
1405 int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp);
1407 #define fdt_property_string(fdt, name, str) \
1408 fdt_property(fdt, name, str, strlen(str)+1)
1469 * fdt_set_name - change the name of a given node
1472 * @name: name to give the node
1474 * fdt_set_name() replaces the name (including unit address, if any)
1476 * efficiently check if the new name is unique amongst the given
1478 * with a name equal to one of the given node's siblings.
1486 * to contain the new name
1492 int fdt_set_name(void *fdt, int nodeoffset, const char *name);
1498 * @name: name of the property to change
1522 int fdt_setprop(void *fdt, int nodeoffset, const char *name,
1529 * @name: name of the property to change
1553 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name,
1560 * @name: name of the property to change
1584 static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name,
1588 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1595 * @name: name of the property to change
1619 static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name,
1623 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1629 * This is an alternative name for fdt_setprop_u32()
1631 static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name,
1634 return fdt_setprop_u32(fdt, nodeoffset, name, val);
1641 * @name: name of the property to change
1665 #define fdt_setprop_string(fdt, nodeoffset, name, str) \
1666 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1673 * @name: name of the property to change
1695 #define fdt_setprop_empty(fdt, nodeoffset, name) \
1696 fdt_setprop((fdt), (nodeoffset), (name), NULL, 0)
1702 * @name: name of the property to append to
1725 int fdt_appendprop(void *fdt, int nodeoffset, const char *name,
1732 * @name: name of the property to change
1757 const char *name, uint32_t val)
1760 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1767 * @name: name of the property to change
1792 const char *name, uint64_t val)
1795 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp));
1801 * This is an alternative name for fdt_appendprop_u32()
1804 const char *name, uint32_t val)
1806 return fdt_appendprop_u32(fdt, nodeoffset, name, val);
1813 * @name: name of the property to change
1836 #define fdt_appendprop_string(fdt, nodeoffset, name, str) \
1837 fdt_appendprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1843 * @name: name of the property to nop
1861 int fdt_delprop(void *fdt, int nodeoffset, const char *name);
1867 * @name: name of the subnode to locate
1868 * @namelen: number of characters of name to consider
1871 * characters of name as the name of the new node. This is useful for
1877 const char *name, int namelen);
1884 * @name: name of the subnode to locate
1887 * structure block offset parentoffset, with the given name (which
1900 * the given name
1911 int fdt_add_subnode(void *fdt, int parentoffset, const char *name);