Lines Matching full:cp
24 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_v01_handler() local
27 switch (cp->a7) { in kvm_sbi_ext_v01_handler()
39 next_cycle = ((u64)cp->a1 << 32) | (u64)cp->a0; in kvm_sbi_ext_v01_handler()
41 next_cycle = (u64)cp->a0; in kvm_sbi_ext_v01_handler()
49 if (cp->a0) in kvm_sbi_ext_v01_handler()
50 hmask = kvm_riscv_vcpu_unpriv_read(vcpu, false, cp->a0, utrap); in kvm_sbi_ext_v01_handler()
71 if (cp->a0) in kvm_sbi_ext_v01_handler()
72 hmask = kvm_riscv_vcpu_unpriv_read(vcpu, false, cp->a0, utrap); in kvm_sbi_ext_v01_handler()
78 if (cp->a7 == SBI_EXT_0_1_REMOTE_FENCE_I) in kvm_sbi_ext_v01_handler()
80 else if (cp->a7 == SBI_EXT_0_1_REMOTE_SFENCE_VMA) { in kvm_sbi_ext_v01_handler()
81 if (cp->a1 == 0 && cp->a2 == 0) in kvm_sbi_ext_v01_handler()
87 cp->a1, cp->a2, in kvm_sbi_ext_v01_handler()
90 if (cp->a1 == 0 && cp->a2 == 0) in kvm_sbi_ext_v01_handler()
93 cp->a3); in kvm_sbi_ext_v01_handler()
97 cp->a1, cp->a2, in kvm_sbi_ext_v01_handler()
99 cp->a3); in kvm_sbi_ext_v01_handler()