Lines Matching +full:oasis +full:- +full:open
1 .. SPDX-License-Identifier: GPL-2.0
39 struct virtio_dummy_dev *dev = vq->vdev->priv;
43 while ((buf = virtqueue_get_buf(dev->vq, &len)) != NULL) {
55 return -ENOMEM;
58 dev->vq = virtio_find_single_vq(vdev, virtio_dummy_recv_cb, "input");
59 if (IS_ERR(dev->vq)) {
61 return PTR_ERR(dev->vq);
64 vdev->priv = dev;
74 struct virtio_dummy_dev *dev = vdev->priv;
78 * vdev->config->reset(vdev)
83 while ((buf = virtqueue_detach_unused_buf(dev->vq)) != NULL) {
88 vdev->config->del_vqs(vdev);
126 .. kernel-doc:: include/linux/virtio_config.h
138 that's only the second half of the virtio device-driver communication
143 have to add the buffers -- packed as `scatterlists` -- to the
154 virtqueue_add_inbuf(dev->vq, sg, 1, buffer, GFP_ATOMIC);
155 virtqueue_kick(dev->vq);
157 .. kernel-doc:: drivers/virtio/virtio_ring.c
160 .. kernel-doc:: drivers/virtio/virtio_ring.c
163 .. kernel-doc:: drivers/virtio/virtio_ring.c
172 .. kernel-doc:: drivers/virtio/virtio_ring.c
175 The virtqueue callbacks can be disabled and re-enabled using the
179 .. kernel-doc:: drivers/virtio/virtio_ring.c
182 .. kernel-doc:: drivers/virtio/virtio_ring.c
194 https://docs.oasis-open.org/virtio/virtio/v1.2/virtio-v1.2.html