Searched refs:srnum (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_32_mmu.c | 326 static u32 kvmppc_mmu_book3s_32_mfsrin(struct kvm_vcpu *vcpu, u32 srnum) in kvmppc_mmu_book3s_32_mfsrin() argument 328 return kvmppc_get_sr(vcpu, srnum); in kvmppc_mmu_book3s_32_mfsrin() 331 static void kvmppc_mmu_book3s_32_mtsrin(struct kvm_vcpu *vcpu, u32 srnum, in kvmppc_mmu_book3s_32_mtsrin() argument 334 kvmppc_set_sr(vcpu, srnum, value); in kvmppc_mmu_book3s_32_mtsrin() 335 kvmppc_mmu_map_segment(vcpu, srnum << SID_SHIFT); in kvmppc_mmu_book3s_32_mtsrin()
|
D | book3s_emulate.c | 314 int srnum; in kvmppc_core_emulate_op_pr() local 316 srnum = kvmppc_get_field(inst, 12 + 32, 15 + 32); in kvmppc_core_emulate_op_pr() 319 sr = vcpu->arch.mmu.mfsrin(vcpu, srnum); in kvmppc_core_emulate_op_pr() 326 int srnum; in kvmppc_core_emulate_op_pr() local 328 srnum = (kvmppc_get_gpr(vcpu, rb) >> 28) & 0xf; in kvmppc_core_emulate_op_pr() 331 sr = vcpu->arch.mmu.mfsrin(vcpu, srnum); in kvmppc_core_emulate_op_pr()
|
D | book3s_64_mmu.c | 489 static void kvmppc_mmu_book3s_64_mtsrin(struct kvm_vcpu *vcpu, u32 srnum, in kvmppc_mmu_book3s_64_mtsrin() argument 512 dprintk("KVM MMU: mtsrin(0x%x, 0x%lx)\n", srnum, value); in kvmppc_mmu_book3s_64_mtsrin() 515 rb |= (srnum & 0xf) << 28; in kvmppc_mmu_book3s_64_mtsrin() 519 rb |= srnum; in kvmppc_mmu_book3s_64_mtsrin()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | kvm_host.h | 398 void (*mtsrin)(struct kvm_vcpu *vcpu, u32 srnum, ulong value); 399 u32 (*mfsrin)(struct kvm_vcpu *vcpu, u32 srnum);
|