Lines Matching refs:vqueue
206 struct virtqueue *vqueue = virtsnd_pcm_queue(vss)->vqueue; in virtsnd_pcm_msg_send() local
227 rc = virtqueue_add_sgs(vqueue, psgs, 2, 1, msg, in virtsnd_pcm_msg_send()
230 rc = virtqueue_add_sgs(vqueue, psgs, 1, 2, msg, in virtsnd_pcm_msg_send()
245 notify = virtqueue_kick_prepare(vqueue); in virtsnd_pcm_msg_send()
248 virtqueue_notify(vqueue); in virtsnd_pcm_msg_send()
345 virtqueue_disable_cb(queue->vqueue); in virtsnd_pcm_notify_cb()
346 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb()
348 if (unlikely(virtqueue_is_broken(queue->vqueue))) in virtsnd_pcm_notify_cb()
350 } while (!virtqueue_enable_cb(queue->vqueue)); in virtsnd_pcm_notify_cb()
360 void virtsnd_pcm_tx_notify_cb(struct virtqueue *vqueue) in virtsnd_pcm_tx_notify_cb() argument
362 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_pcm_tx_notify_cb()
373 void virtsnd_pcm_rx_notify_cb(struct virtqueue *vqueue) in virtsnd_pcm_rx_notify_cb() argument
375 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_pcm_rx_notify_cb()