/u-boot/tools/binman/test/ |
A D | 009_pack_extra.dts | 13 u-boot-align-size-nop { 15 align-size = <4>; 18 u-boot-align-size { 20 align = <16>; 21 align-size = <32>; 24 u-boot-align-end { 26 align-end = <64>; 29 u-boot-align-both { 31 align = <64>; 32 align-end = <128>;
|
A D | 181_section_align.dts | 18 align = <2>; 19 align-size = <0x10>; 29 align = <4>; 30 align-size = <8>;
|
A D | 131_pack_align_section.dts | 12 align = <0x10>; 18 align-size = <0x20>;
|
A D | 008_pack.dts | 11 u-boot-align { 13 align = <16>;
|
/u-boot/include/ |
A D | memalign.h | 71 #define ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, pad) \ argument 72 char __##name[ROUND(PAD_SIZE((size) * sizeof(type), pad), align) \ 73 + (align - 1)]; \ 75 type *name = (type *)ALIGN((uintptr_t)__##name, align) 76 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument 77 ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, 1) 88 #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ argument 89 static char __##name[ALIGN(size * sizeof(type), align)] \ 90 __aligned(align); \
|
A D | virtio_ring.h | 129 unsigned long align) in vring_init() argument 135 sizeof(__virtio16) + align - 1) & ~(align - 1)); in vring_init() 138 static inline unsigned int vring_size(unsigned int num, unsigned long align) in vring_size() argument 141 sizeof(__virtio16) * (3 + num) + align - 1) & ~(align - 1)) + in vring_size()
|
A D | lmb.h | 40 extern phys_addr_t lmb_alloc(struct lmb *lmb, phys_size_t size, ulong align); 41 extern phys_addr_t lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, 43 extern phys_addr_t __lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align,
|
A D | bloblist.h | 141 void *bloblist_add(uint tag, int size, int align); 155 int bloblist_ensure_size(uint tag, int size, int align, void **blobp);
|
/u-boot/arch/arm/cpu/armv8/ |
A D | psci.S | 48 .align 3 86 .align 3 285 .align 7 287 .align 7 289 .align 7 291 .align 7 293 .align 7 295 .align 7 297 .align 7 299 .align 7 [all …]
|
A D | exceptions.S | 35 .align 11 38 .align 7 /* Current EL Synchronous Thread */ 65 .align 7 /* Current EL IRQ Thread */ 91 .align 7 /* Current EL FIQ Thread */ 110 .align 7 /* Current EL Error Thread */ 138 .align 7 /* Current EL (SP_ELx) Synchronous Handler */ 144 .align 7 /* Current EL (SP_ELx) IRQ Handler */ 150 .align 7 /* Current EL (SP_ELx) FIQ Handler */ 156 .align 7 /* Current EL (SP_ELx) Error Handler */
|
/u-boot/fs/cbfs/ |
A D | cbfs.c | 67 dest->align = be32_to_cpu(src->align); in swap_header() 105 while (size >= align) { in file_cbfs_next_file() 113 *used += align; in file_cbfs_next_file() 114 size -= align; in file_cbfs_next_file() 115 start += align; in file_cbfs_next_file() 135 if (step % align) in file_cbfs_next_file() 136 step = step + align - step % align; in file_cbfs_next_file() 163 while (size >= align) { in file_cbfs_fill_cache() 266 priv->header.align); in cbfs_init() 380 int align = priv->header.align; in find_uncached() local [all …]
|
/u-boot/common/ |
A D | malloc_simple.c | 19 static void *alloc_simple(size_t bytes, int align) in alloc_simple() argument 24 addr = ALIGN(gd->malloc_base + gd->malloc_ptr, align); in alloc_simple() 52 void *memalign_simple(size_t align, size_t bytes) in memalign_simple() argument 56 ptr = alloc_simple(bytes, align); in memalign_simple()
|
A D | bloblist.c | 93 static int bloblist_addrec(uint tag, int size, int align, in bloblist_addrec() argument 100 if (!align) in bloblist_addrec() 101 align = BLOBLIST_ALIGN; in bloblist_addrec() 107 data_start = ALIGN(data_start, align) - map_to_sysmem(hdr); in bloblist_addrec() 110 new_alloced = data_start + ALIGN(size, align); in bloblist_addrec() 135 int align) in bloblist_ensurerec() argument 148 ret = bloblist_addrec(tag, size, align, &rec); in bloblist_ensurerec() 170 void *bloblist_add(uint tag, int size, int align) in bloblist_add() argument 174 if (bloblist_addrec(tag, size, align, &rec)) in bloblist_add() 180 int bloblist_ensure_size(uint tag, int size, int align, void **blobp) in bloblist_ensure_size() argument [all …]
|
/u-boot/board/renesas/r2dplus/ |
A D | lowlevel_init.S | 14 .align 2 72 .align 2 97 .align 2 100 .align 2 103 .align 2
|
/u-boot/arch/powerpc/cpu/mpc85xx/ |
A D | commproc.c | 66 m8560_cpm_dpalloc(uint size, uint align) in m8560_cpm_dpalloc() argument 73 align_mask = align - 1; in m8560_cpm_dpalloc() 78 gd->arch.dp_alloc_base += (align - off); in m8560_cpm_dpalloc() 81 size += align - off; in m8560_cpm_dpalloc() 100 m8560_cpm_hostalloc(uint size, uint align) in m8560_cpm_hostalloc() argument 103 return (m8560_cpm_dpalloc(size, align)); in m8560_cpm_hostalloc()
|
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
A D | spintable.S | 13 .align 3 27 .align 3 33 .align 2 113 .align 3
|
/u-boot/arch/arm/mach-rmobile/ |
A D | lowlevel_init.S | 21 .align 4 51 .align 4 65 .align 4
|
/u-boot/arch/arm/lib/ |
A D | vectors.S | 134 .align 5 249 .align 5 255 .align 5 261 .align 5 267 .align 5 273 .align 5 280 .align 5 286 .align 5
|
/u-boot/board/intel/edison/ |
A D | config.mk | 13 INPUTS-y += u-boot-align.bin 14 u-boot-align.bin: u-boot.bin
|
/u-boot/drivers/misc/ |
A D | qfw.c | 37 uint32_t size, align; in bios_linker_allocate() local 41 align = le32_to_cpu(entry->alloc.align); in bios_linker_allocate() 43 if (align & (align - 1)) { in bios_linker_allocate() 44 printf("error: wrong alignment %u\n", align); in bios_linker_allocate() 63 aligned_addr = (unsigned long)memalign(align, size); in bios_linker_allocate() 69 aligned_addr = ALIGN(*addr, align); in bios_linker_allocate() 76 file->cfg.name, size, entry->alloc.zone, align, aligned_addr); in bios_linker_allocate()
|
/u-boot/arch/x86/cpu/x86_64/ |
A D | setjmp.S | 11 .align 8 29 .align 8
|
/u-boot/arch/x86/cpu/i386/ |
A D | setjmp.S | 21 .align 4 44 .align 4
|
/u-boot/tools/binman/ |
A D | cbfs_util.py | 157 def align_int(val, align): argument 167 return int((val + align - 1) / align) * align 169 def align_int_down(val, align): argument 180 return int(val / align) * align 504 def _align_to(self, fd, align): argument 516 offset = align_int(fd.tell(), align) 645 self.align = ENTRY_ALIGN 768 pad = (self.align - fd.tell() % self.align) % self.align 833 self.align, self.cbfs_offset, self.arch, _) = struct.unpack(
|
/u-boot/arch/nds32/cpu/n1213/ |
A D | start.S | 390 .align 5 432 .align 5 439 .align 5 446 .align 5 453 .align 5 460 .align 5 467 .align 5 474 .align 5 481 .align 5 488 .align 5 [all …]
|
/u-boot/examples/api/ |
A D | crt0.S | 65 .align 8 73 .align 8
|