Home
last modified time | relevance | path

Searched refs:rounddown (Results 1 – 14 of 14) sorted by relevance

/u-boot/lib/
A Delf.c47 flush_cache(rounddown((unsigned long)dst, ARCH_DMA_MINALIGN), in load_elf64_image_phdr()
110 flush_cache(rounddown(shdr->sh_addr, ARCH_DMA_MINALIGN), in load_elf64_image_shdr()
113 rounddown(shdr->sh_addr, ARCH_DMA_MINALIGN)); in load_elf64_image_shdr()
162 flush_cache(rounddown((unsigned long)dst, ARCH_DMA_MINALIGN), in load_elf_image_phdr()
215 flush_cache(rounddown(shdr->sh_addr, ARCH_DMA_MINALIGN), in load_elf_image_shdr()
218 rounddown(shdr->sh_addr, ARCH_DMA_MINALIGN)); in load_elf_image_shdr()
/u-boot/drivers/remoteproc/
A Drproc-elf-loader.c198 flush_cache(rounddown((unsigned long)dst, ARCH_DMA_MINALIGN),
201 rounddown((unsigned long)dst, ARCH_DMA_MINALIGN));
253 flush_cache(rounddown((ulong)ptr, ARCH_DMA_MINALIGN),
255 rounddown((ulong)ptr, ARCH_DMA_MINALIGN));
401 flush_cache(rounddown((unsigned long)dst, ARCH_DMA_MINALIGN),
404 rounddown((unsigned long)dst, ARCH_DMA_MINALIGN));
510 flush_cache(rounddown((unsigned long)dst, ARCH_DMA_MINALIGN),
513 rounddown((unsigned long)dst, ARCH_DMA_MINALIGN));
/u-boot/drivers/bootcount/
A Dbootcount.c17 uintptr_t flush_start = rounddown(CONFIG_SYS_BOOTCOUNT_ADDR, in bootcount_store()
96 uintptr_t flush_start = rounddown(priv->base, in bootcount_mem_set()
/u-boot/arch/arm/mach-omap2/
A Dsec-common.c122 rounddown((u32)*image, ARCH_DMA_MINALIGN), in secure_boot_verify_image()
164 rounddown((u32)*image, ARCH_DMA_MINALIGN), in secure_boot_verify_image()
343 rounddown((u32)loadptr, ARCH_DMA_MINALIGN), in secure_tee_install()
/u-boot/common/init/
A Dboard_init.c85 top = rounddown(top-sizeof(struct global_data), 16); in board_init_f_alloc_reserve()
/u-boot/arch/x86/cpu/slimbootloader/
A Dsdram.c82 addr_end = rounddown(addr_end - total_size, SZ_4K); in board_get_usable_ram_top()
/u-boot/include/linux/
A Dkernel.h90 #define rounddown(x, y) ( \ macro
/u-boot/drivers/net/
A Dsni_ave.c236 invalidate_dcache_range(rounddown(vaddr, ARCH_DMA_MINALIGN), in ave_cache_invalidate()
242 flush_dcache_range(rounddown(vaddr, ARCH_DMA_MINALIGN), in ave_cache_flush()
A Dbcmgenet.c276 ulong packet_aligned = rounddown((ulong)packet, ARCH_DMA_MINALIGN); in bcmgenet_gmac_eth_send()
A Ddwc_eth_qos.c392 unsigned long start = rounddown((unsigned long)buf, ARCH_DMA_MINALIGN); in eqos_inval_buffer_generic()
406 unsigned long start = rounddown((unsigned long)buf, ARCH_DMA_MINALIGN); in eqos_flush_buffer_generic()
/u-boot/drivers/mmc/
A Dstm32_sdmmc2.c232 ctx->cache_start = rounddown(idmabase0, ARCH_DMA_MINALIGN); in stm32_sdmmc2_start_data()
/u-boot/drivers/spi/
A Dcadence_qspi_apb.c738 bb_txbuf + rounddown(write_bytes, 4), in cadence_qspi_apb_indirect_write_execute()
/u-boot/drivers/tee/optee/
A Dcore.c113 buf_base = (u8 *)rounddown((ulong)buf, page_size); in optee_alloc_and_init_page_list()
/u-boot/drivers/ddr/altera/
A Dsequencer.c1896 tmp_delay = rounddown(work_mid, seq->iocfg->delay_per_opa_tap); in sdr_find_window_center()

Completed in 31 milliseconds