Lines Matching refs:val

157 	static inline void fdt_set_##name(void *fdt, uint32_t val) \
160 fdth->name = cpu_to_fdt32(val); \
852 const void *val, int len);
883 const char *name, uint32_t val) in fdt_setprop_inplace_u32() argument
885 val = cpu_to_fdt32(val); in fdt_setprop_inplace_u32()
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
920 val = cpu_to_fdt64(val); in fdt_setprop_inplace_u64()
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()
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
996 val = cpu_to_fdt32(val); in fdt_property_u32()
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
1001 val = cpu_to_fdt64(val); in fdt_property_u64()
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()
1124 const void *val, int len);
1155 uint32_t val) in fdt_setprop_u32() argument
1157 val = cpu_to_fdt32(val); in fdt_setprop_u32()
1158 return fdt_setprop(fdt, nodeoffset, name, &val, sizeof(val)); in fdt_setprop_u32()
1190 uint64_t val) in fdt_setprop_u64() argument
1192 val = cpu_to_fdt64(val); in fdt_setprop_u64()
1193 return fdt_setprop(fdt, nodeoffset, name, &val, sizeof(val)); in fdt_setprop_u64()
1202 uint32_t val) in fdt_setprop_cell() argument
1204 return fdt_setprop_u32(fdt, nodeoffset, name, val); in fdt_setprop_cell()
1266 const void *val, int len);
1297 const char *name, uint32_t val) in fdt_appendprop_u32() argument
1299 val = cpu_to_fdt32(val); in fdt_appendprop_u32()
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
1334 val = cpu_to_fdt64(val); in fdt_appendprop_u64()
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()