/u-boot/arch/arm/lib/ |
H A D | asmdefs.h | 50 #define ENTRY_ALIGN(name, alignment) \ 53 .align alignment; \ 62 #define ENTRY_ALIGN(name, alignment) \ 65 .align alignment; \
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-bootmem.h | 19 /* minimum alignment of bootmem alloced blocks */ 130 * @param alignment Alignment required - must be power of 2 134 void *cvmx_bootmem_alloc(u64 size, u64 alignment); 143 * @param alignment Alignment required - must be power of 2 147 void *cvmx_bootmem_alloc_node(u64 node, u64 size, u64 alignment); 159 * @param alignment Alignment required - must be power of 2 163 u64 alignment); 175 * @param alignment Alignment required - must be power of 2 178 void *cvmx_bootmem_alloc_range(u64 size, u64 alignment, 188 * @param alignment Alignmen [all...] |
H A D | cvmx-global-resources.h | 118 * @aligment specifes the required alignment of the returned base number. 123 int alignment);
|
/u-boot/include/ |
H A D | bouncebuf.h | 72 * alignment: alignment of the newly allocated bounce buffer 73 * addr_is_aligned: function for checking the alignment instead of the default one 77 size_t alignment,
|
/u-boot/common/ |
H A D | bouncebuf.c | 39 size_t alignment, 45 state->len_aligned = roundup(len, alignment); 49 state->bounce_buffer = memalign(alignment, 37 bounce_buffer_start_extalign(struct bounce_buffer *state, void *data, size_t len, unsigned int flags, size_t alignment, int (*addr_is_aligned)(struct bounce_buffer *state)) argument
|
H A D | mcheck_core.inc.h | 29 * This library is aware of U-Boot specific. It's also aware of ARM alignment concerns. 89 size_t aln_skip; /* Ignored bytes, before the mcheck_hdr, to fulfill alignment */ 199 size_t alignment, int clean_content) 201 const size_t slop = alignment ? 202 mcheck_evaluate_memalign_prefix_size(alignment) - sizeof(struct mcheck_hdr) : 0; 257 static void *mcheck_memalign_posthook(size_t alignment, void *altoghether_ptr, size_t customer_sz) argument 259 return mcheck_allocated_helper(altoghether_ptr, customer_sz, alignment, CLEAN_CONTENT); 198 mcheck_allocated_helper(void *altoghether_ptr, size_t customer_sz, size_t alignment, int clean_content) argument
|
H A D | dlmalloc.c | 401 /* Check if m has acceptable alignment */ 886 /* ... and alignment */ 1163 /* Guarantee alignment of first new chunk made from this space */ 1234 obtain 8-byte alignment and/or to obtain a size of at least 1946 within that chunk that meets the alignment request, and then 1949 The alignment argument must be a power of two. This property is not 1952 8-byte alignment is guaranteed by normal malloc calls, so don't 1962 Void_t* mEMALIGn_impl(size_t alignment, size_t bytes) argument 1964 Void_t* mEMALIGn_impl(alignment, bytes) size_t alignment; size_ 2268 mEMALIGn(size_t alignment, size_t bytes) argument [all...] |
/u-boot/arch/x86/cpu/apollolake/ |
H A D | lpc.c | 51 u32 lgir_reg_offset, lgir, window_size, alignment; local 66 alignment = 1UL << (order_base_2(window_size)); 67 window_size = ALIGN(window_size, alignment);
|
/u-boot/arch/mips/mach-mtmips/mt7620/ |
H A D | lowlevel_init.S | 30 and sp, sp, t0 # force 16 byte alignment
|
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-bootmem.c | 385 u64 cvmx_bootmem_phy_alloc_range(u64 size, u64 alignment, argument 392 alignment, 0); 399 void *cvmx_bootmem_alloc_range(u64 size, u64 alignment, argument 406 alignment, 0); 415 u64 alignment) 417 return cvmx_bootmem_alloc_range(size, alignment, address, 421 void *cvmx_bootmem_alloc_node(u64 node, u64 size, u64 alignment) argument 423 return cvmx_bootmem_alloc_range(size, alignment, 428 void *cvmx_bootmem_alloc(u64 size, u64 alignment) argument 430 return cvmx_bootmem_alloc_range(size, alignment, 414 cvmx_bootmem_alloc_address(u64 size, u64 address, u64 alignment) argument 505 cvmx_bootmem_alloc_named(u64 size, u64 alignment, const char *name) argument 511 cvmx_bootmem_alloc_named_flags(u64 size, u64 alignment, const char *name, u32 flags) argument 584 cvmx_bootmem_phy_alloc(u64 req_size, u64 address_min, u64 address_max, u64 alignment, u32 flags) argument 1028 cvmx_bootmem_phy_named_block_alloc(u64 size, u64 min_addr, u64 max_addr, u64 alignment, const char *name, u32 flags) argument [all...] |
H A D | cvmx-global-resources.c | 409 u64 owner, int nelements, int alignment) 423 base = cvmx_range_alloc(addr, owner, nelements, alignment); 408 cvmx_allocate_global_resource_range(struct global_resource_tag tag, u64 owner, int nelements, int alignment) argument
|
/u-boot/drivers/mtd/ubi/ |
H A D | vmt.c | 43 __ATTR(alignment, S_IRUGO, vol_attribute_show, NULL); 99 ret = sprintf(buf, "%d\n", vol->alignment); 210 vol->usable_leb_size = ubi->leb_size - ubi->leb_size % req->alignment; 229 vol->alignment = req->alignment; 230 vol->data_pad = ubi->leb_size % vol->alignment; 296 vtbl_rec.alignment = cpu_to_be32(vol->alignment); 658 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; local 676 if (vol->reserved_pebs < 0 || vol->alignment < [all...] |
H A D | vtbl.c | 170 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local 179 alignment = be32_to_cpu(vtbl[i].alignment); 203 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 || 209 if (alignment > ubi->leb_size || alignment == 0) { 214 n = alignment & (ubi->min_io_size - 1); 215 if (alignment != 1 && n) { 220 n = ubi->leb_size % alignment; 550 vol->alignment [all...] |
H A D | ubi-media.h | 266 * The @data_pad is calculated when volumes are created using the alignment 323 * @alignment: volume alignment 325 * eraseblock to satisfy the requested alignment 349 * The @alignment field is specified when the volume is created and cannot be 352 * logical eraseblock size and @alignment. The alignment must be multiple to the 353 * minimal flash I/O unit. If @alignment is 1, all the available space of 360 __be32 alignment; member in struct:ubi_vtbl_record
|
H A D | debug.c | 105 printf("\talignment %d\n", vol->alignment); 138 pr_err("\talignment %d\n", be32_to_cpu(r->alignment)); 204 pr_err("\talignment %d\n", req->alignment);
|
/u-boot/include/mtd/ |
H A D | ubi-user.h | 292 * @alignment: volume alignment 303 * The @alignment field specifies the required alignment of the volume logical 306 * (UBI device logical eraseblock size) mod (@alignment) = 0. 309 * shortened in order to make it properly aligned. The alignment has to be 313 * The @alignment field may be useful, for example, when one wants to maintain 316 * alignment it is possible to update this volume using plane UBI volume image 321 __s32 alignment; member in struct:ubi_mkvol_req
|
/u-boot/arch/mips/mach-mtmips/mt7621/spl/ |
H A D | start.S | 35 and sp, t1, t0 # force 16 byte alignment 38 and sp, sp, t0 # force 16 byte alignment 45 and sp, sp, t0 # force 16 byte alignment
|
/u-boot/arch/mips/cpu/ |
H A D | start.S | 44 and sp, t1, t0 # force 16 byte alignment 47 and sp, sp, t0 # force 16 byte alignment 54 and sp, sp, t0 # force 16 byte alignment
|
/u-boot/drivers/mtd/ubispl/ |
H A D | ubispl.c | 65 ubi_dbg("\talignment %d", be32_to_cpu(r->alignment)); 101 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local 108 alignment = be32_to_cpu(vtbl[i].alignment); 132 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 || 138 if (alignment > ubi->leb_size || alignment == 0) { 143 n = alignment & (CONFIG_SPL_UBI_VID_OFFSET - 1); 144 if (alignment != 1 && n) { 149 n = ubi->leb_size % alignment; [all...] |
/u-boot/test/py/tests/ |
H A D | test_mmc.py | 261 alignment = int( 266 offset = random.randrange(alignment, 1024, alignment) 639 alignment = int( 644 offset_l.append(random.randrange(alignment, 1024, alignment))
|
H A D | test_usb.py | 330 alignment = int( 335 offset = random.randrange(alignment, 1024, alignment)
|
/u-boot/cmd/ |
H A D | ubi.c | 177 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || 185 if (req->alignment == 0) 198 if (req->alignment > ubi->leb_size) 201 n = req->alignment % ubi->min_io_size; 202 if (req->alignment != 1 && n) 228 req.alignment = 1;
|
/u-boot/include/linux/mtd/ |
H A D | ubi.h | 54 * @alignment: volume alignment 90 * because of the volume alignment (@alignment), the usable size of logical 92 * @usable_leb_size = LEB size - (LEB size mod @alignment), 95 * The alignment is multiple to the minimal flash input/output unit size or %1 98 * To put this differently, alignment may be considered is a way to change 110 int alignment; member in struct:ubi_volume_info 162 * alignment is not equivalent to %1.
|
/u-boot/arch/arm/mach-bcm283x/include/mach/ |
H A D | mbox.h | 276 u32 alignment; member in struct:bcm2835_mbox_tag_allocate_buffer::__anon23::__anon24
|
/u-boot/arch/arm/mach-bcm283x/ |
H A D | msg.c | 189 msg_setup->allocate_buffer.body.req.alignment = 0x100;
|