Home
last modified time | relevance | path

Searched refs:kvm_eq (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_xive_native.c585 if (copy_from_user(&kvm_eq, ubufp, sizeof(kvm_eq))) in kvmppc_xive_native_set_queue_config()
604 kvm_eq.qshift, kvm_eq.qaddr, kvm_eq.qtoggle, kvm_eq.qindex); in kvmppc_xive_native_set_queue_config()
607 if (!kvm_eq.qshift) { in kvmppc_xive_native_set_queue_config()
640 if (kvm_eq.qaddr & ((1ull << kvm_eq.qshift) - 1)) { in kvmppc_xive_native_set_queue_config()
691 if (kvm_eq.qtoggle != 1 || kvm_eq.qindex != 0) { in kvmppc_xive_native_set_queue_config()
693 kvm_eq.qtoggle, in kvmppc_xive_native_set_queue_config()
694 kvm_eq.qindex); in kvmppc_xive_native_set_queue_config()
747 memset(&kvm_eq, 0, sizeof(kvm_eq)); in kvmppc_xive_native_get_queue_config()
757 kvm_eq.flags = 0; in kvmppc_xive_native_get_queue_config()
771 kvm_eq.qshift, kvm_eq.qaddr, kvm_eq.qtoggle, kvm_eq.qindex); in kvmppc_xive_native_get_queue_config()
[all …]
/openbmc/qemu/hw/intc/
H A Dspapr_xive_kvm.c373 struct kvm_ppc_xive_eq kvm_eq = { 0 }; in kvmppc_xive_get_queue_config() local
390 &kvm_eq, false, errp); in kvmppc_xive_get_queue_config()
401 xive_set_field32(END_W1_PAGE_OFF, 0ul, kvm_eq.qindex); in kvmppc_xive_get_queue_config()
410 struct kvm_ppc_xive_eq kvm_eq = { 0 }; in kvmppc_xive_set_queue_config() local
419 kvm_eq.flags = 0; in kvmppc_xive_set_queue_config()
421 kvm_eq.flags |= KVM_XIVE_EQ_ALWAYS_NOTIFY; in kvmppc_xive_set_queue_config()
431 kvm_eq.qaddr = xive_end_qaddr(end); in kvmppc_xive_set_queue_config()
437 kvm_eq.qindex = xive_get_field32(END_W1_PAGE_OFF, end->w1); in kvmppc_xive_set_queue_config()
439 kvm_eq.qshift = 0; in kvmppc_xive_set_queue_config()
440 kvm_eq.qaddr = 0; in kvmppc_xive_set_queue_config()
[all …]