Lines Matching refs:name
156 #define __fdt_set_hdr(name) \ argument
157 static inline void fdt_set_##name(void *fdt, uint32_t val) \
160 fdth->name = cpu_to_fdt32(val); \
272 const char *name, int namelen);
296 int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name);
427 const char *name,
458 const char *name, int *lenp);
460 const char *name, in fdt_get_property_w() argument
464 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
513 const char *name, int namelen, int *lenp);
543 const char *name, int *lenp);
545 const char *name, int *lenp) in fdt_getprop_w() argument
547 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp); in fdt_getprop_w()
574 const char *name, int namelen);
588 const char *fdt_get_alias(const void *fdt, const char *name);
851 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
883 const char *name, uint32_t val) in fdt_setprop_inplace_u32() argument
886 return fdt_setprop_inplace(fdt, nodeoffset, name, &val, sizeof(val)); in fdt_setprop_inplace_u32()
918 const char *name, uint64_t val) in fdt_setprop_inplace_u64() argument
921 return fdt_setprop_inplace(fdt, nodeoffset, name, &val, sizeof(val)); in fdt_setprop_inplace_u64()
930 const char *name, uint32_t val) in fdt_setprop_inplace_cell() argument
932 return fdt_setprop_inplace_u32(fdt, nodeoffset, name, val); in fdt_setprop_inplace_cell()
959 int fdt_nop_property(void *fdt, int nodeoffset, const char *name);
992 int fdt_begin_node(void *fdt, const char *name);
993 int fdt_property(void *fdt, const char *name, const void *val, int len);
994 static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val) in fdt_property_u32() argument
997 return fdt_property(fdt, name, &val, sizeof(val)); in fdt_property_u32()
999 static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val) in fdt_property_u64() argument
1002 return fdt_property(fdt, name, &val, sizeof(val)); in fdt_property_u64()
1004 static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val) in fdt_property_cell() argument
1006 return fdt_property_u32(fdt, name, val); in fdt_property_cell()
1008 #define fdt_property_string(fdt, name, str) \ argument
1009 fdt_property(fdt, name, str, strlen(str)+1)
1093 int fdt_set_name(void *fdt, int nodeoffset, const char *name);
1123 int fdt_setprop(void *fdt, int nodeoffset, const char *name,
1154 static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, in fdt_setprop_u32() argument
1158 return fdt_setprop(fdt, nodeoffset, name, &val, sizeof(val)); in fdt_setprop_u32()
1189 static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, in fdt_setprop_u64() argument
1193 return fdt_setprop(fdt, nodeoffset, name, &val, sizeof(val)); in fdt_setprop_u64()
1201 static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, in fdt_setprop_cell() argument
1204 return fdt_setprop_u32(fdt, nodeoffset, name, val); in fdt_setprop_cell()
1235 #define fdt_setprop_string(fdt, nodeoffset, name, str) \ argument
1236 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1265 int fdt_appendprop(void *fdt, int nodeoffset, const char *name,
1297 const char *name, uint32_t val) in fdt_appendprop_u32() argument
1300 return fdt_appendprop(fdt, nodeoffset, name, &val, sizeof(val)); in fdt_appendprop_u32()
1332 const char *name, uint64_t val) in fdt_appendprop_u64() argument
1335 return fdt_appendprop(fdt, nodeoffset, name, &val, sizeof(val)); in fdt_appendprop_u64()
1344 const char *name, uint32_t val) in fdt_appendprop_cell() argument
1346 return fdt_appendprop_u32(fdt, nodeoffset, name, val); in fdt_appendprop_cell()
1376 #define fdt_appendprop_string(fdt, nodeoffset, name, str) \ argument
1377 fdt_appendprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1401 int fdt_delprop(void *fdt, int nodeoffset, const char *name);
1416 const char *name, int namelen);
1447 int fdt_add_subnode(void *fdt, int parentoffset, const char *name);