Lines Matching refs:VFIODevice
54 struct VFIODevice *vbasedev;
65 struct VFIODevice *vbasedev;
104 QLIST_HEAD(, VFIODevice) device_list;
119 typedef struct VFIODevice { struct
120 QLIST_ENTRY(VFIODevice) next;
121 QLIST_ENTRY(VFIODevice) container_next;
122 QLIST_ENTRY(VFIODevice) global_next;
152 QLIST_ENTRY(VFIODevice) hwpt_next; argument
153 } VFIODevice; typedef
156 void (*vfio_compute_needs_reset)(VFIODevice *vdev);
157 int (*vfio_hot_reset_multi)(VFIODevice *vdev);
158 void (*vfio_eoi)(VFIODevice *vdev);
159 Object *(*vfio_get_object)(VFIODevice *vdev);
172 int (*vfio_save_config)(VFIODevice *vdev, QEMUFile *f, Error **errp);
184 int (*vfio_load_config)(VFIODevice *vdev, QEMUFile *f);
191 QLIST_HEAD(, VFIODevice) device_list;
232 void vfio_disable_irqindex(VFIODevice *vbasedev, int index);
233 void vfio_unmask_single_irqindex(VFIODevice *vbasedev, int index);
234 void vfio_mask_single_irqindex(VFIODevice *vbasedev, int index);
235 bool vfio_set_irq_signaling(VFIODevice *vbasedev, int index, int subindex,
241 int vfio_region_setup(Object *obj, VFIODevice *vbasedev, VFIORegion *region,
250 bool vfio_device_is_mdev(VFIODevice *vbasedev);
251 bool vfio_device_hiod_realize(VFIODevice *vbasedev, Error **errp);
252 bool vfio_attach_device(char *name, VFIODevice *vbasedev,
254 void vfio_detach_device(VFIODevice *vbasedev);
264 typedef QLIST_HEAD(VFIODeviceList, VFIODevice) VFIODeviceList;
271 int vfio_block_multiple_devices_migration(VFIODevice *vbasedev, Error **errp);
273 bool vfio_viommu_preset(VFIODevice *vbasedev);
276 bool vfio_device_state_is_running(VFIODevice *vbasedev);
277 bool vfio_device_state_is_precopy(VFIODevice *vbasedev);
280 int vfio_get_region_info(VFIODevice *vbasedev, int index,
282 int vfio_get_dev_region_info(VFIODevice *vbasedev, uint32_t type,
284 bool vfio_has_region_cap(VFIODevice *vbasedev, int region, uint16_t cap_type);
295 bool vfio_migration_realize(VFIODevice *vbasedev, Error **errp);
296 void vfio_migration_exit(VFIODevice *vbasedev);
309 bool vfio_device_get_name(VFIODevice *vbasedev, Error **errp);
310 void vfio_device_set_fd(VFIODevice *vbasedev, const char *str, Error **errp);
311 void vfio_device_init(VFIODevice *vbasedev, int type, VFIODeviceOps *ops,
313 int vfio_device_get_aw_bits(VFIODevice *vdev);