Lines Matching refs:len
132 int len = strlen(s) + 1; in fdt_find_add_string_() local
144 err = fdt_splice_string_(fdt, len); in fdt_find_add_string_()
151 memcpy(new, s, len); in fdt_find_add_string_()
185 int len, struct fdt_property **prop) in fdt_resize_property_() argument
195 FDT_TAGALIGN(len)))) in fdt_resize_property_()
198 (*prop)->len = cpu_to_fdt32(len); in fdt_resize_property_()
203 int len, struct fdt_property **prop) in fdt_add_property_() argument
219 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in fdt_add_property_()
231 (*prop)->len = cpu_to_fdt32(len); in fdt_add_property_()
259 int len, void **prop_data) in fdt_setprop_placeholder() argument
266 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder()
268 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder()
277 const void *val, int len) in fdt_setprop() argument
282 err = fdt_setprop_placeholder(fdt, nodeoffset, name, len, &prop_data); in fdt_setprop()
286 if (len) in fdt_setprop()
287 memcpy(prop_data, val, len); in fdt_setprop()
292 const void *val, int len) in fdt_appendprop() argument
301 newlen = len + oldlen; in fdt_appendprop()
307 prop->len = cpu_to_fdt32(newlen); in fdt_appendprop()
308 memcpy(prop->data + oldlen, val, len); in fdt_appendprop()
310 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_appendprop()
313 memcpy(prop->data, val, len); in fdt_appendprop()
321 int len, proplen; in fdt_delprop() local
325 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_delprop()
327 return len; in fdt_delprop()
329 proplen = sizeof(*prop) + FDT_TAGALIGN(len); in fdt_delprop()