Home
last modified time | relevance | path

Searched refs:vqueue (Results 1 – 8 of 8) sorted by relevance

/linux/sound/virtio/
A Dvirtio_card.c29 static void virtsnd_event_send(struct virtqueue *vqueue, in virtsnd_event_send() argument
44 if (virtqueue_kick_prepare(vqueue)) in virtsnd_event_send()
45 virtqueue_notify(vqueue); in virtsnd_event_send()
84 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_event_notify_cb()
92 virtqueue_disable_cb(vqueue); in virtsnd_event_notify_cb()
97 } while (!virtqueue_enable_cb(vqueue)); in virtsnd_event_notify_cb()
135 snd->queues[i].vqueue = vqs[i]; in virtsnd_find_vqs()
164 if (!virtqueue_enable_cb(queue->vqueue)) in virtsnd_enable_event_vq()
165 virtsnd_event_notify_cb(queue->vqueue); in virtsnd_enable_event_vq()
181 if (queue->vqueue) { in virtsnd_disable_event_vq()
[all …]
A Dvirtio_pcm_msg.c205 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()
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
[all …]
A Dvirtio_ctl_msg.c151 rc = virtqueue_add_sgs(queue->vqueue, psgs, nouts, nins, msg, in virtsnd_ctl_msg_send()
154 notify = virtqueue_kick_prepare(queue->vqueue); in virtsnd_ctl_msg_send()
174 virtqueue_notify(queue->vqueue); in virtsnd_ctl_msg_send()
293 void virtsnd_ctl_notify_cb(struct virtqueue *vqueue) in virtsnd_ctl_notify_cb() argument
295 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_ctl_notify_cb()
303 virtqueue_disable_cb(vqueue); in virtsnd_ctl_notify_cb()
304 while ((msg = virtqueue_get_buf(vqueue, &length))) in virtsnd_ctl_notify_cb()
306 } while (!virtqueue_enable_cb(vqueue)); in virtsnd_ctl_notify_cb()
A Dvirtio_pcm.h105 void virtsnd_pcm_tx_notify_cb(struct virtqueue *vqueue);
107 void virtsnd_pcm_rx_notify_cb(struct virtqueue *vqueue);
A Dvirtio_ctl_msg.h76 void virtsnd_ctl_notify_cb(struct virtqueue *vqueue);
A Dvirtio_card.h31 struct virtqueue *vqueue; member
/linux/drivers/firmware/arm_scmi/transports/
A Dvirtio.c58 struct virtqueue *vqueue; member
245 virtqueue_kick(vioch->vqueue); in scmi_vio_feed_vq_rx()
273 if (WARN_ON_ONCE(!vqueue->vdev->priv)) in scmi_vio_complete_cb()
275 vioch = &((struct scmi_vio_channel *)vqueue->vdev->priv)[vqueue->index]; in scmi_vio_complete_cb()
283 virtqueue_disable_cb(vqueue); in scmi_vio_complete_cb()
289 if (virtqueue_enable_cb(vqueue)) { in scmi_vio_complete_cb()
357 scmi_vio_complete_cb(vioch->vqueue); in scmi_vio_deferred_tx_worker()
475 virtio_break_device(vioch->vqueue->vdev); in virtio_chan_free()
528 virtqueue_kick(vioch->vqueue); in virtio_send_message()
707 virtqueue_disable_cb(vioch->vqueue); in virtio_poll_done()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtest_spin_lock.c45 } vqueue SEC(".maps");
80 q = bpf_map_lookup_elem(&vqueue, &key); in bpf_spin_lock_test()

Completed in 19 milliseconds