/openbmc/qemu/tests/qtest/libqos/ |
H A D | virtio.h | 20 typedef struct QVirtioDevice { struct 27 } QVirtioDevice; typedef 30 QVirtioDevice *vdev; 57 uint64_t (*get_features)(QVirtioDevice *d); 66 uint8_t (*get_status)(QVirtioDevice *d); 110 bool qvirtio_is_big_endian(QVirtioDevice *d); 112 void qvirtio_reset(QVirtioDevice *d); 113 void qvirtio_set_acknowledge(QVirtioDevice *d); 114 void qvirtio_set_driver(QVirtioDevice *d); 115 void qvirtio_set_driver_ok(QVirtioDevice *d); [all …]
|
H A D | virtio.c | 46 static void qvirtio_writew(QVirtioDevice *d, QTestState *qts, in qvirtio_writew() 55 static void qvirtio_writel(QVirtioDevice *d, QTestState *qts, in qvirtio_writel() 64 static void qvirtio_writeq(QVirtioDevice *d, QTestState *qts, in qvirtio_writeq() 97 uint64_t qvirtio_get_features(QVirtioDevice *d) in qvirtio_get_features() 125 QVirtQueue *qvirtqueue_setup(QVirtioDevice *d, in qvirtqueue_setup() 138 void qvirtio_reset(QVirtioDevice *d) in qvirtio_reset() 145 void qvirtio_set_acknowledge(QVirtioDevice *d) in qvirtio_set_acknowledge() 151 void qvirtio_set_driver(QVirtioDevice *d) in qvirtio_set_driver() 158 void qvirtio_set_driver_ok(QVirtioDevice *d) in qvirtio_set_driver_ok() 457 void qvirtio_start_device(QVirtioDevice *vdev) in qvirtio_start_device() [all …]
|
H A D | virtio-mmio.c | 19 static uint8_t qvirtio_mmio_config_readb(QVirtioDevice *d, uint64_t off) in qvirtio_mmio_config_readb() 25 static uint16_t qvirtio_mmio_config_readw(QVirtioDevice *d, uint64_t off) in qvirtio_mmio_config_readw() 31 static uint32_t qvirtio_mmio_config_readl(QVirtioDevice *d, uint64_t off) in qvirtio_mmio_config_readl() 43 static uint64_t qvirtio_mmio_get_features(QVirtioDevice *d) in qvirtio_mmio_get_features() 74 static uint64_t qvirtio_mmio_get_guest_features(QVirtioDevice *d) in qvirtio_mmio_get_guest_features() 80 static uint8_t qvirtio_mmio_get_status(QVirtioDevice *d) in qvirtio_mmio_get_status() 86 static void qvirtio_mmio_set_status(QVirtioDevice *d, uint8_t status) in qvirtio_mmio_set_status() 106 static bool qvirtio_mmio_get_config_isr_status(QVirtioDevice *d) in qvirtio_mmio_get_config_isr_status() 120 static void qvirtio_mmio_wait_config_isr_status(QVirtioDevice *d, in qvirtio_mmio_wait_config_isr_status() 140 static uint16_t qvirtio_mmio_get_queue_size(QVirtioDevice *d) in qvirtio_mmio_get_queue_size() [all …]
|
H A D | virtio-pci-modern.c | 16 static uint8_t config_readb(QVirtioDevice *d, uint64_t addr) in config_readb() 22 static uint16_t config_readw(QVirtioDevice *d, uint64_t addr) in config_readw() 28 static uint32_t config_readl(QVirtioDevice *d, uint64_t addr) in config_readl() 34 static uint64_t config_readq(QVirtioDevice *d, uint64_t addr) in config_readq() 40 static uint64_t get_features(QVirtioDevice *d) in get_features() 87 static uint64_t get_guest_features(QVirtioDevice *d) in get_guest_features() 109 static uint8_t get_status(QVirtioDevice *d) in get_status() 118 static void set_status(QVirtioDevice *d, uint8_t status) in set_status() 162 static bool get_config_isr_status(QVirtioDevice *d) in get_config_isr_status() 185 static void queue_select(QVirtioDevice *d, uint16_t index) in queue_select() [all …]
|
H A D | virtio-pci.c | 42 static uint8_t qvirtio_pci_config_readb(QVirtioDevice *d, uint64_t off) in qvirtio_pci_config_readb() 55 static uint16_t qvirtio_pci_config_readw(QVirtioDevice *d, uint64_t off) in qvirtio_pci_config_readw() 67 static uint32_t qvirtio_pci_config_readl(QVirtioDevice *d, uint64_t off) in qvirtio_pci_config_readl() 92 static uint64_t qvirtio_pci_get_features(QVirtioDevice *d) in qvirtio_pci_get_features() 104 static uint64_t qvirtio_pci_get_guest_features(QVirtioDevice *d) in qvirtio_pci_get_guest_features() 110 static uint8_t qvirtio_pci_get_status(QVirtioDevice *d) in qvirtio_pci_get_status() 116 static void qvirtio_pci_set_status(QVirtioDevice *d, uint8_t status) in qvirtio_pci_set_status() 147 static bool qvirtio_pci_get_config_isr_status(QVirtioDevice *d) in qvirtio_pci_get_config_isr_status() 171 static void qvirtio_pci_wait_config_isr_status(QVirtioDevice *d, in qvirtio_pci_wait_config_isr_status() 189 static uint16_t qvirtio_pci_get_queue_size(QVirtioDevice *d) in qvirtio_pci_get_queue_size() [all …]
|
H A D | virtio-pci.h | 21 QVirtioDevice vdev; 80 QVirtQueue *qvirtio_pci_virtqueue_setup_common(QVirtioDevice *d,
|
H A D | virtio-scmi.c | 22 QVirtioDevice *vdev = scmi->vdev; in virtio_scmi_cleanup() 38 QVirtioDevice *vdev = scmi->vdev; in virtio_scmi_setup()
|
H A D | virtio-gpio.c | 20 QVirtioDevice *vdev = gpio->vdev; in virtio_gpio_cleanup() 36 QVirtioDevice *vdev = gpio->vdev; in virtio_gpio_setup()
|
H A D | virtio-rng.h | 31 QVirtioDevice *vdev;
|
H A D | virtio-blk.h | 32 QVirtioDevice *vdev;
|
H A D | virtio-scsi.h | 31 QVirtioDevice *vdev;
|
H A D | virtio-balloon.h | 31 QVirtioDevice *vdev;
|
H A D | virtio-serial.h | 31 QVirtioDevice *vdev;
|
H A D | vhost-user-blk.h | 35 QVirtioDevice *vdev;
|
H A D | virtio-iommu.h | 26 QVirtioDevice *vdev;
|
H A D | virtio-gpio.h | 21 QVirtioDevice *vdev;
|
H A D | virtio-scmi.h | 20 QVirtioDevice *vdev;
|
H A D | virtio-net.h | 31 QVirtioDevice *vdev;
|
H A D | virtio-9p.h | 33 QVirtioDevice *vdev;
|
/openbmc/qemu/tests/qtest/ |
H A D | virtio-net-test.c | 31 static void rx_test(QVirtioDevice *dev, in rx_test() 68 static void tx_test(QVirtioDevice *dev, in tx_test() 98 static void rx_stop_cont_test(QVirtioDevice *dev, in rx_stop_cont_test() 150 QVirtioDevice *dev = net_if->vdev; in send_recv_test() 162 QVirtioDevice *dev = net_if->vdev; in stop_cont_test()
|
H A D | virtio-blk-test.c | 62 static inline void virtio_blk_fix_request(QVirtioDevice *d, QVirtioBlkReq *req) in virtio_blk_fix_request() 72 static inline void virtio_blk_fix_dwz_hdr(QVirtioDevice *d, in virtio_blk_fix_dwz_hdr() 82 static uint64_t virtio_blk_request(QGuestAllocator *alloc, QVirtioDevice *d, in virtio_blk_request() 114 static QVirtQueue *test_basic(QVirtioDevice *dev, QGuestAllocator *alloc) in test_basic() 352 QVirtioDevice *dev = blk_if->vdev; in indirect() 436 QVirtioDevice *dev = blk_if->vdev; in config() 468 QVirtioDevice *dev = &pdev->vdev; in msix() 577 QVirtioDevice *dev = &pdev->vdev; in idx() 752 QVirtioDevice *dev = blk_if->vdev; in resize()
|
H A D | vhost-user-blk-test.c | 46 static inline void virtio_blk_fix_request(QVirtioDevice *d, QVirtioBlkReq *req) in virtio_blk_fix_request() 55 static inline void virtio_blk_fix_dwz_hdr(QVirtioDevice *d, in virtio_blk_fix_dwz_hdr() 65 static uint64_t virtio_blk_request(QGuestAllocator *alloc, QVirtioDevice *d, in virtio_blk_request() 97 static void test_invalid_discard_write_zeroes(QVirtioDevice *dev, in test_invalid_discard_write_zeroes() 216 static QVirtQueue *test_basic(QVirtioDevice *dev, QGuestAllocator *alloc) in test_basic() 461 QVirtioDevice *dev = blk_if->vdev; in indirect() 547 QVirtioDevice *dev = &pdev->vdev; in idx() 704 QVirtioDevice *dev1 = &pdev1->vdev; in multiqueue() 706 QVirtioDevice *dev8; in multiqueue()
|
H A D | virtio-iommu-test.c | 29 QVirtioDevice *dev = v_iommu->vdev; in pci_config() 62 QVirtioDevice *dev = v_iommu->vdev; in send_attach_detach() 104 QVirtioDevice *dev = v_iommu->vdev; in send_map() 146 QVirtioDevice *dev = v_iommu->vdev; in send_unmap()
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | virtio_scsi_fuzz.c | 37 static QVirtioSCSIQueues *qvirtio_scsi_init(QVirtioDevice *dev, uint64_t mask) in qvirtio_scsi_init() 88 QVirtioDevice *dev = scsi->vdev; in virtio_scsi_fuzz()
|
H A D | virtio_blk_fuzz.c | 36 static QVirtioBlkQueues *qvirtio_blk_init(QVirtioDevice *dev, uint64_t mask) in qvirtio_blk_init() 85 QVirtioDevice *dev = blk->vdev; in virtio_blk_fuzz()
|