Home
last modified time | relevance | path

Searched refs:QVirtioDevice (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio.h20 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 Dvirtio.c46 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 Dvirtio-mmio.c19 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 Dvirtio-pci-modern.c16 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 Dvirtio-pci.c42 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 Dvirtio-pci.h21 QVirtioDevice vdev;
80 QVirtQueue *qvirtio_pci_virtqueue_setup_common(QVirtioDevice *d,
H A Dvirtio-scmi.c22 QVirtioDevice *vdev = scmi->vdev; in virtio_scmi_cleanup()
38 QVirtioDevice *vdev = scmi->vdev; in virtio_scmi_setup()
H A Dvirtio-gpio.c20 QVirtioDevice *vdev = gpio->vdev; in virtio_gpio_cleanup()
36 QVirtioDevice *vdev = gpio->vdev; in virtio_gpio_setup()
H A Dvirtio-rng.h31 QVirtioDevice *vdev;
H A Dvirtio-blk.h32 QVirtioDevice *vdev;
H A Dvirtio-scsi.h31 QVirtioDevice *vdev;
H A Dvirtio-balloon.h31 QVirtioDevice *vdev;
H A Dvirtio-serial.h31 QVirtioDevice *vdev;
H A Dvhost-user-blk.h35 QVirtioDevice *vdev;
H A Dvirtio-iommu.h26 QVirtioDevice *vdev;
H A Dvirtio-gpio.h21 QVirtioDevice *vdev;
H A Dvirtio-scmi.h20 QVirtioDevice *vdev;
H A Dvirtio-net.h31 QVirtioDevice *vdev;
H A Dvirtio-9p.h33 QVirtioDevice *vdev;
/openbmc/qemu/tests/qtest/
H A Dvirtio-net-test.c31 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 Dvirtio-blk-test.c62 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 Dvhost-user-blk-test.c46 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 Dvirtio-iommu-test.c29 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 Dvirtio_scsi_fuzz.c37 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 Dvirtio_blk_fuzz.c36 static QVirtioBlkQueues *qvirtio_blk_init(QVirtioDevice *dev, uint64_t mask) in qvirtio_blk_init()
85 QVirtioDevice *dev = blk->vdev; in virtio_blk_fuzz()

12