Searched refs:FDT_ALIGN (Results 1 – 7 of 7) sorted by relevance
/openbmc/u-boot/scripts/dtc/libfdt/ |
H A D | libfdt_internal.h | 55 #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro 56 #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE))
|
H A D | fdt_rw.c | 61 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 D | fdt_sw.c | 102 fdt_set_off_mem_rsvmap(fdt, FDT_ALIGN(sizeof(struct fdt_header), in fdt_create()
|
/openbmc/linux/scripts/dtc/libfdt/ |
H A D | libfdt_internal.h | 10 #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro 11 #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE))
|
H A D | fdt_rw.c | 16 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 D | fdt_sw.c | 111 const int hdrsize = FDT_ALIGN(sizeof(struct fdt_header), in fdt_create_with_flags()
|
/openbmc/u-boot/tools/ |
H A D | fdtgrep.c | 440 struct_start = FDT_ALIGN(sizeof(struct fdt_header), in dump_fdt_regions()
|