Lines Matching refs:vq
13 static void ipc_virtio_notify(struct virtqueue *vq) in ipc_virtio_notify() argument
17 vr = CONTAINER_OF(vq->vq_dev, struct ipc_static_vrings, vdev); in ipc_virtio_notify()
20 vr->notify_cb(vq, vr->priv); in ipc_virtio_notify()
75 vr->vq[RPMSG_VQ_0] = virtqueue_allocate(vr->vring_size); in vq_setup()
76 if (vr->vq[RPMSG_VQ_0] == NULL) { in vq_setup()
80 vr->vq[RPMSG_VQ_1] = virtqueue_allocate(vr->vring_size); in vq_setup()
81 if (vr->vq[RPMSG_VQ_1] == NULL) { in vq_setup()
89 vr->rvrings[RPMSG_VQ_0].vq = vr->vq[RPMSG_VQ_0]; in vq_setup()
95 vr->rvrings[RPMSG_VQ_1].vq = vr->vq[RPMSG_VQ_1]; in vq_setup()
113 virtqueue_free(vr->vq[RPMSG_VQ_1]); in vq_teardown()
114 virtqueue_free(vr->vq[RPMSG_VQ_0]); in vq_teardown()