Searched refs:FDT_TAGALIGN (Results 1 – 8 of 8) sorted by relevance
/external/dtc/libfdt/ |
D | fdt_rw.c | 213 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() 303 FDT_TAGALIGN(oldlen), in fdt_appendprop() 304 FDT_TAGALIGN(newlen)); in fdt_appendprop() 329 proplen = sizeof(*prop) + FDT_TAGALIGN(len); in fdt_delprop() 359 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen() 366 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
|
D | libfdt_internal.h | 56 #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE)) macro
|
D | fdt_sw.c | 177 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()
|
D | fdt.c | 140 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
|
/external/u-boot/scripts/dtc/libfdt/ |
D | fdt_rw.c | 195 if ((err = fdt_splice_struct_(fdt, (*prop)->data, FDT_TAGALIGN(oldlen), in fdt_resize_property_() 196 FDT_TAGALIGN(len)))) in fdt_resize_property_() 220 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in fdt_add_property_() 250 err = fdt_splice_struct_(fdt, namep, FDT_TAGALIGN(oldlen+1), in fdt_set_name() 251 FDT_TAGALIGN(newlen+1)); in fdt_set_name() 304 FDT_TAGALIGN(oldlen), in fdt_appendprop() 305 FDT_TAGALIGN(newlen)); in fdt_appendprop() 330 proplen = sizeof(*prop) + FDT_TAGALIGN(len); in fdt_delprop() 360 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen() 367 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
|
D | libfdt_internal.h | 11 #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE)) macro
|
D | fdt_sw.c | 226 nh = fdt_grab_space_(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node() 310 prop = fdt_grab_space_(fdt, sizeof(*prop) + FDT_TAGALIGN(len)); in fdt_property_placeholder()
|
D | fdt.c | 201 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
|