Searched refs:tbl_info (Results 1 – 5 of 5) sorted by relevance
/optee_os-3.20.0/core/include/mm/ |
A D | core_mmu.h | 392 struct core_mmu_table_info *tbl_info); 402 bool core_mmu_entry_to_finer_grained(struct core_mmu_table_info *tbl_info, 417 void core_mmu_set_entry(struct core_mmu_table_info *tbl_info, unsigned idx, 430 void core_mmu_get_entry(struct core_mmu_table_info *tbl_info, unsigned idx, 439 static inline unsigned core_mmu_va2idx(struct core_mmu_table_info *tbl_info, in core_mmu_va2idx() argument 442 return (va - tbl_info->va_base) >> tbl_info->shift; in core_mmu_va2idx() 451 static inline vaddr_t core_mmu_idx2va(struct core_mmu_table_info *tbl_info, in core_mmu_idx2va() argument 454 return (idx << tbl_info->shift) + tbl_info->va_base; in core_mmu_idx2va() 464 struct core_mmu_table_info *tbl_info, paddr_t pa) in core_mmu_get_block_offset() argument 466 return pa & ((1 << tbl_info->shift) - 1); in core_mmu_get_block_offset() [all …]
|
/optee_os-3.20.0/core/arch/arm/mm/ |
A D | core_mmu_lpae.c | 576 prtn = tbl_info->prtn; in core_mmu_entry_copy() 582 if (idx >= tbl_info->num_entries) in core_mmu_entry_copy() 744 tbl_info.prtn = prtn; in core_init_mmu_prtn_ta_core() 950 tbl_info->level = level; in core_mmu_set_info_table() 951 tbl_info->table = table; in core_mmu_set_info_table() 952 tbl_info->va_base = va_base; in core_mmu_set_info_table() 1028 tbl_info->table = tbl; in core_mmu_find_table() 1029 tbl_info->va_base = va_base; in core_mmu_find_table() 1030 tbl_info->level = level; in core_mmu_find_table() 1034 tbl_info->prtn = prtn; in core_mmu_find_table() [all …]
|
A D | core_mmu_v7.c | 487 tbl_info->level = level; in core_mmu_set_info_table() 488 tbl_info->table = table; in core_mmu_set_info_table() 489 tbl_info->va_base = va_base; in core_mmu_set_info_table() 492 tbl_info->shift = SECTION_SHIFT; in core_mmu_set_info_table() 493 tbl_info->num_entries = NUM_L1_ENTRIES; in core_mmu_set_info_table() 495 tbl_info->shift = SMALL_PAGE_SHIFT; in core_mmu_set_info_table() 496 tbl_info->num_entries = NUM_L2_ENTRIES; in core_mmu_set_info_table() 525 struct core_mmu_table_info *tbl_info) in core_mmu_find_table() argument 535 core_mmu_set_info_table(tbl_info, 1, 0, tbl); in core_mmu_find_table() 597 if (tbl_info->level != 1) in core_mmu_entry_to_finer_grained() [all …]
|
A D | tee_pager.c | 152 struct core_mmu_table_info tbl_info; member 257 core_mmu_get_entry(&pager_tables[n].tbl_info, in tee_pager_phys_to_virt() 344 assert(va >= pager_tables[n].tbl_info.va_base && in find_pager_table_may_fail() 365 *ti = pt->tbl_info; in tee_pager_get_table_info() 371 return &find_pager_table(va)->tbl_info; in find_table_info() 396 idx = core_mmu_va2idx(&pt->tbl_info, smem); in tee_pager_set_alias_area() 399 v = core_mmu_idx2va(&pt->tbl_info, idx); in tee_pager_set_alias_area() 404 core_mmu_set_entry(&pt->tbl_info, idx, 0, 0); in tee_pager_set_alias_area() 548 &pager_tables[n].tbl_info)) in tee_pager_early_init() 551 if (pager_tables[n].tbl_info.shift != TBL_SHIFT) in tee_pager_early_init() [all …]
|
/optee_os-3.20.0/core/mm/ |
A D | core_mmu.c | 819 va = tbl_info.va_base; in dump_xlat_table() 853 va += BIT64(tbl_info.shift); in dump_xlat_table() 1511 core_mmu_set_entry_primitive(tbl_info->table, tbl_info->level, in core_mmu_set_entry() 1519 core_mmu_get_entry_primitive(tbl_info->table, tbl_info->level, in core_mmu_get_entry() 1562 pa += BIT64(tbl_info->shift); in set_region() 1676 &tbl_info); in core_mmu_map_region() 1751 &tbl_info)) in core_mmu_map_pages() 1824 &tbl_info)) in core_mmu_map_contiguous_pages() 1955 clear_region(&tbl_info, map); in core_mmu_remove_mapping() 2041 if (core_mmu_va2idx(&tbl_info, map->va + len) >= tbl_info.num_entries) in core_mmu_add_mapping() [all …]
|
Completed in 19 milliseconds