Searched refs:ASID_MASK (Results 1 – 8 of 8) sorted by relevance
51 #define ASID_MASK ((1 << XCHAL_MMU_ASID_BITS) - 1) macro52 #define ASID_INSERT(x) (0x03020001 | (((x) & ASID_MASK) << 8))73 if ((++asid & ASID_MASK) == 0) { in get_new_mmu_context()96 ((asid ^ cpu_asid_cache(cpu)) & ~ASID_MASK)) in get_mmu_context()
78 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_range()118 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_kernel_range()155 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_page()186 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_one()
18 #define ASID_MASK(info) (~GENMASK((info)->bits - 1, 0)) macro21 #define asid2idx(info, asid) (((asid) & ~ASID_MASK(info)) >> (info)->ctxt_shift)22 #define idx2asid(info, idx) (((idx) << (info)->ctxt_shift) & ~ASID_MASK(info))87 u64 newasid = generation | (asid & ~ASID_MASK(info)); in new_context()
119 : "I" (~ASID_MASK)); in contextidr_notifier()154 __set_bit(asid & ~ASID_MASK, asid_map); in flush_context()196 u64 newasid = generation | (asid & ~ASID_MASK); in new_context()209 asid &= ~ASID_MASK; in new_context()
26 #define ASID_MASK ((~0ULL) << ASID_BITS) macro27 #define ASID(mm) ((unsigned int)((mm)->context.id.counter & ~ASID_MASK))
16 #define ASID_MASK ((1 << CONFIG_CPU_ASID_BITS) - 1) macro17 #define cpu_asid(mm) (atomic64_read(&mm->context.asid) & ASID_MASK)
237 unsigned mm_asid = (get_rasid_register() >> 8) & ASID_MASK; in check_tlb_entry()238 unsigned tlb_asid = r0 & ASID_MASK; in check_tlb_entry()
34 #define ASID_MASK (~GENMASK(asid_bits - 1, 0)) macro38 #define ctxid2asid(asid) ((asid) & ~ASID_MASK)