Lines Matching refs:pte
176 static inline bool is_pte_illegal(uint32_t pte) in is_pte_illegal() argument
178 uint32_t attr = pte & XTENSA_MMU_PTE_ATTR_MASK; in is_pte_illegal()
225 uint32_t pte = XTENSA_MMU_PTE(page, in map_memory_range() local
246 table[l2_pos] = pte; in map_memory_range()
850 uint32_t *l2_table, pte; in region_map_update() local
861 pte = XTENSA_MMU_PTE_RING_SET(l2_table[l2_pos], ring); in region_map_update()
862 pte = XTENSA_MMU_PTE_ATTR_SET(pte, flags); in region_map_update()
864 l2_table[l2_pos] = pte; in region_map_update()
1049 uint32_t rasid, pte, *l2_table; in page_validate() local
1058 pte = l2_table[l2_pos]; in page_validate()
1060 if (is_pte_illegal(pte)) { in page_validate()
1067 if (XTENSA_MMU_PTE_ASID_GET(pte, rasid) == XTENSA_MMU_RASID_ASID_GET(rasid, i)) { in page_validate()
1078 return (XTENSA_MMU_PTE_ATTR_GET((pte)) & XTENSA_MMU_PERM_W) != 0; in page_validate()