Home
last modified time | relevance | path

Searched refs:vq (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-2.7.6/samples/subsys/ipc/openamp/src/
Dmain.c63 static struct virtqueue *vq[2]; variable
85 static void virtio_notify(struct virtqueue *vq) in virtio_notify() argument
153 virtqueue_notification(vq[0]); in receive_message()
218 vq[0] = virtqueue_allocate(VRING_SIZE); in app_task()
219 if (vq[0] == NULL) { in app_task()
223 vq[1] = virtqueue_allocate(VRING_SIZE); in app_task()
224 if (vq[1] == NULL) { in app_task()
236 rvrings[0].vq = vq[0]; in app_task()
242 rvrings[1].vq = vq[1]; in app_task()
258 virtqueue_notification(vq[0]); in app_task()
/Zephyr-Core-2.7.6/samples/subsys/ipc/openamp/remote/src/
Dmain.c62 static struct virtqueue *vq[2]; variable
74 static void virtio_notify(struct virtqueue *vq) in virtio_notify() argument
130 virtqueue_notification(vq[1]); in receive_message()
194 vq[0] = virtqueue_allocate(VRING_SIZE); in app_task()
195 if (vq[0] == NULL) { in app_task()
199 vq[1] = virtqueue_allocate(VRING_SIZE); in app_task()
200 if (vq[1] == NULL) { in app_task()
212 rvrings[0].vq = vq[0]; in app_task()
218 rvrings[1].vq = vq[1]; in app_task()
/Zephyr-Core-2.7.6/subsys/ipc/rpmsg_service/
Drpmsg_backend.c93 static struct virtqueue *vq[2]; variable
121 static void virtio_notify(struct virtqueue *vq) in virtio_notify() argument
157 virtqueue_notification(vq[VIRTQUEUE_ID]); in ipm_callback_process()
257 vq[0] = virtqueue_allocate(VRING_SIZE); in rpmsg_backend_init()
258 if (!vq[0]) { in rpmsg_backend_init()
263 vq[1] = virtqueue_allocate(VRING_SIZE); in rpmsg_backend_init()
264 if (!vq[1]) { in rpmsg_backend_init()
273 rvrings[0].vq = vq[0]; in rpmsg_backend_init()
279 rvrings[1].vq = vq[1]; in rpmsg_backend_init()
/Zephyr-Core-2.7.6/subsys/ipc/rpmsg_multi_instance/
Drpmsg_multi_instance.c63 static void virtio_notify(struct virtqueue *vq) in virtio_notify() argument
65 struct rpmsg_mi_ctx *ctx = metal_container_of(vq->vq_dev, struct rpmsg_mi_ctx, vdev); in virtio_notify()
91 virtqueue_notification(ctx->vq[VIRTQUEUE_ID]); in ipm_callback_process()
274 ctx->vq[RPMSG_VQ_0] = virtqueue_allocate(vring_size); in vq_setup()
275 if (!ctx->vq[RPMSG_VQ_0]) { in vq_setup()
280 ctx->vq[RPMSG_VQ_1] = virtqueue_allocate(vring_size); in vq_setup()
281 if (!ctx->vq[RPMSG_VQ_1]) { in vq_setup()
290 ctx->rvrings[RPMSG_VQ_0].vq = ctx->vq[RPMSG_VQ_0]; in vq_setup()
296 ctx->rvrings[RPMSG_VQ_1].vq = ctx->vq[RPMSG_VQ_1]; in vq_setup()
/Zephyr-Core-2.7.6/include/ipc/
Drpmsg_multi_instance.h110 struct virtqueue *vq[2]; member