Home
last modified time | relevance | path

Searched defs:vbasedev (Results 1 – 22 of 22) sorted by relevance

/openbmc/qemu/hw/vfio/
H A Ddevice.c58 VFIODevice *vbasedev; in vfio_device_reset_handler() local
77 void vfio_device_irq_disable(VFIODevice *vbasedev, int index) in vfio_device_irq_disable()
90 void vfio_device_irq_unmask(VFIODevice *vbasedev, int index) in vfio_device_irq_unmask()
103 void vfio_device_irq_mask(VFIODevice *vbasedev, int index) in vfio_device_irq_mask()
130 static const char *index_to_str(VFIODevice *vbasedev, int index) in index_to_str()
152 bool vfio_device_irq_set_signaling(VFIODevice *vbasedev, int index, int subindex, in vfio_device_irq_set_signaling()
190 int vfio_device_get_irq_info(VFIODevice *vbasedev, int index, in vfio_device_get_irq_info()
201 int vfio_device_get_region_info(VFIODevice *vbasedev, int index, in vfio_device_get_region_info()
248 int vfio_device_get_region_fd(VFIODevice *vbasedev, int index) in vfio_device_get_region_fd()
255 int vfio_device_get_region_info_type(VFIODevice *vbasedev, uint32_t type, in vfio_device_get_region_info_type()
[all …]
H A Dmigration.c92 static void vfio_migration_send_event(VFIODevice *vbasedev) in vfio_migration_send_event()
112 static void vfio_migration_set_device_state(VFIODevice *vbasedev, in vfio_migration_set_device_state()
124 int vfio_migration_set_state(VFIODevice *vbasedev, in vfio_migration_set_state()
222 vfio_migration_set_state_or_reset(VFIODevice *vbasedev, in vfio_migration_set_state_or_reset()
230 static int vfio_load_buffer(QEMUFile *f, VFIODevice *vbasedev, in vfio_load_buffer()
244 VFIODevice *vbasedev = opaque; in vfio_save_device_config_state() local
269 VFIODevice *vbasedev = opaque; in vfio_load_device_config_state() local
296 static void vfio_migration_cleanup(VFIODevice *vbasedev) in vfio_migration_cleanup()
304 static int vfio_query_stop_copy_size(VFIODevice *vbasedev, in vfio_query_stop_copy_size()
410 static bool vfio_precopy_supported(VFIODevice *vbasedev) in vfio_precopy_supported()
[all …]
H A Dplatform.c58 static VFIOINTp *vfio_init_intp(VFIODevice *vbasedev, in vfio_init_intp()
116 VFIODevice *vbasedev = &intp->vdev->vbasedev; in vfio_set_trigger_eventfd() local
286 static void vfio_platform_eoi(VFIODevice *vbasedev) in vfio_platform_eoi()
356 VFIODevice *vbasedev = &intp->vdev->vbasedev; in vfio_set_resample_eventfd() local
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() local
649 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_platform_instance_init() local
H A Dmigration-multifd.c38 bool vfio_load_config_after_iter(VFIODevice *vbasedev) in vfio_load_config_after_iter()
123 static bool vfio_load_state_buffer_insert(VFIODevice *vbasedev, in vfio_load_state_buffer_insert()
168 VFIODevice *vbasedev = opaque; in vfio_multifd_load_state_buffer() local
228 static bool vfio_load_bufs_thread_load_config(VFIODevice *vbasedev, in vfio_load_bufs_thread_load_config()
299 static bool vfio_load_state_buffer_write(VFIODevice *vbasedev, in vfio_load_state_buffer_write()
374 VFIODevice *vbasedev = opaque; in vfio_load_bufs_thread() local
463 int vfio_load_state_config_load_ready(VFIODevice *vbasedev) in vfio_load_state_config_load_ready()
565 void vfio_multifd_cleanup(VFIODevice *vbasedev) in vfio_multifd_cleanup()
578 bool vfio_multifd_transfer_enabled(VFIODevice *vbasedev) in vfio_multifd_transfer_enabled()
585 bool vfio_multifd_setup(VFIODevice *vbasedev, bool alloc_multifd, Error **errp) in vfio_multifd_setup()
[all …]
H A Diommufd.c90 static bool iommufd_cdev_kvm_device_add(VFIODevice *vbasedev, Error **errp) in iommufd_cdev_kvm_device_add()
95 static void iommufd_cdev_kvm_device_del(VFIODevice *vbasedev) in iommufd_cdev_kvm_device_del()
104 static bool iommufd_cdev_connect_and_bind(VFIODevice *vbasedev, Error **errp) in iommufd_cdev_connect_and_bind()
150 static void iommufd_cdev_unbind_and_disconnect(VFIODevice *vbasedev) in iommufd_cdev_unbind_and_disconnect()
281 static int iommufd_cdev_attach_ioas_hwpt(VFIODevice *vbasedev, uint32_t id, in iommufd_cdev_attach_ioas_hwpt()
304 static bool iommufd_cdev_detach_ioas_hwpt(VFIODevice *vbasedev, Error **errp) in iommufd_cdev_detach_ioas_hwpt()
321 static bool iommufd_cdev_autodomains_get(VFIODevice *vbasedev, in iommufd_cdev_autodomains_get()
421 static void iommufd_cdev_autodomains_put(VFIODevice *vbasedev, in iommufd_cdev_autodomains_put()
436 static bool iommufd_cdev_attach_container(VFIODevice *vbasedev, in iommufd_cdev_attach_container()
450 static void iommufd_cdev_detach_container(VFIODevice *vbasedev, in iommufd_cdev_detach_container()
[all …]
H A Dcpr-iommufd.c54 static void vfio_cpr_save_device(VFIODevice *vbasedev) in vfio_cpr_save_device()
90 static bool vfio_cpr_find_device(VFIODevice *vbasedev) in vfio_cpr_find_device()
197 void vfio_iommufd_cpr_register_device(VFIODevice *vbasedev) in vfio_iommufd_cpr_register_device()
209 void vfio_iommufd_cpr_unregister_device(VFIODevice *vbasedev) in vfio_iommufd_cpr_unregister_device()
215 void vfio_cpr_load_device(VFIODevice *vbasedev) in vfio_cpr_load_device()
H A Dpci.c136 void vfio_pci_intx_eoi(VFIODevice *vbasedev) in vfio_pci_intx_eoi()
612 static void set_irq_signalling(VFIODevice *vbasedev, VFIOMSIVector *vector, in set_irq_signalling()
1018 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_load_rom() local
1174 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_size_rom() local
1378 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_read_config() local
1412 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_write_config() local
2619 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_post_reset() local
2692 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_hot_reset() local
2718 static int vfio_pci_hot_reset_multi(VFIODevice *vbasedev) in vfio_pci_hot_reset_multi()
2724 static void vfio_pci_compute_needs_reset(VFIODevice *vbasedev) in vfio_pci_compute_needs_reset()
[all …]
H A Dcontainer-base.c156 VFIODevice *vbasedev; in vfio_container_devices_dirty_tracking_is_started() local
177 VFIODevice *vbasedev; in vfio_container_devices_dirty_tracking_is_supported() local
191 static int vfio_device_dma_logging_report(VFIODevice *vbasedev, hwaddr iova, in vfio_device_dma_logging_report()
226 VFIODevice *vbasedev; in vfio_container_devices_query_dirty_bitmap() local
H A Dregion.c41 VFIODevice *vbasedev = region->vbasedev; in vfio_region_write() local
94 VFIODevice *vbasedev = region->vbasedev; in vfio_region_read() local
187 int vfio_region_setup(Object *obj, VFIODevice *vbasedev, VFIORegion *region, in vfio_region_setup()
H A Dcontainer.c857 VFIODevice *vbasedev, Error **errp) in vfio_device_get()
914 static void vfio_device_put(VFIODevice *vbasedev) in vfio_device_put()
926 static int vfio_device_get_groupid(VFIODevice *vbasedev, Error **errp) in vfio_device_get_groupid()
958 static bool vfio_legacy_attach_device(const char *name, VFIODevice *vbasedev, in vfio_legacy_attach_device()
1012 static void vfio_legacy_detach_device(VFIODevice *vbasedev) in vfio_legacy_detach_device()
1026 static int vfio_legacy_pci_hot_reset(VFIODevice *vbasedev, bool single) in vfio_legacy_pci_hot_reset()
H A Dlistener.c57 VFIODevice *vbasedev; in vfio_log_sync_needed() local
447 static void vfio_device_error_append(VFIODevice *vbasedev, Error **errp) in vfio_device_error_append()
613 VFIODevice *vbasedev = in vfio_container_region_add() local
748 VFIODevice *vbasedev; in vfio_section_is_vfio_pci() local
860 VFIODevice *vbasedev; in vfio_devices_dma_logging_stop() local
962 VFIODevice *vbasedev; in vfio_devices_dma_logging_start() local
H A Dap.c236 VFIODevice *vbasedev = &vapdev->vdev; in vfio_ap_realize() local
309 VFIODevice *vbasedev = &vapdev->vdev; in vfio_ap_instance_init() local
H A Dvfio-migration-internal.h40 struct VFIODevice *vbasedev; member
H A Dccw.c569 VFIODevice *vbasedev = &vcdev->vdev; in vfio_ccw_realize() local
665 VFIODevice *vbasedev = &vcdev->vdev; in vfio_ccw_instance_init() local
H A Dpci.h127 VFIODevice vbasedev; member
/openbmc/qemu/hw/vfio-user/
H A Dcontainer.c191 static VFIOUserContainer *vfio_user_create_container(VFIODevice *vbasedev, in vfio_user_create_container()
205 vfio_user_container_connect(AddressSpace *as, VFIODevice *vbasedev, in vfio_user_container_connect()
283 VFIODevice *vbasedev, Error **errp) in vfio_user_device_get()
302 static bool vfio_user_device_attach(const char *name, VFIODevice *vbasedev, in vfio_user_device_attach()
316 static void vfio_user_device_detach(VFIODevice *vbasedev) in vfio_user_device_detach()
326 static int vfio_user_pci_hot_reset(VFIODevice *vbasedev, bool single) in vfio_user_pci_hot_reset()
H A Ddevice.c130 static int vfio_user_device_io_get_region_info(VFIODevice *vbasedev, in vfio_user_device_io_get_region_info()
155 static int vfio_user_device_io_get_irq_info(VFIODevice *vbasedev, in vfio_user_device_io_get_irq_info()
200 static int vfio_user_device_io_set_irqs(VFIODevice *vbasedev, in vfio_user_device_io_set_irqs()
291 static int vfio_user_device_io_region_read(VFIODevice *vbasedev, uint8_t index, in vfio_user_device_io_region_read()
334 static int vfio_user_device_io_region_write(VFIODevice *vbasedev, uint8_t index, in vfio_user_device_io_region_write()
H A Dpci.c209 static void vfio_user_compute_needs_reset(VFIODevice *vbasedev) in vfio_user_compute_needs_reset()
214 static Object *vfio_user_pci_get_object(VFIODevice *vbasedev) in vfio_user_pci_get_object()
236 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_user_pci_realize() local
348 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_user_instance_init() local
373 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_user_instance_finalize() local
389 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_user_pci_reset() local
H A Dproxy.c928 void vfio_user_set_handler(VFIODevice *vbasedev, in vfio_user_set_handler()
/openbmc/qemu/include/hw/vfio/
H A Dvfio-region.h24 struct VFIODevice *vbasedev; member
H A Dvfio-platform.h54 VFIODevice vbasedev; /* not a QOM object */ member
/openbmc/qemu/hw/core/
H A Dsysbus-fdt.c226 VFIODevice *vbasedev = &vdev->vbasedev; in add_calxeda_midway_xgmac_fdt_node() local
297 VFIODevice *vbasedev = &vdev->vbasedev; in add_amd_xgbe_fdt_node() local