Lines Matching refs:arch
168 struct kvmppc_xics *xics = kvm->arch.xics; in kvmppc_xics_set_xive()
198 struct kvmppc_xics *xics = kvm->arch.xics; in kvmppc_xics_get_xive()
224 struct kvmppc_xics *xics = kvm->arch.xics; in kvmppc_xics_int_on()
251 struct kvmppc_xics *xics = kvm->arch.xics; in kvmppc_xics_int_off()
589 struct kvmppc_icp *icp = vcpu->arch.icp; in kvmppc_h_xirr()
623 struct kvmppc_xics *xics = vcpu->kvm->arch.xics; in kvmppc_h_ipi()
632 icp = vcpu->arch.icp; in kvmppc_h_ipi()
709 icp = vcpu->arch.icp; in kvmppc_h_ipoll()
724 struct kvmppc_xics *xics = vcpu->kvm->arch.xics; in kvmppc_h_cppr()
725 struct kvmppc_icp *icp = vcpu->arch.icp; in kvmppc_h_cppr()
779 struct kvmppc_xics *xics = vcpu->kvm->arch.xics; in ics_eoi()
780 struct kvmppc_icp *icp = vcpu->arch.icp; in ics_eoi()
819 struct kvmppc_xics *xics = vcpu->kvm->arch.xics; in kvmppc_h_eoi()
820 struct kvmppc_icp *icp = vcpu->arch.icp; in kvmppc_h_eoi()
850 struct kvmppc_xics *xics = vcpu->kvm->arch.xics; in kvmppc_xics_rm_complete()
851 struct kvmppc_icp *icp = vcpu->arch.icp; in kvmppc_xics_rm_complete()
877 struct kvmppc_xics *xics = vcpu->kvm->arch.xics; in kvmppc_xics_hcall()
882 if (!xics || !vcpu->arch.icp) in kvmppc_xics_hcall()
960 xics_debugfs_irqmap(m, kvm->arch.pimap); in xics_debug_show()
965 struct kvmppc_icp *icp = vcpu->arch.icp; in xics_debug_show()
1066 if (!vcpu->kvm->arch.xics) in kvmppc_xics_create_icp()
1080 vcpu->arch.icp = icp; in kvmppc_xics_create_icp()
1089 struct kvmppc_icp *icp = vcpu->arch.icp; in kvmppc_xics_get_icp()
1103 struct kvmppc_icp *icp = vcpu->arch.icp; in kvmppc_xics_set_icp()
1104 struct kvmppc_xics *xics = vcpu->kvm->arch.xics; in kvmppc_xics_set_icp()
1287 struct kvmppc_xics *xics = kvm->arch.xics; in kvmppc_xics_set_irq()
1370 kvm->arch.xics = NULL; in kvmppc_xics_release()
1387 struct kvmppc_xics **kvm_xics_device = &kvm->arch.xics_device; in kvmppc_xics_get_device()
1408 if (kvm->arch.xics) in kvmppc_xics_create()
1418 kvm->arch.xics = xics; in kvmppc_xics_create()
1459 if (vcpu->arch.irq_type != KVMPPC_IRQ_DEFAULT) in kvmppc_xics_connect_vcpu()
1464 vcpu->arch.irq_type = KVMPPC_IRQ_XICS; in kvmppc_xics_connect_vcpu()
1471 if (!vcpu->arch.icp) in kvmppc_xics_free_icp()
1473 kfree(vcpu->arch.icp); in kvmppc_xics_free_icp()
1474 vcpu->arch.icp = NULL; in kvmppc_xics_free_icp()
1475 vcpu->arch.irq_type = KVMPPC_IRQ_DEFAULT; in kvmppc_xics_free_icp()
1481 struct kvmppc_xics *xics = kvm->arch.xics; in kvmppc_xics_set_mapped()
1497 struct kvmppc_xics *xics = kvm->arch.xics; in kvmppc_xics_clr_mapped()