Home
last modified time | relevance | path

Searched refs:MAS1_VALID (Results 1 – 25 of 25) sorted by relevance

/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcpu_init_early.c28 _mas1 = MAS1_VALID | MAS1_TID(0) | MAS1_TS | MAS1_IPROT | in setup_ifc()
56 _mas1 = MAS1_VALID | MAS1_TID(0) | MAS1_IPROT | in setup_ifc()
108 mas1 = MAS1_VALID | MAS1_TID(0) | MAS1_TS | MAS1_TSIZE(BOOKE_PAGESZ_1M); in cpu_init_early_f()
134 mas1 = MAS1_VALID | MAS1_TID(0) | MAS1_TS | in cpu_init_early_f()
H A Dtlb.c54 *valid = (_mas1 & MAS1_VALID); in read_tlbcam_entry()
111 if (mfspr(MAS1) & MAS1_VALID) in init_used_tlb_cams()
211 if ((MAS1_VALID & _mas1) && in find_tlb_idx()
232 if (valid & MAS1_VALID) in init_addr_map()
H A Drelease.S298 lis r11,(MAS1_VALID|MAS1_IPROT)@h
465 lis r10,(MAS1_VALID|MAS1_IPROT)@h
/openbmc/linux/arch/powerpc/kernel/
H A D85xx_entry_mapping.S14 andis. r7,r7,MAS1_VALID@h
28 andis. r7,r7,MAS1_VALID@h
108 oris r6,r6,(MAS1_VALID|MAS1_IPROT)@h
161 lis r6,(MAS1_VALID|MAS1_IPROT)@h
182 lis r10, (MAS1_VALID|MAS1_IPROT)@h
H A Dmisc_64.S314 lis r9,(MAS1_VALID|MAS1_IPROT)@h
H A Dexceptions-64e.S1228 lis r6,(MAS1_VALID|MAS1_IPROT)@h
1299 lis r3,(MAS1_VALID | MAS1_IPROT)@h
1342 rlwinm r5,r5,0,(~(MAS1_VALID|MAS1_IPROT))
H A Dhead_85xx.S1089 lis r3,(MAS1_VALID|MAS1_IPROT)@h
1147 andis. r4,r4,MAS1_VALID@h
/openbmc/linux/arch/powerpc/kvm/
H A De500.c277 if (val & MAS1_VALID) { in kvmppc_e500_tlbil_one()
278 mtspr(SPRN_MAS1, val & ~MAS1_VALID); in kvmppc_e500_tlbil_one()
335 tlbe->mas1 = MAS1_VALID | MAS1_TSIZE(BOOK3E_PAGESZ_256M); in kvmppc_e500_tlb_setup()
341 tlbe->mas1 = MAS1_VALID | MAS1_TSIZE(BOOK3E_PAGESZ_4K); in kvmppc_e500_tlb_setup()
H A De500_mmu_host.c172 magic.mas1 = MAS1_VALID | MAS1_TS | MAS1_TID(stid) | in kvmppc_map_magic()
316 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
665 if (!(mas1 & MAS1_VALID)) in kvmppc_load_last_inst()
H A De500mc.c78 if (val & MAS1_VALID) { in kvmppc_e500_tlbil_one()
79 mtspr(SPRN_MAS1, val & ~MAS1_VALID); in kvmppc_e500_tlbil_one()
H A De500_mmu.c140 vcpu->arch.shared->mas1 = MAS1_VALID | (as ? MAS1_TS : 0) in kvmppc_e500_deliver_tlb_miss()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dmmu.h398 #define MAS1_VALID 0x80000000 macro
447 ((((v) << 31) & MAS1_VALID) |\
/openbmc/linux/arch/powerpc/mm/nohash/
H A Dtlb_low_64e.S337 andis. r15,r15,MAS1_VALID@h
368 andis. r15,r10,MAS1_VALID@h
374 oris r10,r10,MAS1_VALID@h
935 oris r15,r15,MAS1_VALID@h /* MAS1 needs V and TSIZE */
H A De500_hugetlbpage.c154 mas1 = MAS1_VALID | MAS1_TID(mm->context.id) | MAS1_TSIZE(tsize); in book3e_hugetlb_preload()
H A De500.c110 TLBCAM[index].MAS1 = MAS1_VALID | MAS1_IPROT | MAS1_TSIZE(tsize) | MAS1_TID(pid); in settlbcam()
H A Dtlb_low.S285 andis. r3,r4,MAS1_VALID@h
/openbmc/qemu/target/ppc/
H A Dmmu_helper.c135 tlb[j].mas1 &= ~MAS1_VALID; in booke206_flush_tlb()
1068 if ((env->spr[SPR_BOOKE_MAS1] & MAS1_VALID) && (tlbncfg & TLBnCFG_AVAIL) && in helper_booke206_tlbwe()
1079 if (tlb->mas1 & MAS1_VALID) { in helper_booke206_tlbwe()
1230 tlb->mas1 &= ~MAS1_VALID; in booke206_invalidate_ea_tlb()
1285 tlb[j].mas1 &= ~MAS1_VALID; in helper_booke206_tlbilx1()
1327 tlb->mas1 &= ~MAS1_VALID; in helper_booke206_tlbilx3()
H A Dmmu-booke.c232 if (!(tlb->mas1 & MAS1_VALID)) { in ppcmas_tlb_check()
446 env->spr[SPR_BOOKE_MAS1] |= MAS1_VALID; in booke206_update_mas_tlb_miss()
H A Dmmu_common.c412 if (!(entry->mas1 & MAS1_VALID)) { in mmubooke206_dump_one_tlb()
H A Dcpu.h972 #define MAS1_VALID 0x80000000 macro
/openbmc/qemu/hw/ppc/
H A Dppce500_spin.c82 tlb->mas1 = MAS1_VALID | size; in mmubooke_create_initial_mapping()
H A De500.c763 tlb->mas1 = MAS1_VALID | size; in mmubooke_create_initial_mapping()
/openbmc/linux/arch/powerpc/include/asm/nohash/
H A Dmmu-e500.h58 #define MAS1_VALID 0x80000000 macro
/openbmc/u-boot/board/freescale/qemu-ppce500/
H A Dqemu-ppce500.c40 mas1 = MAS1_VALID | MAS1_TID(0) | MAS1_TS | MAS1_TSIZE(BOOKE_PAGESZ_1M); in map_fdt_as()
/openbmc/linux/arch/powerpc/xmon/
H A Dxmon.c3928 if (!(mas1 & MAS1_VALID)) in dump_tlb_book3e()