Lines Matching refs:VFIOPlatformDevice
61 VFIOPlatformDevice *vdev = in vfio_init_intp()
62 container_of(vbasedev, VFIOPlatformDevice, vbasedev); in vfio_init_intp()
146 static void vfio_mmap_set_enabled(VFIOPlatformDevice *vdev, bool enabled) in vfio_mmap_set_enabled()
168 VFIOPlatformDevice *vdev = (VFIOPlatformDevice *)opaque; in vfio_intp_mmap_enable()
216 VFIOPlatformDevice *vdev = intp->vdev; in vfio_intp_interrupt()
288 VFIOPlatformDevice *vdev = in vfio_platform_eoi()
289 container_of(vbasedev, VFIOPlatformDevice, vbasedev); in vfio_platform_eoi()
327 VFIOPlatformDevice *vdev = VFIO_PLATFORM_DEVICE(sbdev); in vfio_start_eventfd_injection()
378 VFIOPlatformDevice *vdev = VFIO_PLATFORM_DEVICE(sbdev); in vfio_start_irqfd_injection()
448 VFIOPlatformDevice *vdev = in vfio_populate_device()
449 container_of(vbasedev, VFIOPlatformDevice, vbasedev); in vfio_populate_device()
573 VFIOPlatformDevice *vdev = VFIO_PLATFORM_DEVICE(dev); in vfio_platform_realize()
633 DEFINE_PROP_STRING("host", VFIOPlatformDevice, vbasedev.name),
634 DEFINE_PROP_STRING("sysfsdev", VFIOPlatformDevice, vbasedev.sysfsdev),
635 DEFINE_PROP_BOOL("x-no-mmap", VFIOPlatformDevice, vbasedev.no_mmap, false),
636 DEFINE_PROP_UINT32("mmap-timeout-ms", VFIOPlatformDevice,
638 DEFINE_PROP_BOOL("x-irqfd", VFIOPlatformDevice, irqfd_allowed, true),
640 DEFINE_PROP_LINK("iommufd", VFIOPlatformDevice, vbasedev.iommufd,
648 VFIOPlatformDevice *vdev = VFIO_PLATFORM_DEVICE(obj); in vfio_platform_instance_init()
683 .instance_size = sizeof(VFIOPlatformDevice),