Lines Matching refs:vqueue
205 struct virtqueue *vqueue = virtsnd_pcm_queue(vss)->vqueue; in virtsnd_pcm_msg_send() local
234 rc = virtqueue_add_sgs(vqueue, psgs, 2, 1, msg, in virtsnd_pcm_msg_send()
237 rc = virtqueue_add_sgs(vqueue, psgs, 1, 2, msg, in virtsnd_pcm_msg_send()
258 notify = virtqueue_kick_prepare(vqueue); in virtsnd_pcm_msg_send()
261 virtqueue_notify(vqueue); in virtsnd_pcm_msg_send()
358 virtqueue_disable_cb(queue->vqueue); in virtsnd_pcm_notify_cb()
359 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb()
361 } while (!virtqueue_enable_cb(queue->vqueue)); in virtsnd_pcm_notify_cb()
371 void virtsnd_pcm_tx_notify_cb(struct virtqueue *vqueue) in virtsnd_pcm_tx_notify_cb() argument
373 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_pcm_tx_notify_cb()
384 void virtsnd_pcm_rx_notify_cb(struct virtqueue *vqueue) in virtsnd_pcm_rx_notify_cb() argument
386 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_pcm_rx_notify_cb()