Lines Matching refs:cpu_to_virtio16
490 desc[i].next = cpu_to_virtio16(_vq->vdev, i + 1); in alloc_indirect_split()
506 desc[i].flags = cpu_to_virtio16(vq->vdev, flags); in virtqueue_add_desc_split()
512 desc[i].next = cpu_to_virtio16(vq->vdev, next); in virtqueue_add_desc_split()
622 desc[prev].flags &= cpu_to_virtio16(_vq->vdev, ~VRING_DESC_F_NEXT); in virtqueue_add_split()
661 vq->split.vring.avail->ring[avail] = cpu_to_virtio16(_vq->vdev, head); in virtqueue_add_split()
667 vq->split.vring.avail->idx = cpu_to_virtio16(_vq->vdev, in virtqueue_add_split()
730 cpu_to_virtio16(_vq->vdev, in virtqueue_kick_prepare_split()
741 __virtio16 nextflag = cpu_to_virtio16(vq->vq.vdev, VRING_DESC_F_NEXT); in detach_buf_split()
843 cpu_to_virtio16(_vq->vdev, vq->last_used_idx)); in virtqueue_get_buf_ctx_split()
862 cpu_to_virtio16(_vq->vdev, in virtqueue_disable_cb_split()
883 cpu_to_virtio16(_vq->vdev, in virtqueue_enable_cb_prepare_split()
886 vring_used_event(&vq->split.vring) = cpu_to_virtio16(_vq->vdev, in virtqueue_enable_cb_prepare_split()
916 cpu_to_virtio16(_vq->vdev, in virtqueue_enable_cb_delayed_split()
924 cpu_to_virtio16(_vq->vdev, vq->last_used_idx + bufs)); in virtqueue_enable_cb_delayed_split()
951 vq->split.vring.avail->idx = cpu_to_virtio16(_vq->vdev, in virtqueue_detach_unused_buf_split()
977 vring_split->vring.avail->flags = cpu_to_virtio16(vdev, in virtqueue_vring_init_split()