/u-boot/drivers/bootcount/ |
A D | bootcount.c | 24 flush_end = roundup(CONFIG_SYS_BOOTCOUNT_ADDR + 4, in bootcount_store() 30 flush_end = roundup(CONFIG_SYS_BOOTCOUNT_ADDR + 8, in bootcount_store() 102 flush_end = roundup(priv->base + 4, in bootcount_mem_set() 107 flush_end = roundup(priv->base + 8, in bootcount_mem_set()
|
/u-boot/arch/arm/mach-omap2/ |
A D | sec-common.c | 92 roundup(sizeof(secure_rom_call_args), ARCH_DMA_MINALIGN)); in secure_rom_call() 123 roundup((u32)*image + *size, ARCH_DMA_MINALIGN)); in secure_boot_verify_image() 165 roundup((u32)*image + *size, ARCH_DMA_MINALIGN)); in secure_boot_verify_image() 344 roundup((u32)loadptr + tee_file_size, ARCH_DMA_MINALIGN)); in secure_tee_install() 347 roundup(sizeof(tee_info), ARCH_DMA_MINALIGN)); in secure_tee_install() 366 roundup(sizeof(u32), ARCH_DMA_MINALIGN)); in secure_tee_install()
|
/u-boot/board/xilinx/zynqmp/ |
A D | cmds.c | 146 roundup(sizeof(struct aes), ARCH_DMA_MINALIGN)); in do_zynqmp_aes() 151 roundup(aes->len, ARCH_DMA_MINALIGN))); in do_zynqmp_aes() 154 roundup(IV_SIZE, ARCH_DMA_MINALIGN))); in do_zynqmp_aes() 157 roundup(aes->len, ARCH_DMA_MINALIGN))); in do_zynqmp_aes() 168 roundup(KEY_PTR_LEN, in do_zynqmp_aes() 271 (ulong)(srcaddr) + roundup(size, ARCH_DMA_MINALIGN)); in do_zynqmp_rsa() 308 hashaddr + roundup(ZYNQMP_SHA3_SIZE, in do_zynqmp_sha3() 321 srcaddr + roundup(srclen, ARCH_DMA_MINALIGN)); in do_zynqmp_sha3()
|
/u-boot/lib/ |
A D | elf.c | 48 roundup(phdr->p_memsz, ARCH_DMA_MINALIGN)); in load_elf64_image_phdr() 111 roundup((shdr->sh_addr + shdr->sh_size), in load_elf64_image_shdr() 163 roundup(phdr->p_memsz, ARCH_DMA_MINALIGN)); in load_elf_image_phdr() 216 roundup((shdr->sh_addr + shdr->sh_size), in load_elf_image_shdr()
|
/u-boot/drivers/crypto/fsl/ |
A D | fsl_blob.c | 169 size = roundup(sizeof(uint32_t) * DEK_BLOB_DESCSIZE, in blob_dek() 173 size = roundup(sizeof(uint8_t) * out_sz, ARCH_DMA_MINALIGN); in blob_dek() 185 size = roundup(out_sz, ARCH_DMA_MINALIGN); in blob_dek()
|
/u-boot/drivers/net/ |
A D | ftgmac100.c | 342 end = start + roundup(sizeof(priv->txdes), ARCH_DMA_MINALIGN); in ftgmac100_start() 352 end = start + roundup(sizeof(priv->rxdes), ARCH_DMA_MINALIGN); in ftgmac100_start() 403 roundup(sizeof(*curr_des), ARCH_DMA_MINALIGN); in ftgmac100_free_pkt() 425 roundup(sizeof(*curr_des), ARCH_DMA_MINALIGN); in ftgmac100_recv() 448 data_end = data_start + roundup(rxlen, ARCH_DMA_MINALIGN); in ftgmac100_recv() 459 ulong des_end = des_start + roundup(sizeof(*txdes), ARCH_DMA_MINALIGN); in ftgmac100_read_txdesc() 478 roundup(sizeof(*curr_des), ARCH_DMA_MINALIGN); in BUILD_WAIT_FOR_BIT() 498 data_end = data_start + roundup(length, ARCH_DMA_MINALIGN); in BUILD_WAIT_FOR_BIT()
|
A D | fec_mxc.c | 348 size = roundup(dsize, ARCH_DMA_MINALIGN); in fec_rbd_init() 381 unsigned size = roundup(2 * sizeof(struct fec_bd), in fec_tbd_init() 494 size = roundup(FEC_RBD_NUM * sizeof(struct fec_bd), in fec_open() 745 end = roundup(addr + length, ARCH_DMA_MINALIGN); in fecmxc_send() 769 size = roundup(2 * sizeof(struct fec_bd), ARCH_DMA_MINALIGN); in fecmxc_send() 937 size = roundup(sizeof(struct fec_bd), ARCH_DMA_MINALIGN); in fecmxc_recv() 950 end = roundup(addr + frame_length, ARCH_DMA_MINALIGN); in fecmxc_recv() 1011 size = roundup(2 * sizeof(struct fec_bd), ARCH_DMA_MINALIGN); in fec_alloc_descs() 1017 size = roundup(FEC_RBD_NUM * sizeof(struct fec_bd), ARCH_DMA_MINALIGN); in fec_alloc_descs() 1027 size = roundup(FEC_MAX_PKT_SIZE, FEC_DMA_RX_MINALIGN); in fec_alloc_descs()
|
A D | designware.c | 371 roundup(sizeof(*desc_p), ARCH_DMA_MINALIGN); in _dw_eth_send() 373 ulong data_end = data_start + roundup(length, ARCH_DMA_MINALIGN); in _dw_eth_send() 438 roundup(sizeof(*desc_p), ARCH_DMA_MINALIGN); in _dw_eth_recv() 454 data_end = data_start + roundup(length, ARCH_DMA_MINALIGN); in _dw_eth_recv() 468 roundup(sizeof(*desc_p), ARCH_DMA_MINALIGN); in _dw_free_pkt()
|
A D | zynq_gem.c | 542 size = roundup(len, ARCH_DMA_MINALIGN); in zynq_gem_send() 590 invalidate_dcache_range(addr, addr + roundup(PKTSIZE_ALIGN, ARCH_DMA_MINALIGN)); in zynq_gem_recv() 623 flush_dcache_range(addr, addr + roundup(PKTSIZE_ALIGN, in zynq_gem_free_pkt() 691 flush_dcache_range(addr, addr + roundup(RX_BUF * PKTSIZE_ALIGN, ARCH_DMA_MINALIGN)); in zynq_gem_probe()
|
/u-boot/arch/arm/mach-bcm283x/ |
A D | mbox.c | 119 roundup(buffer->buf_size, ARCH_DMA_MINALIGN))); in bcm2835_mbox_call_prop() 129 roundup(buffer->buf_size, ARCH_DMA_MINALIGN))); in bcm2835_mbox_call_prop()
|
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
A D | ppa.c | 94 fitp = malloc(roundup(fdt_header_len, 512)); in ppa_init() 97 roundup(fdt_header_len, 512)); in ppa_init() 143 fw_length = roundup(fw_length, 512); in ppa_init()
|
/u-boot/arch/arm/mach-imx/imx8/ |
A D | parse-container.c | 97 sectors = roundup(images[image_index].size, info->bl_len) / in read_auth_image() 128 size = roundup(CONTAINER_HDR_ALIGNMENT, info->bl_len); in read_auth_container() 156 size = roundup(length, info->bl_len); in read_auth_container()
|
A D | cpu.c | 291 start_aligned = roundup(start, MEMSTART_ALIGNMENT); in get_effective_memsize() 329 start = roundup(start, MEMSTART_ALIGNMENT); in dram_init() 397 start = roundup(start, MEMSTART_ALIGNMENT); in dram_init_banksize()
|
/u-boot/common/init/ |
A D | board_init.c | 153 base += roundup(sizeof(struct global_data), 16); in board_init_f_init_reserve()
|
/u-boot/common/ |
A D | bouncebuf.c | 44 state->len_aligned = roundup(len, alignment); in bounce_buffer_start_extalign()
|
/u-boot/drivers/remoteproc/ |
A D | rproc-elf-loader.c | 199 roundup((unsigned long)dst + phdr->p_filesz, 254 roundup((ulong)ptr + filesz, ARCH_DMA_MINALIGN) - 402 roundup((unsigned long)dst + *rsc_size, 511 roundup((unsigned long)dst + *rsc_size,
|
/u-boot/tools/ |
A D | pblimage.c | 11 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro 286 uboot_size = roundup(st.st_size, 64); in pblimage_check_params()
|
A D | mxsimage.h | 16 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro
|
/u-boot/arch/x86/cpu/coreboot/ |
A D | sdram.c | 63 uint64_t start = roundup(memrange->base, 1 << 12); in board_get_usable_ram_top()
|
/u-boot/drivers/usb/gadget/ |
A D | ci_udc.c | 44 #define ILIST_ALIGN roundup(ARCH_DMA_MINALIGN, 32) 51 #define ILIST_ENT_SZ roundup(ILIST_ENT_RAW_SZ, ILIST_ALIGN) 392 ci_req->b_len = roundup(req->length, ARCH_DMA_MINALIGN); in ci_bounce() 405 aligned_used_len = roundup(req->length, ARCH_DMA_MINALIGN); in ci_bounce() 421 aligned_used_len = roundup(req->actual, ARCH_DMA_MINALIGN); in ci_debounce() 932 const int eplist_align = roundup(eplist_min_align, ARCH_DMA_MINALIGN); in ci_udc_probe() 934 const int eplist_sz = roundup(eplist_raw_sz, ARCH_DMA_MINALIGN); in ci_udc_probe()
|
/u-boot/drivers/fpga/ |
A D | zynqpl.c | 394 roundup(bsize, ARCH_DMA_MINALIGN)); in zynq_load() 546 roundup(srclen << 2, ARCH_DMA_MINALIGN)); in zynq_decrypt_load() 553 roundup(dstlen << 2, ARCH_DMA_MINALIGN)); in zynq_decrypt_load()
|
/u-boot/drivers/spi/ |
A D | zynqmp_gqspi.c | 568 writel(roundup(priv->len, ARCH_DMA_MINALIGN), &dma_regs->dmasize); in zynqmp_qspi_start_dma() 571 size = roundup(priv->len, ARCH_DMA_MINALIGN); in zynqmp_qspi_start_dma() 579 gen_fifo_cmd |= roundup(len, ARCH_DMA_MINALIGN); in zynqmp_qspi_start_dma() 626 ALLOC_CACHE_ALIGN_BUFFER(u8, tmp, roundup(priv->len, in zynqmp_qspi_genfifo_fill_rx()
|
/u-boot/common/spl/ |
A D | spl_spi.c | 128 roundup(fdt_totalsize(header), 4), in spl_spi_load_image()
|
/u-boot/board/xilinx/zynq/ |
A D | cmds.c | 485 srclen = roundup(srclen, 4); in zynq_decrypt_image() 487 dstlen = roundup(dstlen, 4); in zynq_decrypt_image()
|
/u-boot/drivers/dma/ |
A D | apbh_dma.c | 95 size = roundup(sizeof(struct mxs_dma_desc), MXS_DMA_ALIGNMENT); in mxs_dma_flush_desc() 348 size = roundup(sizeof(struct mxs_dma_desc), MXS_DMA_ALIGNMENT); in mxs_dma_desc_alloc()
|