Home
last modified time | relevance | path

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

12

/optee_os/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/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/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/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/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/out/arm/export-ta_arm32/host_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/out/arm/export-ta_arm64/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/out/arm/export-ta_arm64/host_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/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/out/arm/export-ta_arm32/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/core/arch/arm/include/mm/
A Dgeneric_ram_layout.h165 #define TA_RAM_SIZE (ROUNDDOWN(TZDRAM_BASE + (TZDRAM_SIZE - \
A Dcore_mmu.h248 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 Dplatform_config.h143 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE) - \
/optee_os/lib/libutils/ext/
A Dmempool.c75 vaddr_t v = ROUNDDOWN(pool->data + sz, sizeof(long) * 2); in init_mpool()
/optee_os/core/mm/
A Dvm.c128 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 Dpm-imx7.c123 map.pa = ROUNDDOWN(IRAM_S_BASE, CORE_MMU_PGDIR_SIZE); in pm_imx7_iram_tbl_init()
/optee_os/core/arch/arm/mm/
A Dcore_mmu.c976 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 Dtee_mm.c49 size = ROUNDDOWN(size - rounded, 1 << shift); in tee_mm_init()
A Dpgt_cache.c476 const vaddr_t base = ROUNDDOWN(begin, CORE_MMU_PGDIR_SIZE); in pgt_alloc_unlocked()
/optee_os/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/lib/libutee/arch/arm/gprof/
A Dgprof.c145 p->lowpc = ROUNDDOWN(lowpc, HISTFRACTION * sizeof(HISTCOUNTER)); in __utee_gprof_init()
/optee_os/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/core/arch/arm/kernel/
A Dvirtualization.c72 return ROUNDDOWN(TA_RAM_SIZE / CFG_VIRT_GUEST_COUNT - in get_ta_ram_size()
/optee_os/core/crypto/
A Drng_fortuna.c350 uint8_t *b = (uint8_t *)buf + ROUNDDOWN(blen, BLOCK_SIZE); in generate_random_data()

Completed in 29 milliseconds

12