Lines Matching refs:arch
46 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_cleanup_queue()
76 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_cleanup_vcpu()
108 vcpu->arch.xive_cam_word = 0; in kvmppc_xive_native_cleanup_vcpu()
119 vcpu->arch.irq_type = KVMPPC_IRQ_DEFAULT; in kvmppc_xive_native_cleanup_vcpu()
120 vcpu->arch.xive_vcpu = NULL; in kvmppc_xive_native_cleanup_vcpu()
139 if (vcpu->arch.irq_type != KVMPPC_IRQ_DEFAULT) in kvmppc_xive_native_connect_vcpu()
154 vcpu->arch.xive_vcpu = xc; in kvmppc_xive_native_connect_vcpu()
161 vcpu->arch.irq_type = KVMPPC_IRQ_XIVE; in kvmppc_xive_native_connect_vcpu()
186 vcpu->arch.xive_saved_state.w01 = cpu_to_be64(0xff000000); in kvmppc_xive_native_connect_vcpu()
187 vcpu->arch.xive_cam_word = cpu_to_be32(xc->vp_cam | TM_QW1W2_VO); in kvmppc_xive_native_connect_vcpu()
203 struct kvmppc_xive *xive = kvm->arch.xive; in kvmppc_xive_native_reset_mapped()
593 xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_set_queue_config()
738 xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_get_queue_config()
816 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_reset()
893 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_vcpu_eq_sync()
1066 kvm->arch.xive = NULL; in kvmppc_xive_native_release()
1098 if (kvm->arch.xive) in kvmppc_xive_native_create()
1126 kvm->arch.xive = xive; in kvmppc_xive_native_create()
1138 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_get_vp()
1149 val->xive_timaval[0] = vcpu->arch.xive_saved_state.w01; in kvmppc_xive_native_get_vp()
1164 vcpu->arch.xive_saved_state.nsr, in kvmppc_xive_native_get_vp()
1165 vcpu->arch.xive_saved_state.cppr, in kvmppc_xive_native_get_vp()
1166 vcpu->arch.xive_saved_state.ipb, in kvmppc_xive_native_get_vp()
1167 vcpu->arch.xive_saved_state.pipr, in kvmppc_xive_native_get_vp()
1168 vcpu->arch.xive_saved_state.w01, in kvmppc_xive_native_get_vp()
1169 (u32) vcpu->arch.xive_cam_word, opal_state); in kvmppc_xive_native_get_vp()
1176 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_set_vp()
1177 struct kvmppc_xive *xive = vcpu->kvm->arch.xive; in kvmppc_xive_native_set_vp()
1189 if (WARN_ON(vcpu->arch.xive_pushed)) in kvmppc_xive_native_set_vp()
1196 vcpu->arch.xive_saved_state.w01 = val->xive_timaval[0]; in kvmppc_xive_native_set_vp()
1224 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in xive_native_debug_show()
1232 vcpu->arch.xive_saved_state.nsr, in xive_native_debug_show()
1233 vcpu->arch.xive_saved_state.cppr, in xive_native_debug_show()
1234 vcpu->arch.xive_saved_state.ipb, in xive_native_debug_show()
1235 vcpu->arch.xive_saved_state.pipr, in xive_native_debug_show()
1236 be64_to_cpu(vcpu->arch.xive_saved_state.w01), in xive_native_debug_show()
1237 be32_to_cpu(vcpu->arch.xive_cam_word)); in xive_native_debug_show()