Home
last modified time | relevance | path

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

12

/optee_os-3.20.0/core/arch/arm/plat-sprd/
A Dmain.c38 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
42 ROUNDDOWN(GIC_BASE, CORE_MMU_PGDIR_SIZE),
46 ROUNDDOWN(GIC_BASE + GICD_OFFSET, CORE_MMU_PGDIR_SIZE),
A Dplatform_config.h85 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE), \
/optee_os-3.20.0/core/arch/arm/plat-uniphier/
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-3.20.0/core/arch/arm/plat-zynqmp/
A Dmain.c54 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
58 ROUNDDOWN(GIC_BASE, CORE_MMU_PGDIR_SIZE),
62 ROUNDDOWN(GIC_BASE + GICD_OFFSET, CORE_MMU_PGDIR_SIZE),
/optee_os-3.20.0/core/arch/arm/plat-imx/
A Dmain.c82 ROUNDDOWN(IRAM_BASE, CORE_MMU_PGDIR_SIZE),
90 ROUNDDOWN(IRAM_S_BASE, CORE_MMU_PGDIR_SIZE),
96 ROUNDDOWN(PL310_BASE, CORE_MMU_PGDIR_SIZE),
/optee_os-3.20.0/core/arch/arm/plat-poplar/
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-3.20.0/core/arch/arm/include/mm/
A Dgeneric_ram_layout.h165 #define TA_RAM_SIZE (ROUNDDOWN(TZDRAM_BASE + (TZDRAM_SIZE - \
/optee_os-3.20.0/core/arch/riscv/include/mm/
A Dgeneric_ram_layout.h166 #define TA_RAM_SIZE (ROUNDDOWN(TDDRAM_BASE + (TDDRAM_SIZE - \
/optee_os-3.20.0/core/arch/arm/plat-ti/
A Dplatform_config.h137 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE), \
/optee_os-3.20.0/core/arch/arm/plat-versal/
A Dmain.c33 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
/optee_os-3.20.0/lib/libutils/ext/include/
A Dutil.h76 #define ROUNDDOWN(v, size) ((v) & ~((__typeof__(v))(size) - 1)) macro
91 #define ROUNDDOWN(x, y) (((x) / (y)) * (y)) macro
/optee_os-3.20.0/lib/libutils/ext/
A Dmempool.c75 vaddr_t v = ROUNDDOWN(pool->data + sz, sizeof(long) * 2); in init_mpool()
/optee_os-3.20.0/core/include/mm/
A Dcore_mmu.h208 register_phys_mem(type, ROUNDDOWN(addr, CORE_MMU_PGDIR_SIZE), \
209 ROUNDUP(size + addr - ROUNDDOWN(addr, CORE_MMU_PGDIR_SIZE), \
/optee_os-3.20.0/core/arch/arm/mm/
A Dpgt_cache.c289 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_check_avail()
313 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_check_avail()
778 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_alloc_unlocked()
807 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_check_avail()
A Dtee_pager.c148 ROUNDDOWN(VCORE_START_VA, CORE_MMU_PGDIR_SIZE))
1974 vaddr_t end = ROUNDDOWN(va + size, SMALL_PAGE_SIZE); in tee_pager_release_phys()
/optee_os-3.20.0/core/mm/
A Dvm.c137 vaddr_t begin = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in rem_um_region()
159 last = MIN(last, ROUNDDOWN(r2->va, CORE_MMU_PGDIR_SIZE)); in rem_um_region()
224 for (ti.va_base = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in set_um_region()
999 mem[n].offs = ROUNDDOWN(phys_offs + param->u[n].mem.offs, in vm_map_param()
1228 ROUNDDOWN((vaddr_t)ua - region->va, granule); in tee_mmu_user_va2pa_attr()
1320 for (a = ROUNDDOWN(uaddr, addr_incr); a < end_addr; a += addr_incr) { in vm_check_access_rights()
A Dcore_mmu.c1049 va = ROUNDDOWN(va, CORE_MMU_PGDIR_SIZE); in assign_mem_va_dir()
1054 va = ROUNDDOWN(va, map->region_size); in assign_mem_va_dir()
1172 vaddr_t start = ROUNDDOWN(id_map_start, SMALL_PAGE_SIZE); in mem_map_add_id_map()
1340 vaddr_t start = ROUNDDOWN((vaddr_t)__nozi_start, SMALL_PAGE_SIZE); in core_init_mmu_map()
1342 vaddr_t start = ROUNDDOWN((vaddr_t)__vcore_nex_rw_start, in core_init_mmu_map()
1950 p = ROUNDDOWN(pa, granule); in core_mmu_remove_mapping()
2029 p = ROUNDDOWN(addr, granule); in core_mmu_add_mapping()
A Dtee_mm.c49 size = ROUNDDOWN(size - rounded, 1 << shift); in tee_mm_init()
/optee_os-3.20.0/core/arch/arm/plat-imx/pm/
A Dpm-imx7.c124 map.pa = ROUNDDOWN(IRAM_S_BASE, CORE_MMU_PGDIR_SIZE); in pm_imx7_iram_tbl_init()
/optee_os-3.20.0/core/arch/arm/crypto/
A Daes-gcm-ce.c178 size_t nb = ROUNDDOWN(num_blocks, 2); in internal_aes_gcm_update_payload_blocks()
/optee_os-3.20.0/lib/libutee/arch/arm/gprof/
A Dgprof.c145 p->lowpc = ROUNDDOWN(lowpc, HISTFRACTION * sizeof(HISTCOUNTER)); in __utee_gprof_init()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dvirtualization.c72 return ROUNDDOWN(TA_RAM_SIZE / CFG_VIRT_GUEST_COUNT - in get_ta_ram_size()
A Dthread.c552 thread_user_kcode_va = ROUNDDOWN(v, CORE_MMU_USER_CODE_SIZE); in init_user_kcode()
/optee_os-3.20.0/core/drivers/crypto/caam/utils/
A Dutils_dmaobj.c452 va_end_align = ROUNDDOWN(va_end, cacheline_size); in check_buffer_alignment()
1121 alloc_size = ROUNDDOWN(alloc_size, 1024); in get_dma_max_alloc_size()
1295 max_length = ROUNDDOWN(priv->dmabuf.allocated, align); in caam_dmaobj_sgtbuf_build()
/optee_os-3.20.0/core/crypto/
A Drng_fortuna.c350 uint8_t *b = (uint8_t *)buf + ROUNDDOWN(blen, BLOCK_SIZE); in generate_random_data()

Completed in 34 milliseconds

12