Home
last modified time | relevance | path

Searched refs:region_size (Results 1 – 6 of 6) sorted by relevance

/optee_os-3.20.0/core/drivers/
A Dtzc380.c227 uint64_t region_size = 0; in tzc_auto_configure() local
246 region_size = 1ULL << pow; in tzc_auto_configure()
249 if ((address % region_size == 0) && in tzc_auto_configure()
250 ((address + lsize) % region_size == 0)) { in tzc_auto_configure()
256 address += region_size; in tzc_auto_configure()
257 lsize -= region_size; in tzc_auto_configure()
263 sub_region_size = region_size / 8; in tzc_auto_configure()
266 sub_address = (address / region_size) * region_size; in tzc_auto_configure()
/optee_os-3.20.0/core/arch/arm/plat-imx/pm/
A Dpm-imx7.c113 map.region_size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init()
127 map.region_size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init()
135 map.region_size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dvirtualization.c118 map[entries - 1].region_size = SMALL_PAGE_SIZE; in prepare_memory_map()
119 map[entries - 1].va = ROUNDUP(max_va, map[entries - 1].region_size); in prepare_memory_map()
132 map[i].region_size, map[i].pa, map[i].va, in prepare_memory_map()
A Dspmc_sp_handler.c954 size_t region_size = 0; in handle_mem_perm_set() local
973 if (MUL_OVERFLOW(args->a2, SMALL_PAGE_SIZE, &region_size)) in handle_mem_perm_set()
1005 res = vm_set_prot(&sp_ctx->uctx, args->a1, region_size, attrs); in handle_mem_perm_set()
/optee_os-3.20.0/core/mm/
A Dcore_mmu.c781 return mm->region_size == CORE_MMU_PGDIR_SIZE; in map_is_pgdir()
908 mmap[pos].region_size = SMALL_PAGE_SIZE; in add_pager_vaspace()
970 map->region_size = CORE_MMU_PGDIR_SIZE; in assign_mem_granularity()
972 map->region_size = SMALL_PAGE_SIZE; in assign_mem_granularity()
977 map->region_size = SMALL_PAGE_SIZE; in assign_mem_granularity()
1025 assert(!(va & (map->region_size - 1))); in assign_mem_va_dir()
1054 va = ROUNDDOWN(va, map->region_size); in assign_mem_va_dir()
1153 rc = CMP_TRILEAN(mm_a->region_size, mm_b->region_size); in cmp_init_mem_map()
1192 .region_size = SMALL_PAGE_SIZE, in mem_map_add_id_map()
1357 .region_size = SMALL_PAGE_SIZE, in core_init_mmu_map()
[all …]
/optee_os-3.20.0/core/include/mm/
A Dtee_mmu_types.h86 unsigned int region_size; member

Completed in 13 milliseconds