Lines Matching full:cp

22 	struct kvm_cpu_context *cp = &vcpu->arch.guest_context;  in kvm_sbi_ext_time_handler()  local
25 if (cp->a6 != SBI_EXT_TIME_SET_TIMER) in kvm_sbi_ext_time_handler()
29 next_cycle = ((u64)cp->a1 << 32) | (u64)cp->a0; in kvm_sbi_ext_time_handler()
31 next_cycle = (u64)cp->a0; in kvm_sbi_ext_time_handler()
51 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_ipi_handler() local
52 unsigned long hmask = cp->a0; in kvm_sbi_ext_ipi_handler()
53 unsigned long hbase = cp->a1; in kvm_sbi_ext_ipi_handler()
55 if (cp->a6 != SBI_EXT_IPI_SEND_IPI) in kvm_sbi_ext_ipi_handler()
84 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_rfence_handler() local
85 unsigned long hmask = cp->a0; in kvm_sbi_ext_rfence_handler()
86 unsigned long hbase = cp->a1; in kvm_sbi_ext_rfence_handler()
87 unsigned long funcid = cp->a6; in kvm_sbi_ext_rfence_handler()
94 if (cp->a2 == 0 && cp->a3 == 0) in kvm_sbi_ext_rfence_handler()
98 cp->a2, cp->a3, PAGE_SHIFT); in kvm_sbi_ext_rfence_handler()
101 if (cp->a2 == 0 && cp->a3 == 0) in kvm_sbi_ext_rfence_handler()
103 hbase, hmask, cp->a4); in kvm_sbi_ext_rfence_handler()
107 cp->a2, cp->a3, in kvm_sbi_ext_rfence_handler()
108 PAGE_SHIFT, cp->a4); in kvm_sbi_ext_rfence_handler()
137 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_srst_handler() local
138 unsigned long funcid = cp->a6; in kvm_sbi_ext_srst_handler()
139 u32 reason = cp->a1; in kvm_sbi_ext_srst_handler()
140 u32 type = cp->a0; in kvm_sbi_ext_srst_handler()