Searched refs:vqpci (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/tests/qtest/libqos/ |
H A D | virtio-pci.c | 209 QVirtQueuePCI *vqpci; in qvirtio_pci_virtqueue_setup_common() local 212 vqpci = g_malloc0(sizeof(*vqpci)); in qvirtio_pci_virtqueue_setup_common() 216 vqpci->vq.vdev = d; in qvirtio_pci_virtqueue_setup_common() 217 vqpci->vq.index = index; in qvirtio_pci_virtqueue_setup_common() 219 vqpci->vq.free_head = 0; in qvirtio_pci_virtqueue_setup_common() 220 vqpci->vq.num_free = vqpci->vq.size; in qvirtio_pci_virtqueue_setup_common() 225 vqpci->msix_entry = -1; in qvirtio_pci_virtqueue_setup_common() 226 vqpci->msix_addr = 0; in qvirtio_pci_virtqueue_setup_common() 233 g_assert_cmpint(vqpci->vq.size & (vqpci->vq.size - 1), ==, 0); in qvirtio_pci_virtqueue_setup_common() 240 return &vqpci->vq; in qvirtio_pci_virtqueue_setup_common() [all …]
|
H A D | virtio-pci-modern.c | 153 QVirtQueuePCI *vqpci = container_of(vq, QVirtQueuePCI, vq); in get_queue_isr_status() local 155 return get_msix_status(dev, vqpci->msix_entry, vqpci->msix_addr, in get_queue_isr_status() 156 vqpci->msix_data); in get_queue_isr_status() 233 QVirtQueuePCI *vqpci; in virtqueue_setup() local 237 vqpci = container_of(vq, QVirtQueuePCI, vq); in virtqueue_setup() 243 vqpci->notify_offset = dev->notify_cfg_offset + in virtqueue_setup() 255 QVirtQueuePCI *vqpci = container_of(vq, QVirtQueuePCI, vq); in virtqueue_kick() local 257 qpci_io_writew(dev->pdev, dev->bar, vqpci->notify_offset, vq->index); in virtqueue_kick()
|
H A D | virtio-pci.h | 76 void qvirtqueue_pci_msix_setup(QVirtioPCIDevice *d, QVirtQueuePCI *vqpci,
|