/optee_os-3.20.0/core/arch/arm/plat-sprd/ |
A D | main.c | 38 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 D | platform_config.h | 85 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE), \
|
/optee_os-3.20.0/core/arch/arm/plat-uniphier/ |
A D | main.c | 18 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 D | main.c | 54 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 D | main.c | 82 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 D | platform_config.h | 125 #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 D | generic_ram_layout.h | 165 #define TA_RAM_SIZE (ROUNDDOWN(TZDRAM_BASE + (TZDRAM_SIZE - \
|
/optee_os-3.20.0/core/arch/riscv/include/mm/ |
A D | generic_ram_layout.h | 166 #define TA_RAM_SIZE (ROUNDDOWN(TDDRAM_BASE + (TDDRAM_SIZE - \
|
/optee_os-3.20.0/core/arch/arm/plat-ti/ |
A D | platform_config.h | 137 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE), \
|
/optee_os-3.20.0/core/arch/arm/plat-versal/ |
A D | main.c | 33 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
|
/optee_os-3.20.0/lib/libutils/ext/include/ |
A D | util.h | 76 #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 D | mempool.c | 75 vaddr_t v = ROUNDDOWN(pool->data + sz, sizeof(long) * 2); in init_mpool()
|
/optee_os-3.20.0/core/include/mm/ |
A D | core_mmu.h | 208 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 D | pgt_cache.c | 289 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 D | tee_pager.c | 148 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 D | vm.c | 137 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 D | core_mmu.c | 1049 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 D | tee_mm.c | 49 size = ROUNDDOWN(size - rounded, 1 << shift); in tee_mm_init()
|
/optee_os-3.20.0/core/arch/arm/plat-imx/pm/ |
A D | pm-imx7.c | 124 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 D | aes-gcm-ce.c | 178 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 D | gprof.c | 145 p->lowpc = ROUNDDOWN(lowpc, HISTFRACTION * sizeof(HISTCOUNTER)); in __utee_gprof_init()
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | virtualization.c | 72 return ROUNDDOWN(TA_RAM_SIZE / CFG_VIRT_GUEST_COUNT - in get_ta_ram_size()
|
A D | thread.c | 552 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 D | utils_dmaobj.c | 452 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 D | rng_fortuna.c | 350 uint8_t *b = (uint8_t *)buf + ROUNDDOWN(blen, BLOCK_SIZE); in generate_random_data()
|