Home
last modified time | relevance | path

Searched refs:ASID_MASK (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/xtensa/include/asm/
Dmmu_context.h51 #define ASID_MASK ((1 << XCHAL_MMU_ASID_BITS) - 1) macro
52 #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()
/Linux-v4.19/arch/arm64/mm/
Dcontext.c40 #define ASID_MASK (~GENMASK(asid_bits - 1, 0)) macro
45 #define asid2idx(asid) (((asid) & ~ASID_MASK) >> 1)
46 #define idx2asid(idx) (((idx) << 1) & ~ASID_MASK)
49 #define asid2idx(asid) ((asid) & ~ASID_MASK)
152 u64 newasid = generation | (asid & ~ASID_MASK); in new_context()
/Linux-v4.19/arch/arm/include/asm/
Dmmu.h26 #define ASID_MASK ((~0ULL) << ASID_BITS) macro
27 #define ASID(mm) ((unsigned int)((mm)->context.id.counter & ~ASID_MASK))
/Linux-v4.19/arch/arm/mm/
Dcontext.c122 : "I" (~ASID_MASK)); in contextidr_notifier()
157 __set_bit(asid & ~ASID_MASK, asid_map); in flush_context()
199 u64 newasid = generation | (asid & ~ASID_MASK); in new_context()
212 asid &= ~ASID_MASK; in new_context()
/Linux-v4.19/arch/xtensa/mm/
Dtlb.c221 unsigned mm_asid = (get_rasid_register() >> 8) & ASID_MASK; in check_tlb_entry()
222 unsigned tlb_asid = r0 & ASID_MASK; in check_tlb_entry()