Searched refs:rasid (Results 1 – 3 of 3) sorted by relevance
99 #define XTENSA_MMU_PTE_ASID_GET(pte, rasid) \ argument100 (((rasid) >> ((((pte) & XTENSA_MMU_PTE_RING_MASK) \199 #define XTENSA_MMU_RASID_ASID_GET(rasid, ring) \ argument200 (((rasid) >> ((ring) * 8)) & 0xff)207 static ALWAYS_INLINE void xtensa_rasid_set(uint32_t rasid) in xtensa_rasid_set() argument210 "isync\n" : : "a"(rasid)); in xtensa_rasid_set()220 uint32_t rasid; in xtensa_rasid_get() local222 __asm__ volatile("rsr %0, rasid" : "=a"(rasid)); in xtensa_rasid_get()223 return rasid; in xtensa_rasid_get()234 uint32_t rasid = xtensa_rasid_get(); in xtensa_rasid_asid_set() local[all …]
20 uint32_t rasid; member37 regs->rasid = (XTENSA_MMU_SHARED_ASID << 24) | in compute_regs()101 :: "r"(regs.ptevaddr), "r"(regs.rasid), in xtensa_set_paging()
1049 uint32_t rasid, pte, *l2_table; in page_validate() local1065 rasid = xtensa_rasid_get(); in page_validate()1067 if (XTENSA_MMU_PTE_ASID_GET(pte, rasid) == XTENSA_MMU_RASID_ASID_GET(rasid, i)) { in page_validate()