Home
last modified time | relevance | path

Searched refs:ROUNDDOWN (Results 1 – 25 of 32) sorted by relevance

12

/optee_os/core/arch/arm/plat-sprd/
H A Dmain.c37 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
41 ROUNDDOWN(GIC_BASE, CORE_MMU_PGDIR_SIZE),
45 ROUNDDOWN(GIC_BASE + GICD_OFFSET, CORE_MMU_PGDIR_SIZE),
H A Dplatform_config.h85 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE), \
/optee_os/core/arch/arm/plat-uniphier/
H A Dmain.c18 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
22 ROUNDDOWN(GIC_BASE, CORE_MMU_PGDIR_SIZE),
26 ROUNDDOWN(GIC_BASE + GICD_OFFSET, CORE_MMU_PGDIR_SIZE),
/optee_os/core/arch/arm/plat-zynqmp/
H A Dmain.c52 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
56 ROUNDDOWN(GIC_BASE, CORE_MMU_PGDIR_SIZE),
60 ROUNDDOWN(GIC_BASE + GICD_OFFSET, CORE_MMU_PGDIR_SIZE),
/optee_os/core/arch/arm/plat-imx/
H A Dmain.c75 ROUNDDOWN(IRAM_BASE, CORE_MMU_PGDIR_SIZE),
83 ROUNDDOWN(IRAM_S_BASE, CORE_MMU_PGDIR_SIZE),
89 ROUNDDOWN(PL310_BASE, CORE_MMU_PGDIR_SIZE),
/optee_os/core/arch/arm/plat-poplar/
H A Dplatform_config.h125 #define TA_RAM_SIZE ROUNDDOWN(TZDRAM_SIZE, CORE_MMU_PGDIR_SIZE)
137 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE),\
/optee_os/core/arch/arm/plat-versal2/
H A Dmain.c26 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
/optee_os/core/mm/
H A Dboot_mem.c156 asan_tag_access((void *)ROUNDDOWN(boot_mem_desc->orig_mem_start, in boot_mem_init_asan()
159 asan_tag_access((void *)ROUNDDOWN(boot_mem_desc->mem_end, in boot_mem_init_asan()
313 tmp_va = ROUNDDOWN(boot_mem_desc->mem_end, SMALL_PAGE_SIZE); in boot_mem_release_unused()
358 va = ROUNDDOWN(boot_mem_desc->mem_end, SMALL_PAGE_SIZE); in boot_mem_release_tmp_alloc()
H A Dpgt_cache.c291 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_check_avail()
315 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_check_avail()
782 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_alloc_unlocked()
811 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_check_avail()
H A Dvm.c136 vaddr_t begin = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in rem_um_region()
158 last = MIN(last, ROUNDDOWN(r2->va, CORE_MMU_PGDIR_SIZE)); in rem_um_region()
223 for (ti.va_base = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in set_um_region()
998 mem[n].offs = ROUNDDOWN(phys_offs + param->u[n].mem.offs, in vm_map_param()
H A Dcore_mmu.c1318 va = ROUNDDOWN(va, CORE_MMU_PGDIR_SIZE); in assign_mem_va_dir()
1322 va = ROUNDDOWN(va, CORE_MMU_PGDIR_SIZE); in assign_mem_va_dir()
1458 vaddr_t start = ROUNDDOWN(id_map_start, SMALL_PAGE_SIZE); in mem_map_add_id_map()
1613 vaddr_t start = ROUNDDOWN((vaddr_t)__nozi_start, SMALL_PAGE_SIZE); in core_init_mmu_map()
1615 vaddr_t start = ROUNDDOWN((vaddr_t)__vcore_nex_rw_start, in core_init_mmu_map()
2214 va = ROUNDDOWN(vstart, SMALL_PAGE_SIZE); in maybe_remove_from_mem_map()
/optee_os/core/arch/riscv/include/mm/
H A Dgeneric_ram_layout.h166 #define TA_RAM_SIZE (ROUNDDOWN(TDDRAM_BASE + (TDDRAM_SIZE - \
/optee_os/core/arch/arm/plat-ti/
H A Dplatform_config.h137 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE), \
/optee_os/core/arch/arm/plat-versal/
H A Dmain.c31 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
/optee_os/core/kernel/
H A Dasan.c196 b = ROUNDDOWN(addr, ASAN_BLOCK_SIZE) - ASAN_BLOCK_SIZE; in asan_report()
197 e = ROUNDDOWN(addr, ASAN_BLOCK_SIZE) + ASAN_BLOCK_SIZE; in asan_report()
437 void *bottom = (void *)ROUNDDOWN((vaddr_t)&top, in asan_handle_longjmp()
H A Ddt.c998 pa = ROUNDDOWN(pa, SMALL_PAGE_SIZE); in reinit_manifest_dt()
/optee_os/lib/libutils/ext/
H A Dmempool.c76 vaddr_t v = ROUNDDOWN(pool->data + sz, sizeof(long) * 2); in init_mpool()
/optee_os/lib/libutils/ext/include/
H A Dutil.h139 #define ROUNDDOWN(x, y) (((x) / (__typeof__(x))(y)) * (__typeof__(x))(y)) macro
161 #define ROUNDDOWN(x, y) (((x) / (y)) * (y)) macro
/optee_os/core/include/mm/
H A Dcore_mmu.h217 __register_memory(#addr, type, ROUNDDOWN(addr, CORE_MMU_PGDIR_SIZE), \
219 ROUNDDOWN(addr, CORE_MMU_PGDIR_SIZE), \
/optee_os/core/arch/arm/crypto/
H A Daes-gcm-ce.c178 size_t nb = ROUNDDOWN(num_blocks, 2); in internal_aes_gcm_update_payload_blocks()
/optee_os/lib/libutee/arch/arm/gprof/
H A Dgprof.c145 p->lowpc = ROUNDDOWN(lowpc, HISTFRACTION * sizeof(HISTCOUNTER)); in __utee_gprof_init()
/optee_os/core/drivers/
H A Dimsic.c122 isel = ROUNDDOWN(id, RISCV_XLEN_BITS) / IMSIC_EIPx_BITS; in imsic_local_eix_update()
/optee_os/core/drivers/crypto/stm32/
H A Dstm32_saes.c849 while (i < ROUNDDOWN(data_size, AES_BLOCK_SIZE)) { in stm32_saes_update_load()
1004 (ROUNDDOWN(data_size, AES_BLOCK_SIZE) != data_size)) { in stm32_saes_update()
1187 processed = ROUNDDOWN(data_size - 1, AES_BLOCK_SIZE); in stm32_saes_cmac_prf_128()
/optee_os/core/crypto/
H A Drng_fortuna.c350 uint8_t *b = (uint8_t *)buf + ROUNDDOWN(blen, BLOCK_SIZE); in generate_random_data()
/optee_os/core/arch/arm/kernel/
H A Dvirtualization.c109 return ROUNDDOWN(ta_size / CFG_VIRT_GUEST_COUNT - VCORE_UNPG_RW_SZ - in get_ta_ram_size()

12