Searched refs:tlbncfg (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/target/ppc/ |
H A D | mmu_helper.c | 979 uint32_t tlbncfg = 0; in booke206_cur_tlb() local 985 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlb]; in booke206_cur_tlb() 987 if ((tlbncfg & TLBnCFG_HES) && (env->spr[SPR_BOOKE_MAS0] & MAS0_HES)) { in booke206_cur_tlb() 1023 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local 1055 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe() 1068 if ((env->spr[SPR_BOOKE_MAS1] & MAS1_VALID) && (tlbncfg & TLBnCFG_AVAIL) && in helper_booke206_tlbwe() 1103 if (!(tlbncfg & TLBnCFG_AVAIL)) { in helper_booke206_tlbwe() 1107 tlb->mas1 |= (tlbncfg & TLBnCFG_MINSIZE) >> 12; in helper_booke206_tlbwe() 1126 if (!(tlbncfg & TLBnCFG_IPROT)) { in helper_booke206_tlbwe()
|
H A D | cpu.h | 2780 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size() local 2781 int r = tlbncfg & TLBnCFG_N_ENTRY; in booke206_tlb_size() 2787 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways() local 2788 int r = tlbncfg >> TLBnCFG_ASSOC_SHIFT; in booke206_tlb_ways() 2851 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlbnps() local 2852 uint32_t min = (tlbncfg & TLBnCFG_MINSIZE) >> TLBnCFG_MINSIZE_SHIFT; in booke206_tlbnps() 2853 uint32_t max = (tlbncfg & TLBnCFG_MAXSIZE) >> TLBnCFG_MAXSIZE_SHIFT; in booke206_tlbnps()
|
H A D | cpu_init.c | 897 tlbncfg[3]); in register_BookE206_sprs() 903 tlbncfg[2]); in register_BookE206_sprs() 909 tlbncfg[1]); in register_BookE206_sprs() 915 tlbncfg[0]); in register_BookE206_sprs() 2809 uint32_t tlbncfg[2]; in init_proc_e500() local 2863 tlbncfg[0] = register_tlbncfg(2, 1, 1, 0, 256); in init_proc_e500() 2867 tlbncfg[0] = register_tlbncfg(4, 1, 1, 0, 512); in init_proc_e500() 2872 tlbncfg[0] = register_tlbncfg(4, 1, 1, 0, 512); in init_proc_e500() 2878 tlbncfg[0] = 0x08052400; in init_proc_e500() 2879 tlbncfg[1] = 0x40028040; in init_proc_e500() [all …]
|