Lines Matching full:cp

20 	struct kvm_cpu_context *cp = &vcpu->arch.guest_context;  in kvm_sbi_ext_time_handler()  local
23 if (cp->a6 != SBI_EXT_TIME_SET_TIMER) { in kvm_sbi_ext_time_handler()
30 next_cycle = ((u64)cp->a1 << 32) | (u64)cp->a0; in kvm_sbi_ext_time_handler()
32 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()
86 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_rfence_handler() local
87 unsigned long hmask = cp->a0; in kvm_sbi_ext_rfence_handler()
88 unsigned long hbase = cp->a1; in kvm_sbi_ext_rfence_handler()
89 unsigned long funcid = cp->a6; in kvm_sbi_ext_rfence_handler()
97 if (cp->a2 == 0 && cp->a3 == 0) in kvm_sbi_ext_rfence_handler()
101 cp->a2, cp->a3, PAGE_SHIFT); in kvm_sbi_ext_rfence_handler()
105 if (cp->a2 == 0 && cp->a3 == 0) in kvm_sbi_ext_rfence_handler()
107 hbase, hmask, cp->a4); in kvm_sbi_ext_rfence_handler()
111 cp->a2, cp->a3, in kvm_sbi_ext_rfence_handler()
112 PAGE_SHIFT, cp->a4); in kvm_sbi_ext_rfence_handler()
141 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_srst_handler() local
142 unsigned long funcid = cp->a6; in kvm_sbi_ext_srst_handler()
143 u32 reason = cp->a1; in kvm_sbi_ext_srst_handler()
144 u32 type = cp->a0; in kvm_sbi_ext_srst_handler()
183 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_dbcn_handler() local
184 unsigned long funcid = cp->a6; in kvm_sbi_ext_dbcn_handler()