Home
last modified time | relevance | path

Searched refs:VFIODevice (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/include/hw/vfio/
H A Dvfio-common.h54 struct VFIODevice *vbasedev;
65 struct VFIODevice *vbasedev;
101 QLIST_HEAD(, VFIODevice) device_list;
116 typedef struct VFIODevice { struct
117 QLIST_ENTRY(VFIODevice) next;
118 QLIST_ENTRY(VFIODevice) container_next;
119 QLIST_ENTRY(VFIODevice) global_next;
149 QLIST_ENTRY(VFIODevice) hwpt_next; argument
150 } VFIODevice; typedef
155 void (*vfio_eoi)(VFIODevice *vdev);
[all …]
H A Dvfio-container-base.h18 typedef struct VFIODevice VFIODevice; typedef
50 QLIST_HEAD(, VFIODevice) device_list;
119 bool (*attach_device)(const char *name, VFIODevice *vbasedev,
121 void (*detach_device)(VFIODevice *vbasedev);
155 int (*pci_hot_reset)(VFIODevice *vbasedev, bool single);
H A Dvfio-platform.h52 VFIODevice vbasedev; /* not a QOM object */
/openbmc/qemu/hw/vfio/
H A Dmigration.c260 VFIODevice *vbasedev = opaque; in vfio_save_device_config_state()
285 VFIODevice *vbasedev = opaque; in vfio_load_device_config_state()
428 VFIODevice *vbasedev = opaque; in vfio_save_prepare()
458 VFIODevice *vbasedev = opaque; in vfio_save_setup()
511 VFIODevice *vbasedev = opaque; in vfio_save_cleanup()
541 VFIODevice *vbasedev = opaque; in vfio_state_pending_estimate()
566 VFIODevice *vbasedev = opaque; in vfio_state_pending_exact()
591 VFIODevice *vbasedev = opaque; in vfio_is_active_iterate()
604 VFIODevice *vbasedev = opaque; in vfio_save_iterate()
631 VFIODevice *vbasedev = opaque; in vfio_save_complete_precopy()
[all …]
H A Dhelpers.c35 void vfio_disable_irqindex(VFIODevice *vbasedev, int index) in vfio_disable_irqindex()
48 void vfio_unmask_single_irqindex(VFIODevice *vbasedev, int index) in vfio_unmask_single_irqindex()
61 void vfio_mask_single_irqindex(VFIODevice *vbasedev, int index) in vfio_mask_single_irqindex()
88 static const char *index_to_str(VFIODevice *vbasedev, int index) in index_to_str()
155 VFIODevice *vbasedev = region->vbasedev; in vfio_region_write()
205 VFIODevice *vbasedev = region->vbasedev; in vfio_region_read()
531 int vfio_get_region_info(VFIODevice *vbasedev, int index, in vfio_get_region_info()
558 int vfio_get_dev_region_info(VFIODevice *vbasedev, uint32_t type, in vfio_get_dev_region_info()
607 bool vfio_device_get_name(VFIODevice *vbasedev, Error **errp) in vfio_device_get_name()
662 int vfio_device_get_aw_bits(VFIODevice *vdev) in vfio_device_get_aw_bits()
[all …]
H A Diommufd.c58 static void iommufd_cdev_kvm_device_del(VFIODevice *vbasedev) in iommufd_cdev_kvm_device_del()
278 static bool iommufd_cdev_autodomains_get(VFIODevice *vbasedev, in iommufd_cdev_autodomains_get()
358 static void iommufd_cdev_autodomains_put(VFIODevice *vbasedev, in iommufd_cdev_autodomains_put()
373 static bool iommufd_cdev_attach_container(VFIODevice *vbasedev, in iommufd_cdev_attach_container()
615 static void iommufd_cdev_detach(VFIODevice *vbasedev) in iommufd_cdev_detach()
641 VFIODevice *vbasedev_iter; in iommufd_cdev_pci_find_by_devid()
658 VFIODevice *reset_dev) in iommufd_cdev_dep_get_realized_vpdev()
660 VFIODevice *vbasedev_tmp; in iommufd_cdev_dep_get_realized_vpdev()
807 VFIODevice *vdev = opaque; in hiod_iommufd_vfio_realize()
833 VFIODevice *vdev = hiod->agent; in hiod_iommufd_vfio_get_iova_ranges()
[all …]
H A Dplatform.c57 static VFIOINTp *vfio_init_intp(VFIODevice *vbasedev, in vfio_init_intp()
115 VFIODevice *vbasedev = &intp->vdev->vbasedev; in vfio_set_trigger_eventfd()
285 static void vfio_platform_eoi(VFIODevice *vbasedev) in vfio_platform_eoi()
355 VFIODevice *vbasedev = &intp->vdev->vbasedev; in vfio_set_resample_eventfd()
426 static void vfio_platform_compute_needs_reset(VFIODevice *vbasedev) in vfio_platform_compute_needs_reset()
432 static int vfio_platform_hot_reset_multi(VFIODevice *vbasedev) in vfio_platform_hot_reset_multi()
444 static bool vfio_populate_device(VFIODevice *vbasedev, Error **errp) in vfio_populate_device()
529 static bool vfio_base_device_init(VFIODevice *vbasedev, Error **errp) in vfio_base_device_init()
575 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_platform_realize()
649 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_platform_instance_init()
H A Dap.c38 VFIODevice vdev;
44 static void vfio_ap_compute_needs_reset(VFIODevice *vdev) in OBJECT_DECLARE_SIMPLE_TYPE()
81 VFIODevice *vdev = &vapdev->vdev; in vfio_ap_register_irq_notifier()
159 VFIODevice *vbasedev = &vapdev->vdev; in vfio_ap_realize()
223 VFIODevice *vbasedev = &vapdev->vdev; in vfio_ap_instance_init()
H A Dcommon.c69 VFIODevice *vbasedev; in vfio_mig_active()
92 VFIODevice *vbasedev; in vfio_multiple_devices_migration_is_supported()
145 bool vfio_viommu_preset(VFIODevice *vbasedev) in vfio_viommu_preset()
175 VFIODevice *vbasedev; in vfio_devices_all_dirty_tracking()
199 VFIODevice *vbasedev; in vfio_devices_all_device_dirty_tracking()
220 VFIODevice *vbasedev; in vfio_devices_all_running_and_mig_active()
820 VFIODevice *vbasedev; in vfio_section_is_vfio_pci()
932 VFIODevice *vbasedev; in vfio_devices_dma_logging_stop()
1030 VFIODevice *vbasedev; in vfio_devices_dma_logging_start()
1137 VFIODevice *vbasedev; in vfio_devices_query_dirty_bitmap()
[all …]
H A Dcontainer.c802 VFIODevice *vbasedev, Error **errp) in vfio_get_device()
860 static void vfio_put_base_device(VFIODevice *vbasedev) in vfio_put_base_device()
871 static int vfio_device_groupid(VFIODevice *vbasedev, Error **errp) in vfio_device_groupid()
907 VFIODevice *vbasedev_iter; in vfio_legacy_attach_device()
946 static void vfio_legacy_detach_device(VFIODevice *vbasedev) in vfio_legacy_detach_device()
958 static int vfio_legacy_pci_hot_reset(VFIODevice *vbasedev, bool single) in vfio_legacy_pci_hot_reset()
989 VFIODevice *vbasedev_iter; in vfio_legacy_pci_hot_reset()
1084 VFIODevice *vbasedev_iter; in vfio_legacy_pci_hot_reset()
1145 VFIODevice *vdev = opaque; in hiod_legacy_vfio_realize()
1168 VFIODevice *vdev = hiod->agent; in hiod_legacy_vfio_get_iova_ranges()
[all …]
H A Dccw.c37 VFIODevice vdev;
65 static void vfio_ccw_compute_needs_reset(VFIODevice *vdev) in vfio_ccw_compute_needs_reset()
386 VFIODevice *vdev = &vcdev->vdev; in vfio_ccw_register_irq_notifier()
479 VFIODevice *vdev = &vcdev->vdev; in vfio_ccw_get_region()
580 VFIODevice *vbasedev = &vcdev->vdev; in vfio_ccw_realize()
676 VFIODevice *vbasedev = &vcdev->vdev; in vfio_ccw_instance_init()
H A Dpci.c104 static void vfio_intx_eoi(VFIODevice *vbasedev) in vfio_intx_eoi()
2513 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_hot_reset()
2539 static int vfio_pci_hot_reset_multi(VFIODevice *vbasedev) in vfio_pci_hot_reset_multi()
2545 static void vfio_pci_compute_needs_reset(VFIODevice *vbasedev) in vfio_pci_compute_needs_reset()
2553 static Object *vfio_pci_get_object(VFIODevice *vbasedev) in vfio_pci_get_object()
2617 static int vfio_pci_load_config(VFIODevice *vbasedev, QEMUFile *f) in vfio_pci_load_config()
2668 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_populate_vga()
2733 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_populate_device()
2965 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_realize()
3273 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_exitfn()
[all …]
H A Dpci.h124 VFIODevice vbasedev;
/openbmc/qemu/hw/core/
H A Dsysbus-fdt.c224 VFIODevice *vbasedev = &vdev->vbasedev; in add_calxeda_midway_xgmac_fdt_node()
295 VFIODevice *vbasedev = &vdev->vbasedev; in add_amd_xgbe_fdt_node()