Home
last modified time | relevance | path

Searched refs:VirtIOPCIProxy (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/qemu/hw/virtio/
H A Dvirtio-pci.c53 VirtIOPCIProxy *dev);
58 static inline VirtIOPCIProxy *to_virtio_pci_proxy(DeviceState *d) in to_virtio_pci_proxy()
60 return container_of(d, VirtIOPCIProxy, pci_dev.qdev); in to_virtio_pci_proxy()
66 static inline VirtIOPCIProxy *to_virtio_pci_proxy_fast(DeviceState *d) in to_virtio_pci_proxy_fast()
68 return container_of(d, VirtIOPCIProxy, pci_dev.qdev); in to_virtio_pci_proxy_fast()
73 VirtIOPCIProxy *proxy = to_virtio_pci_proxy_fast(d); in virtio_pci_notify()
87 VirtIOPCIProxy *proxy = to_virtio_pci_proxy(d); in virtio_pci_save_config()
113 VirtIOPCIProxy *proxy = opaque; in virtio_pci_modern_state_needed()
124 VMSTATE_UINT32(dfselect, VirtIOPCIProxy),
125 VMSTATE_UINT32(gfselect, VirtIOPCIProxy),
[all …]
H A Dvirtio-blk-pci.c37 VirtIOPCIProxy parent_obj;
42 DEFINE_PROP_UINT32("class", VirtIOPCIProxy, class_code, 0),
43 DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
45 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
50 static void virtio_blk_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_blk_pci_realize()
H A Dvirtio-serial-pci.c36 VirtIOPCIProxy parent_obj;
40 static void virtio_serial_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_serial_pci_realize()
73 DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
75 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, 2),
76 DEFINE_PROP_UINT32("class", VirtIOPCIProxy, class_code, 0),
H A Dvirtio-9p-pci.c34 VirtIOPCIProxy parent_obj;
38 static void virtio_9p_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_9p_pci_realize()
47 DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
49 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, 2),
H A Dvirtio-crypto-pci.c36 VirtIOPCIProxy parent_obj;
41 DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
43 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, 2),
47 static void virtio_crypto_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_crypto_pci_realize()
H A Dvirtio-rng-pci.c31 VirtIOPCIProxy parent_obj;
36 DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
38 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
43 static void virtio_rng_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_rng_pci_realize()
H A Dvhost-user-blk-pci.c42 VirtIOPCIProxy parent_obj;
47 DEFINE_PROP_UINT32("class", VirtIOPCIProxy, class_code, 0),
48 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
53 static void vhost_user_blk_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in vhost_user_blk_pci_realize()
H A Dvirtio-scsi-pci.c34 VirtIOPCIProxy parent_obj;
39 DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
41 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
46 static void virtio_scsi_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_scsi_pci_realize()
H A Dvirtio-net-pci.c37 VirtIOPCIProxy parent_obj;
42 DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
44 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
49 static void virtio_net_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_net_pci_realize()
H A Dvhost-user-vsock-pci.c28 VirtIOPCIProxy parent_obj;
35 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, 3),
39 static void vhost_user_vsock_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in vhost_user_vsock_pci_realize()
H A Dvhost-user-rng-pci.c15 VirtIOPCIProxy parent_obj;
27 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
32 static void vhost_user_rng_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in vhost_user_rng_pci_realize()
H A Dvhost-vsock-pci.c32 VirtIOPCIProxy parent_obj;
39 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, 3),
43 static void vhost_vsock_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in vhost_vsock_pci_realize()
H A Dvhost-user-fs-pci.c21 VirtIOPCIProxy parent_obj;
33 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
38 static void vhost_user_fs_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in vhost_user_fs_pci_realize()
H A Dvirtio-input-pci.c24 VirtIOPCIProxy parent_obj;
36 VirtIOPCIProxy parent_obj;
41 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, 2),
45 static void virtio_input_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_input_pci_realize()
H A Dvdpa-dev-pci.c37 VirtIOPCIProxy parent_obj;
58 VirtIOPCIProxy *vpci_dev = &dev->parent_obj; in vhost_vdpa_device_pci_post_init()
69 vhost_vdpa_device_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in vhost_vdpa_device_pci_realize()
H A Dvhost-user-scsi-pci.c43 VirtIOPCIProxy parent_obj;
48 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
53 static void vhost_user_scsi_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in vhost_user_scsi_pci_realize()
H A Dvhost-scsi-pci.c37 VirtIOPCIProxy parent_obj;
42 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
47 static void vhost_scsi_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in vhost_scsi_pci_realize()
H A Dvirtio-iommu-pci.c33 VirtIOPCIProxy parent_obj;
38 DEFINE_PROP_UINT32("class", VirtIOPCIProxy, class_code, 0),
45 static void virtio_iommu_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_iommu_pci_realize()
H A Dvirtio-nsm-pci.c27 VirtIOPCIProxy parent_obj;
31 static void virtio_nsm_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_nsm_pci_realize()
H A Dvhost-user-snd-pci.c15 VirtIOPCIProxy parent_obj;
30 static void vhost_user_snd_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in vhost_user_snd_pci_realize()
H A Dvhost-user-device-pci.c16 VirtIOPCIProxy parent_obj;
25 static void vhost_user_device_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in OBJECT_DECLARE_SIMPLE_TYPE()
H A Dvhost-user-scmi-pci.c14 VirtIOPCIProxy parent_obj;
25 static void vhost_user_scmi_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in DECLARE_INSTANCE_CHECKER()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-pci.h107 OBJECT_DECLARE_TYPE(VirtIOPCIProxy, VirtioPCIClass, VIRTIO_PCI)
112 void (*realize)(VirtIOPCIProxy *vpci_dev, Error **errp);
135 struct VirtIOPCIProxy { struct
176 static inline bool virtio_pci_modern(VirtIOPCIProxy *proxy) in virtio_pci_modern() argument
181 static inline bool virtio_pci_legacy(VirtIOPCIProxy *proxy) in virtio_pci_legacy()
186 static inline void virtio_pci_force_virtio_1(VirtIOPCIProxy *proxy) in virtio_pci_force_virtio_1()
192 static inline void virtio_pci_disable_modern(VirtIOPCIProxy *proxy) in virtio_pci_disable_modern()
277 int virtio_pci_add_shm_cap(VirtIOPCIProxy *proxy, uint8_t bar, uint64_t offset,
/openbmc/qemu/hw/audio/
H A Dvirtio-snd-pci.c25 VirtIOPCIProxy parent_obj;
31 DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
33 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, 2),
37 static void virtio_snd_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) in virtio_snd_pci_realize()
/openbmc/qemu/docs/devel/
H A Dvirtio-backends.rst79 VirtIOPCIProxy section in Using the QEMU Object Model (QOM)
87 on the VirtIOPCIProxy class and the specific VirtIO instance is
100 VirtIOPCIProxy parent_obj;
105 DEFINE_PROP_UINT32("class", VirtIOPCIProxy, class_code, 0),
106 DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
108 DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
113 static void virtio_blk_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)

12