Home
last modified time | relevance | path

Searched refs:iowrite16 (Results 1 – 4 of 4) sorted by relevance

/reactos/sdk/lib/drivers/virtio/
H A DVirtIOPCILegacy.c134 iowrite16(vdev, vector, vdev->addr + VIRTIO_MSI_CONFIG_VECTOR); in vio_legacy_set_config_vector()
144 iowrite16(vdev, (u16)vq->index, vdev->addr + VIRTIO_PCI_QUEUE_SEL); in vio_legacy_set_queue_vector()
145 iowrite16(vdev, vector, vdev->addr + VIRTIO_MSI_QUEUE_VECTOR); in vio_legacy_set_queue_vector()
159 iowrite16(vdev, (u16)index, vdev->addr + VIRTIO_PCI_QUEUE_SEL); in vio_legacy_query_vq_alloc()
237 iowrite16(vdev, (u16)vq->index, vdev->addr + VIRTIO_PCI_QUEUE_SEL); in vio_legacy_del_vq()
240 iowrite16(vdev, VIRTIO_MSI_NO_VECTOR, in vio_legacy_del_vq()
H A DVirtIOPCIModern.c150 iowrite16(vdev, *(u16 *)buf, vdev->config + offset); in vio_modern_set_config()
229 iowrite16(vdev, vector, &vdev->common->msix_config); in vio_modern_set_config_vector()
240 iowrite16(vdev, (u16)vq->index, &cfg->queue_select); in vio_modern_set_queue_vector()
241 iowrite16(vdev, vector, &cfg->queue_msix_vector); in vio_modern_set_queue_vector()
265 iowrite16(vdev, (u16)index, &cfg->queue_select); in vio_modern_query_vq_alloc()
341 iowrite16(vdev, info->num, &cfg->queue_size); in vio_modern_setup_vq()
385 iowrite16(vdev, 1, &vdev->common->queue_enable); in vio_modern_setup_vq()
404 iowrite16(vdev, (u16)vq->index, &vdev->common->queue_select); in vio_modern_del_vq()
407 iowrite16(vdev, VIRTIO_MSI_NO_VECTOR, &vdev->common->queue_msix_vector); in vio_modern_del_vq()
H A Dvirtio_pci_common.h46 #define iowrite16(vdev, val, addr) \ macro
H A DVirtIOPCICommon.c397 iowrite16(vq->vdev, (unsigned short)vq->index, vq->notification_addr); in vp_notify()