Lines Matching refs:vcpu_e500
56 void kvmppc_e500_tlbil_one(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_tlbil_one() argument
74 mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(&vcpu_e500->vcpu)); in kvmppc_e500_tlbil_one()
90 void kvmppc_e500_tlbil_all(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_tlbil_all() argument
95 mtspr(SPRN_MAS5, MAS5_SGS | get_lpid(&vcpu_e500->vcpu)); in kvmppc_e500_tlbil_all()
119 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_vcpu_load_e500mc() local
149 kvmppc_e500_tlbil_all(vcpu_e500); in kvmppc_core_vcpu_load_e500mc()
202 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_vcpu_setup() local
212 vcpu_e500->svr = mfspr(SPRN_SVR); in kvmppc_core_vcpu_setup()
222 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_get_sregs_e500mc() local
229 sregs->u.e.impl.fsl.svr = vcpu_e500->svr; in kvmppc_core_get_sregs_e500mc()
230 sregs->u.e.impl.fsl.hid0 = vcpu_e500->hid0; in kvmppc_core_get_sregs_e500mc()
231 sregs->u.e.impl.fsl.mcar = vcpu_e500->mcar; in kvmppc_core_get_sregs_e500mc()
246 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_set_sregs_e500mc() local
250 vcpu_e500->svr = sregs->u.e.impl.fsl.svr; in kvmppc_core_set_sregs_e500mc()
251 vcpu_e500->hid0 = sregs->u.e.impl.fsl.hid0; in kvmppc_core_set_sregs_e500mc()
252 vcpu_e500->mcar = sregs->u.e.impl.fsl.mcar; in kvmppc_core_set_sregs_e500mc()
311 struct kvmppc_vcpu_e500 *vcpu_e500; in kvmppc_core_vcpu_create_e500mc() local
315 vcpu_e500 = to_e500(vcpu); in kvmppc_core_vcpu_create_e500mc()
320 err = kvmppc_e500_tlb_init(vcpu_e500); in kvmppc_core_vcpu_create_e500mc()
333 kvmppc_e500_tlb_uninit(vcpu_e500); in kvmppc_core_vcpu_create_e500mc()
339 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_vcpu_free_e500mc() local
342 kvmppc_e500_tlb_uninit(vcpu_e500); in kvmppc_core_vcpu_free_e500mc()