Home
last modified time | relevance | path

Searched refs:MAS0_TLBSEL_SHIFT (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/powerpc/include/asm/nohash/
H A Dmmu-e500.h45 #define MAS0_TLBSEL_SHIFT 28 macro
46 #define MAS0_TLBSEL(x) (((x) << MAS0_TLBSEL_SHIFT) & MAS0_TLBSEL_MASK)
48 MAS0_TLBSEL_SHIFT)
/openbmc/qemu/target/ppc/
H A Dcpu.h944 #define MAS0_TLBSEL_SHIFT 28 macro
945 #define MAS0_TLBSEL_MASK (3 << MAS0_TLBSEL_SHIFT)
946 #define MAS0_TLBSEL_TLB0 (0 << MAS0_TLBSEL_SHIFT)
947 #define MAS0_TLBSEL_TLB1 (1 << MAS0_TLBSEL_SHIFT)
948 #define MAS0_TLBSEL_TLB2 (2 << MAS0_TLBSEL_SHIFT)
949 #define MAS0_TLBSEL_TLB3 (3 << MAS0_TLBSEL_SHIFT)
1014 #define MAS4_TLBSELD_SHIFT MAS0_TLBSEL_SHIFT
H A Dmmu_helper.c984 tlb = (env->spr[SPR_BOOKE_MAS0] & MAS0_TLBSEL_MASK) >> MAS0_TLBSEL_SHIFT; in booke206_cur_tlb()
1054 tlbn = (env->spr[SPR_BOOKE_MAS0] & MAS0_TLBSEL_MASK) >> MAS0_TLBSEL_SHIFT; in helper_booke206_tlbwe()
1139 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()