Searched refs:ALIGN (Results 1 - 25 of 191) sorted by relevance

12345678

/u-boot/drivers/crypto/fsl/
H A Dfsl_blob.c50 size = ALIGN(16, ARCH_DMA_MINALIGN);
54 size = ALIGN(BLOB_SIZE(len), ARCH_DMA_MINALIGN);
64 size = ALIGN(sizeof(int) * MAX_CAAM_DESCSIZE, ARCH_DMA_MINALIGN);
76 size = ALIGN(len, ARCH_DMA_MINALIGN);
80 size = ALIGN(len, ARCH_DMA_MINALIGN);
122 size = ALIGN(16, ARCH_DMA_MINALIGN);
126 size = ALIGN(len, ARCH_DMA_MINALIGN);
136 size = ALIGN(sizeof(int) * MAX_CAAM_DESCSIZE, ARCH_DMA_MINALIGN);
148 size = ALIGN(BLOB_SIZE(len), ARCH_DMA_MINALIGN);
H A Drng.c29 int size = ALIGN(CAAM_RNG_MAX_FIFO_STORE_SIZE, ARCH_DMA_MINALIGN);
67 ulong size = ALIGN(CAAM_RNG_DESC_LEN, ARCH_DMA_MINALIGN);
H A Dfsl_hash.c195 size = ALIGN(buf_len, ARCH_DMA_MINALIGN);
203 size = ALIGN(sizeof(int) * MAX_CAAM_DESCSIZE, ARCH_DMA_MINALIGN);
205 size = ALIGN(driver_hash[algo].digestsize, ARCH_DMA_MINALIGN);
210 size = ALIGN(driver_hash[algo].digestsize, ARCH_DMA_MINALIGN);
/u-boot/include/linux/
H A Dlinkage.h46 #define ALIGN __ALIGN macro
50 ALIGN ASM_NL \
H A Ddma-mapping.h34 len = ALIGN(len, ARCH_DMA_MINALIGN);
58 len = ALIGN(len, ARCH_DMA_MINALIGN);
/u-boot/lib/efi_loader/
H A Defi_acpi.c30 end = ALIGN(gd->arch.table_end, EFI_PAGE_MASK);
36 end = ALIGN(gd->arch.table_end_high, EFI_PAGE_MASK);
/u-boot/include/
H A Dmemalign.h76 type *name = (type *)ALIGN((uintptr_t)__##name, align)
90 static char __##name[ALIGN(size * sizeof(type), align)] \
112 return memalign(ARCH_DMA_MINALIGN, ALIGN(size, ARCH_DMA_MINALIGN));
H A Dspl_load.h23 read = info->read(info, offset, ALIGN(sizeof(*header),
43 ALIGN(size, spl_get_bl_len(info)),
82 size = ALIGN(spl_image->size + overhead, spl_get_bl_len(info));
/u-boot/drivers/fpga/
H A Dversalpl.c20 if ((ulong)buf != ALIGN((ulong)buf, ARCH_DMA_MINALIGN)) {
21 new_buf = (ulong *)ALIGN((ulong)buf, ARCH_DMA_MINALIGN);
/u-boot/drivers/iommu/
H A Dsandbox_iommu.c28 psize = ALIGN(size + off, IOMMU_PAGE_SIZE);
44 psize = ALIGN(psize, IOMMU_PAGE_SIZE);
/u-boot/boot/
H A Dimage-android.c77 end += ALIGN(hdr->kernel_size, ANDR_GKI_PAGE_SIZE);
80 end += ALIGN(hdr->ramdisk_size, ANDR_GKI_PAGE_SIZE);
83 end += ALIGN(hdr->signature_size, ANDR_GKI_PAGE_SIZE);
110 end += ALIGN(hdr->vendor_ramdisk_size, hdr->page_size);
116 end += ALIGN(hdr->dtb_size, hdr->page_size);
117 end += ALIGN(hdr->vendor_ramdisk_table_size, hdr->page_size);
124 end += ALIGN(data->bootconfig_size, hdr->page_size);
151 end += ALIGN(hdr->kernel_size, hdr->page_size);
155 end += ALIGN(hdr->ramdisk_size, hdr->page_size);
159 end += ALIGN(hd
[all...]
/u-boot/arch/xtensa/include/asm/
H A Dldscript.h52 . = ALIGN(4); \
103 . = ALIGN(16); \
148 . = ALIGN(8); \
165 . = ALIGN(8); \
168 _end = ALIGN(0x8); \
169 PROVIDE(end = ALIGN(0x8)); \
170 _stack_sentry = ALIGN(0x8); \
/u-boot/arch/arm/lib/
H A Dcache.c96 end = ALIGN(mem_malloc_start, MMU_SECTION_SIZE) - MMU_SECTION_SIZE;
97 size = ALIGN(CONFIG_SYS_NONCACHED_MEMORY, MMU_SECTION_SIZE);
113 phys_addr_t next = ALIGN(noncached_next, align);
H A Dimage.c75 *relocated_addr = ALIGN(dst, SZ_2M) + text_offset;
/u-boot/drivers/pci/
H A Dpcie_layerscape_ep.c77 phys = ALIGN(phys, PCIE_BAR0_SIZE);
82 phys = ALIGN(phys + PCIE_BAR0_SIZE, PCIE_BAR1_SIZE);
86 phys = ALIGN(phys + PCIE_BAR1_SIZE, PCIE_BAR2_SIZE);
90 phys = ALIGN(phys + PCIE_BAR2_SIZE, PCIE_BAR4_SIZE);
97 phys = ALIGN(phys + PCIE_BAR4_SIZE, PCIE_BAR0_SIZE);
101 phys = ALIGN(phys + PCIE_BAR0_SIZE * PCIE_VF_NUM,
106 phys = ALIGN(phys + PCIE_BAR1_SIZE * PCIE_VF_NUM,
111 phys = ALIGN(phys + PCIE_BAR2_SIZE * PCIE_VF_NUM,
/u-boot/common/
H A Dmalloc_simple.c25 addr = ALIGN(gd->malloc_base + gd->malloc_ptr, align);
35 gd->malloc_ptr = ALIGN(new_ptr, sizeof(new_ptr));
/u-boot/arch/mips/lib/
H A Dcache.c216 end = ALIGN(mem_malloc_start, MMU_SECTION_SIZE) - MMU_SECTION_SIZE;
217 size = ALIGN(CONFIG_SYS_NONCACHED_MEMORY, MMU_SECTION_SIZE);
231 phys_addr_t next = ALIGN(noncached_next, align);
/u-boot/drivers/mmc/
H A Dfsl_esdhc_spl.c44 blk_start = ALIGN(offs, mmc->read_bl_len) / mmc->read_bl_len;
45 blk_cnt = ALIGN(size, mmc->read_bl_len) / mmc->read_bl_len;
168 blk_cnt = ALIGN(code_len, mmc->read_bl_len) / mmc->read_bl_len + 1;
/u-boot/common/spl/
H A Dspl_imx_container.c41 size = ALIGN(images[image_index].size, spl_get_bl_len(info));
69 size = ALIGN(CONTAINER_HDR_ALIGNMENT, spl_get_bl_len(info));
103 size = ALIGN(length, spl_get_bl_len(info));
/u-boot/drivers/phy/
H A Dphy-core-mipi-dphy.c32 ui = ALIGN(PSEC_PER_SEC, hs_clk_rate);
88 ui = ALIGN(PSEC_PER_SEC, cfg->hs_clk_rate);
/u-boot/arch/mips/mach-mtmips/mt7621/spl/
H A Dspl.c93 addr = ALIGN(addr, SZ_4K);
/u-boot/drivers/video/
H A Dbcm2835.c39 fb_end = ALIGN(fb_end, 1 << MMU_SECTION_SHIFT);
/u-boot/arch/arm/mach-stm32mp/
H A Ddram_init.c66 size = ALIGN(SZ_8M + CONFIG_SYS_MALLOC_LEN + total_size, MMU_SECTION_SIZE),
/u-boot/arch/arm/cpu/armv7/
H A Dvirt-v7.c58 unsigned long szflush = ALIGN(sz + 1, CONFIG_SYS_CACHELINE_SIZE);
/u-boot/board/xilinx/versal-net/
H A Dcmds.c54 pdi_buf = (ulong *)ALIGN((ulong)addr, ARCH_DMA_MINALIGN);

Completed in 124 milliseconds

12345678