Home
last modified time | relevance | path

Searched refs:esel (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/arch/powerpc/kvm/
De500_mmu.c67 int esel = get_tlb_esel_bit(vcpu); in get_tlb_esel() local
70 esel &= vcpu_e500->gtlb_params[0].ways - 1; in get_tlb_esel()
71 esel += gtlb0_set_base(vcpu_e500, vcpu->arch.shared->mas2); in get_tlb_esel()
73 esel &= vcpu_e500->gtlb_params[tlbsel].entries - 1; in get_tlb_esel()
76 return esel; in get_tlb_esel()
212 int tlbsel, int esel) in kvmppc_e500_gtlbe_invalidate() argument
215 get_entry(vcpu_e500, tlbsel, esel); in kvmppc_e500_gtlbe_invalidate()
230 int esel; in kvmppc_e500_emul_mt_mmucsr0() local
233 for (esel = 0; esel < vcpu_e500->gtlb_params[0].entries; esel++) in kvmppc_e500_emul_mt_mmucsr0()
234 kvmppc_e500_gtlbe_invalidate(vcpu_e500, 0, esel); in kvmppc_e500_emul_mt_mmucsr0()
[all …]
De500_mmu_host.c38 #define to_htlb1_esel(esel) (host_tlb_params[1].entries - (esel) - 1) argument
185 int esel) in inval_gtlbe_on_host() argument
188 get_entry(vcpu_e500, tlbsel, esel); in inval_gtlbe_on_host()
189 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[tlbsel][esel].ref; in inval_gtlbe_on_host()
195 WARN_ON(tlbsel == 1 && vcpu_e500->g2h_tlb1_map[esel]); in inval_gtlbe_on_host()
199 u64 tmp = vcpu_e500->g2h_tlb1_map[esel]; in inval_gtlbe_on_host()
215 vcpu_e500->g2h_tlb1_map[esel] = 0; in inval_gtlbe_on_host()
511 static int kvmppc_e500_tlb0_map(struct kvmppc_vcpu_e500 *vcpu_e500, int esel, in kvmppc_e500_tlb0_map() argument
520 gtlbe = get_entry(vcpu_e500, 0, esel); in kvmppc_e500_tlb0_map()
521 ref = &vcpu_e500->gtlb_priv[0][esel].ref; in kvmppc_e500_tlb0_map()
[all …]
De500_mmu_host.h10 int esel);
De500.h113 #define index_of(tlbsel, esel) (((tlbsel) << 16) | ((esel) & 0xFFFF)) argument
/Linux-v5.10/arch/arm/mach-ep93xx/
Dclock.c360 int *psel, int *esel, int *pdiv, int *div) in calc_clk_div() argument
400 *esel = (i != 0); in calc_clk_div()
417 int err, psel = 0, esel = 0, pdiv = 0, div = 0; in set_div_rate() local
420 err = calc_clk_div(clk, rate, &psel, &esel, &pdiv, &div); in set_div_rate()
429 val |= (esel ? EP93XX_SYSCON_CLKDIV_ESEL : 0) | in set_div_rate()
/Linux-v5.10/arch/x86/events/intel/
Dp4.c719 unsigned int esel; in p4_pmu_event_map() local
724 esel = P4_OPCODE_ESEL(bind->opcode); in p4_pmu_event_map()
725 config |= p4_config_pack_cccr(P4_CCCR_ESEL(esel)); in p4_pmu_event_map()
825 unsigned int esel; in p4_hw_config() local
846 esel = P4_OPCODE_ESEL(bind->opcode); in p4_hw_config()
847 event->hw.config |= p4_config_pack_cccr(P4_CCCR_ESEL(esel)); in p4_hw_config()
/Linux-v5.10/arch/powerpc/mm/
Dmmu_decl.h141 extern void restore_to_as0(int esel, int offset, void *dt_ptr, int bootcpu);
/Linux-v5.10/arch/powerpc/xmon/
Dxmon.c3841 int esel = i, cc = i; in dump_tlb_book3e() local
3845 esel = i % assoc; in dump_tlb_book3e()
3849 mas0 |= MAS0_ESEL(esel); in dump_tlb_book3e()
3864 printf("%04x-%c", cc, 'A' + esel); in dump_tlb_book3e()
3866 printf(" |%c", 'A' + esel); in dump_tlb_book3e()