Lines Matching full:cp
27 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_v01_handler() local
29 switch (cp->a7) { in kvm_sbi_ext_v01_handler()
41 next_cycle = ((u64)cp->a1 << 32) | (u64)cp->a0; in kvm_sbi_ext_v01_handler()
43 next_cycle = (u64)cp->a0; in kvm_sbi_ext_v01_handler()
51 if (cp->a0) in kvm_sbi_ext_v01_handler()
52 hmask = kvm_riscv_vcpu_unpriv_read(vcpu, false, cp->a0, in kvm_sbi_ext_v01_handler()
74 if (cp->a0) in kvm_sbi_ext_v01_handler()
75 hmask = kvm_riscv_vcpu_unpriv_read(vcpu, false, cp->a0, in kvm_sbi_ext_v01_handler()
82 if (cp->a7 == SBI_EXT_0_1_REMOTE_FENCE_I) in kvm_sbi_ext_v01_handler()
84 else if (cp->a7 == SBI_EXT_0_1_REMOTE_SFENCE_VMA) { in kvm_sbi_ext_v01_handler()
85 if (cp->a1 == 0 && cp->a2 == 0) in kvm_sbi_ext_v01_handler()
91 cp->a1, cp->a2, in kvm_sbi_ext_v01_handler()
94 if (cp->a1 == 0 && cp->a2 == 0) in kvm_sbi_ext_v01_handler()
97 cp->a3); in kvm_sbi_ext_v01_handler()
101 cp->a1, cp->a2, in kvm_sbi_ext_v01_handler()
103 cp->a3); in kvm_sbi_ext_v01_handler()