Home
last modified time | relevance | path

Searched refs:FDT_TAGALIGN (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_rw.c213 if ((err = fdt_splice_struct_(fdt, (*prop)->data, FDT_TAGALIGN(oldlen), in fdt_resize_property_()
214 FDT_TAGALIGN(len)))) in fdt_resize_property_()
237 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in fdt_add_property_()
263 err = fdt_splice_struct_(fdt, namep, FDT_TAGALIGN(oldlen+1), in fdt_set_name()
264 FDT_TAGALIGN(newlen+1)); in fdt_set_name()
317 FDT_TAGALIGN(oldlen), in fdt_appendprop()
318 FDT_TAGALIGN(newlen)); in fdt_appendprop()
343 proplen = sizeof(*prop) + FDT_TAGALIGN(len); in fdt_delprop()
373 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
380 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
H A Dlibfdt_internal.h56 #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE)) macro
H A Dfdt_sw.c177 nh = fdt_grab_space_(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
234 prop = fdt_grab_space_(fdt, sizeof(*prop) + FDT_TAGALIGN(len)); in fdt_property_placeholder()
H A Dfdt.c143 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
/openbmc/linux/scripts/dtc/libfdt/
H A Dfdt_rw.c194 if ((err = fdt_splice_struct_(fdt, (*prop)->data, FDT_TAGALIGN(oldlen), in fdt_resize_property_()
195 FDT_TAGALIGN(len)))) in fdt_resize_property_()
219 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in fdt_add_property_()
249 err = fdt_splice_struct_(fdt, namep, FDT_TAGALIGN(oldlen+1), in fdt_set_name()
250 FDT_TAGALIGN(newlen+1)); in fdt_set_name()
303 FDT_TAGALIGN(oldlen), in fdt_appendprop()
304 FDT_TAGALIGN(newlen)); in fdt_appendprop()
329 proplen = sizeof(*prop) + FDT_TAGALIGN(len); in fdt_delprop()
362 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
369 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
H A Dlibfdt_internal.h11 #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE)) macro
H A Dfdt_sw.c227 nh = fdt_grab_space_(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
311 prop = fdt_grab_space_(fdt, sizeof(*prop) + FDT_TAGALIGN(len)); in fdt_property_placeholder()
H A Dfdt.c219 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()