Searched refs:vqueue (Results 1 – 6 of 6) sorted by relevance
| /linux/sound/virtio/ |
| H A D | virtio_card.c | 29 static void virtsnd_event_send(struct virtqueue *vqueue, in virtsnd_event_send() argument 41 if (virtqueue_add_sgs(vqueue, psgs, 0, 1, event, gfp) || !notify) in virtsnd_event_send() 44 if (virtqueue_kick_prepare(vqueue)) in virtsnd_event_send() 45 virtqueue_notify(vqueue); in virtsnd_event_send() 82 static void virtsnd_event_notify_cb(struct virtqueue *vqueue) in virtsnd_event_notify_cb() argument 84 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_event_notify_cb() 91 virtqueue_disable_cb(vqueue); in virtsnd_event_notify_cb() 92 while ((event = virtqueue_get_buf(vqueue, &length))) { in virtsnd_event_notify_cb() 94 virtsnd_event_send(vqueue, event, true, GFP_ATOMIC); in virtsnd_event_notify_cb() 96 } while (!virtqueue_enable_cb(vqueue)); in virtsnd_event_notify_cb() [all …]
|
| H A D | virtio_pcm_msg.c | 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() 350 virtqueue_disable_cb(queue->vqueue); in virtsnd_pcm_notify_cb() 351 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) in virtsnd_pcm_notify_cb() 353 } while (!virtqueue_enable_cb(queue->vqueue)); in virtsnd_pcm_notify_cb() 362 void virtsnd_pcm_tx_notify_cb(struct virtqueue *vqueue) in virtsnd_pcm_tx_notify_cb() argument 364 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_pcm_tx_notify_cb() [all …]
|
| H A D | virtio_pcm.h | 105 void virtsnd_pcm_tx_notify_cb(struct virtqueue *vqueue); 107 void virtsnd_pcm_rx_notify_cb(struct virtqueue *vqueue);
|
| H A D | virtio_ctl_msg.h | 76 void virtsnd_ctl_notify_cb(struct virtqueue *vqueue);
|
| H A D | virtio_card.h | 31 struct virtqueue *vqueue; member
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_spin_lock.c | 45 } vqueue SEC(".maps"); 80 q = bpf_map_lookup_elem(&vqueue, &key); in bpf_spin_lock_test()
|