Searched refs:alignment (Results 1 - 25 of 30) sorted by last modified time

12

/u-boot/drivers/mtd/ubispl/
H A Dubispl.c64 ubi_dbg("\talignment %d", be32_to_cpu(r->alignment));
100 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local
107 alignment = be32_to_cpu(vtbl[i].alignment);
131 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 ||
137 if (alignment > ubi->leb_size || alignment == 0) {
142 n = alignment & (CONFIG_SPL_UBI_VID_OFFSET - 1);
143 if (alignment != 1 && n) {
148 n = ubi->leb_size % alignment;
[all...]
/u-boot/drivers/mtd/nand/raw/
H A Domap_gpmc.c440 u32 alignment = ((uintptr_t)buf | len) & 3; local
442 if (alignment & 1)
444 else if (alignment & 3)
/u-boot/common/
H A Ddlmalloc.c400 /* Check if m has acceptable alignment */
885 /* ... and alignment */
1162 /* Guarantee alignment of first new chunk made from this space */
1233 obtain 8-byte alignment and/or to obtain a size of at least
1945 within that chunk that meets the alignment request, and then
1948 The alignment argument must be a power of two. This property is not
1951 8-byte alignment is guaranteed by normal malloc calls, so don't
1961 Void_t* mEMALIGn_impl(size_t alignment, size_t bytes) argument
1963 Void_t* mEMALIGn_impl(alignment, bytes) size_t alignment; size_
2267 mEMALIGn(size_t alignment, size_t bytes) argument
[all...]
H A Dbouncebuf.c38 size_t alignment,
44 state->len_aligned = roundup(len, alignment);
48 state->bounce_buffer = memalign(alignment,
36 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 Dmcheck_core.inc.h29 * 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
/u-boot/cmd/
H A Dubi.c176 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 ||
184 if (req->alignment == 0)
197 if (req->alignment > ubi->leb_size)
200 n = req->alignment % ubi->min_io_size;
201 if (req->alignment != 1 && n)
227 req.alignment = 1;
/u-boot/arch/x86/cpu/apollolake/
H A Dlpc.c50 u32 lgir_reg_offset, lgir, window_size, alignment; local
65 alignment = 1UL << (order_base_2(window_size));
66 window_size = ALIGN(window_size, alignment);
/u-boot/arch/arm/mach-bcm283x/
H A Dmsg.c188 msg_setup->allocate_buffer.body.req.alignment = 0x100;
/u-boot/arch/arm/mach-bcm283x/include/mach/
H A Dmbox.h276 u32 alignment; member in struct:bcm2835_mbox_tag_allocate_buffer::__anon23::__anon24
/u-boot/test/py/tests/
H A Dtest_usb.py330 alignment = int(
335 offset = random.randrange(alignment, 1024, alignment)
H A Dtest_mmc.py261 alignment = int(
266 offset = random.randrange(alignment, 1024, alignment)
639 alignment = int(
644 offset_l.append(random.randrange(alignment, 1024, alignment))
/u-boot/arch/mips/mach-mtmips/mt7621/spl/
H A Dstart.S35 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 Dstart.S44 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/ubi/
H A Dubi.h280 * @alignment: volume alignment
282 * satisfy the requested alignment
336 int alignment; member in struct:ubi_volume
677 * are not used (due to volume alignment)
H A Ddebug.c105 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);
H A Dvtbl.c170 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 Dvmt.c43 __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...]
/u-boot/tools/
H A Dimx8image.c316 fprintf(stderr, "Wrong alignment requested %d\n", align);
689 uint32_t alignment, uint32_t flags, uint16_t fuse_version)
694 container->padding = alignment;
688 set_container(flash_header_v3_t *container, uint16_t sw_version, uint32_t alignment, uint32_t flags, uint16_t fuse_version) argument
/u-boot/include/
H A Dmalloc.h38 memalign(size_t alignment, size_t n);
40 in accord with the alignment argument, which must be a power of
60 due to alignment and minimum size constraints.
72 8 byte alignment is currently hardwired into the design. This
746 2. It can lead to more wastage because of mmap page alignment
958 void *memalign_simple(size_t alignment, size_t bytes);
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-bootmem.h19 /* 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 Dcvmx-global-resources.h118 * @aligment specifes the required alignment of the returned base number.
123 int alignment);
/u-boot/arch/mips/mach-octeon/
H A Dcvmx-global-resources.c409 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
H A Dcvmx-bootmem.c385 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...]
/u-boot/arch/arm/lib/
H A Dasmdefs.h50 #define ENTRY_ALIGN(name, alignment) \
53 .align alignment; \
62 #define ENTRY_ALIGN(name, alignment) \
65 .align alignment; \
/u-boot/arch/mips/mach-mtmips/mt7620/
H A Dlowlevel_init.S30 and sp, sp, t0 # force 16 byte alignment

Completed in 154 milliseconds

12