Searched refs:vqueue (Results 1 – 8 of 8) sorted by relevance
| /linux/sound/virtio/ |
| A D | virtio_card.c | 44 if (virtqueue_kick_prepare(vqueue)) in virtsnd_event_send() 45 virtqueue_notify(vqueue); in virtsnd_event_send() 81 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_event_notify_cb() 89 virtqueue_disable_cb(vqueue); in virtsnd_event_notify_cb() 94 if (unlikely(virtqueue_is_broken(vqueue))) in virtsnd_event_notify_cb() 96 } while (!virtqueue_enable_cb(vqueue)); in virtsnd_event_notify_cb() 137 snd->queues[i].vqueue = vqs[i]; in virtsnd_find_vqs() 166 if (!virtqueue_enable_cb(queue->vqueue)) in virtsnd_enable_event_vq() 167 virtsnd_event_notify_cb(queue->vqueue); in virtsnd_enable_event_vq() 183 if (queue->vqueue) { in virtsnd_disable_event_vq() [all …]
|
| A D | virtio_pcm_msg.c | 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() 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() [all …]
|
| A D | virtio_ctl_msg.c | 151 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 if (unlikely(virtqueue_is_broken(vqueue))) in virtsnd_ctl_notify_cb() 308 } while (!virtqueue_enable_cb(vqueue)); in virtsnd_ctl_notify_cb()
|
| A D | virtio_pcm.h | 103 void virtsnd_pcm_tx_notify_cb(struct virtqueue *vqueue); 105 void virtsnd_pcm_rx_notify_cb(struct virtqueue *vqueue);
|
| A D | virtio_ctl_msg.h | 76 void virtsnd_ctl_notify_cb(struct virtqueue *vqueue);
|
| A D | virtio_card.h | 31 struct virtqueue *vqueue; member
|
| /linux/drivers/firmware/arm_scmi/ |
| A D | virtio.c | 49 struct virtqueue *vqueue; member 100 virtqueue_kick(vioch->vqueue); in scmi_vio_feed_vq_rx() 128 if (WARN_ON_ONCE(!vqueue->vdev->priv)) in scmi_vio_complete_cb() 130 vioch = &((struct scmi_vio_channel *)vqueue->vdev->priv)[vqueue->index]; in scmi_vio_complete_cb() 137 (void)virtqueue_enable_cb(vqueue); in scmi_vio_complete_cb() 144 virtqueue_disable_cb(vqueue); in scmi_vio_complete_cb() 147 msg = virtqueue_get_buf(vqueue, &length); in scmi_vio_complete_cb() 149 if (virtqueue_enable_cb(vqueue)) in scmi_vio_complete_cb() 341 virtqueue_kick(vioch->vqueue); in virtio_send_message() 422 channels[i].vqueue = vqs[i]; in scmi_vio_probe() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | test_spin_lock.c | 44 } vqueue SEC(".maps"); 79 q = bpf_map_lookup_elem(&vqueue, &key); in bpf_sping_lock_test()
|
Completed in 13 milliseconds