/optee_os/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/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/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/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/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/out/arm/export-ta_arm32/host_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/out/arm/export-ta_arm64/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/out/arm/export-ta_arm64/host_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/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/out/arm/export-ta_arm32/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/core/arch/arm/include/mm/ |
A D | generic_ram_layout.h | 165 #define TA_RAM_SIZE (ROUNDDOWN(TZDRAM_BASE + (TZDRAM_SIZE - \
|
A D | core_mmu.h | 248 register_phys_mem(type, ROUNDDOWN(addr, CORE_MMU_PGDIR_SIZE), \ 249 ROUNDUP(size + addr - ROUNDDOWN(addr, CORE_MMU_PGDIR_SIZE), \
|
/optee_os/core/arch/arm/plat-ti/ |
A D | platform_config.h | 143 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE) - \
|
/optee_os/lib/libutils/ext/ |
A D | mempool.c | 75 vaddr_t v = ROUNDDOWN(pool->data + sz, sizeof(long) * 2); in init_mpool()
|
/optee_os/core/mm/ |
A D | vm.c | 128 b = ROUNDDOWN(b, CORE_MMU_PGDIR_SIZE); in get_num_req_pgts() 170 vaddr_t begin = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in rem_um_region() 188 last = MIN(last, ROUNDDOWN(r2->va, CORE_MMU_PGDIR_SIZE)); in rem_um_region() 942 mem[n].offs = ROUNDDOWN(phys_offs + param->u[n].mem.offs, in vm_map_param() 1167 ROUNDDOWN((vaddr_t)ua - region->va, granule); in tee_mmu_user_va2pa_attr() 1259 for (a = ROUNDDOWN(uaddr, addr_incr); a < end_addr; a += addr_incr) { in vm_check_access_rights()
|
/optee_os/core/arch/arm/plat-imx/pm/ |
A D | pm-imx7.c | 123 map.pa = ROUNDDOWN(IRAM_S_BASE, CORE_MMU_PGDIR_SIZE); in pm_imx7_iram_tbl_init()
|
/optee_os/core/arch/arm/mm/ |
A D | core_mmu.c | 976 va = ROUNDDOWN(va, CORE_MMU_PGDIR_SIZE); in assign_mem_va() 981 va = ROUNDDOWN(va, map->region_size); in assign_mem_va() 1063 vaddr_t start = ROUNDDOWN(id_map_start, SMALL_PAGE_SIZE); in mem_map_add_id_map() 1231 vaddr_t start = ROUNDDOWN((vaddr_t)__nozi_start, SMALL_PAGE_SIZE); in core_init_mmu_map() 1233 vaddr_t start = ROUNDDOWN((vaddr_t)__vcore_nex_rw_start, in core_init_mmu_map() 1943 p = ROUNDDOWN(pa, granule); in core_mmu_remove_mapping() 2022 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()
|
A D | pgt_cache.c | 476 const vaddr_t base = ROUNDDOWN(begin, CORE_MMU_PGDIR_SIZE); in pgt_alloc_unlocked()
|
/optee_os/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/lib/libutee/arch/arm/gprof/ |
A D | gprof.c | 145 p->lowpc = ROUNDDOWN(lowpc, HISTFRACTION * sizeof(HISTCOUNTER)); in __utee_gprof_init()
|
/optee_os/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/core/arch/arm/kernel/ |
A D | virtualization.c | 72 return ROUNDDOWN(TA_RAM_SIZE / CFG_VIRT_GUEST_COUNT - in get_ta_ram_size()
|
/optee_os/core/crypto/ |
A D | rng_fortuna.c | 350 uint8_t *b = (uint8_t *)buf + ROUNDDOWN(blen, BLOCK_SIZE); in generate_random_data()
|