Lines Matching refs:flags
915 static int mtty_set_irqs(struct mdev_device *mdev, uint32_t flags, in mtty_set_irqs() argument
932 switch (flags & VFIO_IRQ_SET_ACTION_TYPE_MASK) { in mtty_set_irqs()
938 if (flags & VFIO_IRQ_SET_DATA_NONE) { in mtty_set_irqs()
945 if (flags & VFIO_IRQ_SET_DATA_EVENTFD) { in mtty_set_irqs()
967 switch (flags & VFIO_IRQ_SET_ACTION_TYPE_MASK) { in mtty_set_irqs()
972 if (flags & VFIO_IRQ_SET_DATA_NONE) { in mtty_set_irqs()
979 if (flags & VFIO_IRQ_SET_DATA_EVENTFD) { in mtty_set_irqs()
1086 region_info->flags = VFIO_REGION_INFO_FLAG_READ | in mtty_get_region_info()
1105 irq_info->flags = VFIO_IRQ_INFO_EVENTFD; in mtty_get_irq_info()
1109 irq_info->flags |= (VFIO_IRQ_INFO_MASKABLE | in mtty_get_irq_info()
1112 irq_info->flags |= VFIO_IRQ_INFO_NORESIZE; in mtty_get_irq_info()
1120 dev_info->flags = VFIO_DEVICE_FLAGS_PCI; in mtty_get_device_info()
1237 ret = mtty_set_irqs(mdev, hdr.flags, hdr.index, hdr.start, in mtty_ioctl()