Home
last modified time | relevance | path

Searched refs:FDT_ALIGN (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/scripts/dtc/libfdt/
H A Dlibfdt_internal.h55 #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
56 #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE))
H A Dfdt_rw.c61 return (fdt_off_mem_rsvmap(fdt) < FDT_ALIGN(sizeof(struct fdt_header), 8)) in fdt_blocks_misordered_()
412 mem_rsv_off = FDT_ALIGN(sizeof(struct fdt_header), 8); in fdt_packblocks_()
465 newsize = FDT_ALIGN(sizeof(struct fdt_header), 8) + mem_rsv_size in fdt_open_into()
H A Dfdt_sw.c102 fdt_set_off_mem_rsvmap(fdt, FDT_ALIGN(sizeof(struct fdt_header), in fdt_create()
/openbmc/linux/scripts/dtc/libfdt/
H A Dlibfdt_internal.h10 #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
11 #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE))
H A Dfdt_rw.c16 return (fdt_off_mem_rsvmap(fdt) < FDT_ALIGN(sizeof(struct fdt_header), 8)) in fdt_blocks_misordered_()
403 mem_rsv_off = FDT_ALIGN(sizeof(struct fdt_header), 8); in fdt_packblocks_()
458 newsize = FDT_ALIGN(sizeof(struct fdt_header), 8) + mem_rsv_size in fdt_open_into()
H A Dfdt_sw.c111 const int hdrsize = FDT_ALIGN(sizeof(struct fdt_header), in fdt_create_with_flags()
/openbmc/u-boot/tools/
H A Dfdtgrep.c440 struct_start = FDT_ALIGN(sizeof(struct fdt_header), in dump_fdt_regions()