Lines Matching refs:cpu_to_virtio16
511 desc[i].next = cpu_to_virtio16(_vq->vdev, i + 1); in alloc_indirect_split()
527 desc[i].flags = cpu_to_virtio16(vq->vdev, flags); in virtqueue_add_desc_split()
533 desc[i].next = cpu_to_virtio16(vq->vdev, next); in virtqueue_add_desc_split()
645 desc[prev].flags &= cpu_to_virtio16(_vq->vdev, ~VRING_DESC_F_NEXT); in virtqueue_add_split()
688 vq->split.vring.avail->ring[avail] = cpu_to_virtio16(_vq->vdev, head); in virtqueue_add_split()
694 vq->split.vring.avail->idx = cpu_to_virtio16(_vq->vdev, in virtqueue_add_split()
758 cpu_to_virtio16(_vq->vdev, in virtqueue_kick_prepare_split()
769 __virtio16 nextflag = cpu_to_virtio16(vq->vq.vdev, VRING_DESC_F_NEXT); in detach_buf_split()
873 cpu_to_virtio16(_vq->vdev, vq->last_used_idx)); in virtqueue_get_buf_ctx_split()
900 cpu_to_virtio16(_vq->vdev, in virtqueue_disable_cb_split()
921 cpu_to_virtio16(_vq->vdev, in virtqueue_enable_cb_prepare_split()
924 vring_used_event(&vq->split.vring) = cpu_to_virtio16(_vq->vdev, in virtqueue_enable_cb_prepare_split()
954 cpu_to_virtio16(_vq->vdev, in virtqueue_enable_cb_delayed_split()
962 cpu_to_virtio16(_vq->vdev, vq->last_used_idx + bufs)); in virtqueue_enable_cb_delayed_split()
989 vq->split.vring.avail->idx = cpu_to_virtio16(_vq->vdev, in virtqueue_detach_unused_buf_split()
1015 vring_split->vring.avail->flags = cpu_to_virtio16(vdev, in virtqueue_vring_init_split()