Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/mm/
A Dcore_mmu_lpae.c563 prtn = tbl_info->prtn; in core_mmu_entry_copy()
569 if (idx >= tbl_info->num_entries) in core_mmu_entry_copy()
729 tbl_info.prtn = prtn; in core_init_mmu_prtn_ta_core()
914 tbl_info->level = level; in core_mmu_set_info_table()
915 tbl_info->table = table; in core_mmu_set_info_table()
916 tbl_info->va_base = va_base; in core_mmu_set_info_table()
992 tbl_info->table = tbl; in core_mmu_find_table()
993 tbl_info->va_base = va_base; in core_mmu_find_table()
994 tbl_info->level = level; in core_mmu_find_table()
998 tbl_info->prtn = prtn; in core_mmu_find_table()
[all …]
A Dcore_mmu.c743 va = tbl_info.va_base; in dump_xlat_table()
774 va += BIT64(tbl_info.shift); in dump_xlat_table()
1503 core_mmu_set_entry_primitive(tbl_info->table, tbl_info->level, in core_mmu_set_entry()
1511 core_mmu_get_entry_primitive(tbl_info->table, tbl_info->level, in core_mmu_get_entry()
1554 pa += BIT64(tbl_info->shift); in set_region()
1675 &tbl_info); in core_mmu_map_region()
1747 &tbl_info)) in core_mmu_map_pages()
1820 &tbl_info)) in core_mmu_map_contiguous_pages()
1948 clear_region(&tbl_info, map); in core_mmu_remove_mapping()
2034 if (core_mmu_va2idx(&tbl_info, map->va + len) >= tbl_info.num_entries) in core_mmu_add_mapping()
[all …]
A Dcore_mmu_v7.c468 tbl_info->level = level; in core_mmu_set_info_table()
469 tbl_info->table = table; in core_mmu_set_info_table()
470 tbl_info->va_base = va_base; in core_mmu_set_info_table()
473 tbl_info->shift = SECTION_SHIFT; in core_mmu_set_info_table()
474 tbl_info->num_entries = NUM_L1_ENTRIES; in core_mmu_set_info_table()
476 tbl_info->shift = SMALL_PAGE_SHIFT; in core_mmu_set_info_table()
477 tbl_info->num_entries = NUM_L2_ENTRIES; in core_mmu_set_info_table()
506 struct core_mmu_table_info *tbl_info) in core_mmu_find_table() argument
516 core_mmu_set_info_table(tbl_info, 1, 0, tbl); in core_mmu_find_table()
578 if (tbl_info->level != 1) in core_mmu_entry_to_finer_grained()
[all …]
A Dtee_pager.c152 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 …]
A Dcore_mmu_private.h14 void core_mmu_set_info_table(struct core_mmu_table_info *tbl_info,
/optee_os/core/arch/arm/include/mm/
A Dcore_mmu.h492 struct core_mmu_table_info *tbl_info);
502 bool core_mmu_entry_to_finer_grained(struct core_mmu_table_info *tbl_info,
517 void core_mmu_set_entry(struct core_mmu_table_info *tbl_info, unsigned idx,
530 void core_mmu_get_entry(struct core_mmu_table_info *tbl_info, unsigned idx,
539 static inline unsigned core_mmu_va2idx(struct core_mmu_table_info *tbl_info, in core_mmu_va2idx() argument
542 return (va - tbl_info->va_base) >> tbl_info->shift; in core_mmu_va2idx()
551 static inline vaddr_t core_mmu_idx2va(struct core_mmu_table_info *tbl_info, in core_mmu_idx2va() argument
554 return (idx << tbl_info->shift) + tbl_info->va_base; in core_mmu_idx2va()
564 struct core_mmu_table_info *tbl_info, paddr_t pa) in core_mmu_get_block_offset() argument
566 return pa & ((1 << tbl_info->shift) - 1); in core_mmu_get_block_offset()

Completed in 20 milliseconds