Home
last modified time | relevance | path

Searched refs:ioeventfd (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/vfio/pci/
H A Dvfio_pci_rdwr.c359 static void vfio_pci_ioeventfd_do_write(struct vfio_pci_ioeventfd *ioeventfd, in vfio_pci_ioeventfd_do_write() argument
362 switch (ioeventfd->count) { in vfio_pci_ioeventfd_do_write()
364 vfio_pci_iowrite8(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
365 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
368 vfio_pci_iowrite16(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
369 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
372 vfio_pci_iowrite32(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
373 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
377 vfio_pci_iowrite64(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
378 ioeventfd->data, ioeventfd->addr); in vfio_pci_ioeventfd_do_write()
[all …]
H A Dvfio_pci.c423 struct vfio_pci_ioeventfd *ioeventfd, *ioeventfd_tmp; in vfio_pci_disable() local
434 list_for_each_entry_safe(ioeventfd, ioeventfd_tmp, in vfio_pci_disable()
436 vfio_virqfd_disable(&ioeventfd->virqfd); in vfio_pci_disable()
437 list_del(&ioeventfd->next); in vfio_pci_disable()
438 kfree(ioeventfd); in vfio_pci_disable()
1322 struct vfio_device_ioeventfd ioeventfd; in vfio_pci_ioctl() local
1327 if (copy_from_user(&ioeventfd, (void __user *)arg, minsz)) in vfio_pci_ioctl()
1330 if (ioeventfd.argsz < minsz) in vfio_pci_ioctl()
1333 if (ioeventfd.flags & ~VFIO_DEVICE_IOEVENTFD_SIZE_MASK) in vfio_pci_ioctl()
1336 count = ioeventfd.flags & VFIO_DEVICE_IOEVENTFD_SIZE_MASK; in vfio_pci_ioctl()
[all …]
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Ds390-diag.rst62 Handled by either userspace or KVM (ioeventfd case).
H A Dapi.rst1878 This ioctl attaches or detaches an ioeventfd to a legal pio/mmio address
1910 With KVM_CAP_IOEVENTFD_ANY_LENGTH, a zero length ioeventfd is allowed, and
1912 The speedup may only apply to specific architectures, but the ioeventfd will