Home
last modified time | relevance | path

Searched refs:roundup (Results 1 – 25 of 61) sorted by relevance

123

/u-boot/drivers/bootcount/
A Dbootcount.c24 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 Dsec-common.c92 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 Dcmds.c146 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 Delf.c48 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 Dfsl_blob.c169 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 Dftgmac100.c342 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 Dfec_mxc.c348 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 Ddesignware.c371 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 Dzynq_gem.c542 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 Dmbox.c119 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 Dppa.c94 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 Dparse-container.c97 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 Dcpu.c291 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 Dboard_init.c153 base += roundup(sizeof(struct global_data), 16); in board_init_f_init_reserve()
/u-boot/common/
A Dbouncebuf.c44 state->len_aligned = roundup(len, alignment); in bounce_buffer_start_extalign()
/u-boot/drivers/remoteproc/
A Drproc-elf-loader.c199 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 Dpblimage.c11 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro
286 uboot_size = roundup(st.st_size, 64); in pblimage_check_params()
A Dmxsimage.h16 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro
/u-boot/arch/x86/cpu/coreboot/
A Dsdram.c63 uint64_t start = roundup(memrange->base, 1 << 12); in board_get_usable_ram_top()
/u-boot/drivers/usb/gadget/
A Dci_udc.c44 #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 Dzynqpl.c394 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 Dzynqmp_gqspi.c568 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 Dspl_spi.c128 roundup(fdt_totalsize(header), 4), in spl_spi_load_image()
/u-boot/board/xilinx/zynq/
A Dcmds.c485 srclen = roundup(srclen, 4); in zynq_decrypt_image()
487 dstlen = roundup(dstlen, 4); in zynq_decrypt_image()
/u-boot/drivers/dma/
A Dapbh_dma.c95 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()

Completed in 37 milliseconds

123