Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dipc_static_vrings.c13 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()
[all …]
/Zephyr-latest/include/zephyr/ipc/
Dipc_static_vrings.h44 typedef void (*ipc_notify_cb)(struct virtqueue *vq, void *priv);
82 struct virtqueue *vq[VRING_COUNT]; member
/Zephyr-latest/subsys/ipc/rpmsg_service/
Drpmsg_backend.c100 static void ipc_virtio_notify(struct virtqueue *vq) in ipc_virtio_notify() argument
241 rvrings[0].vq = vqueue[0]; in rpmsg_backend_init()
247 rvrings[1].vq = vqueue[1]; in rpmsg_backend_init()
/Zephyr-latest/samples/subsys/ipc/openamp/remote/src/
Dmain.c56 static void ipc_virtio_notify(struct virtqueue *vq) in ipc_virtio_notify() argument
178 rvrings[0].vq = vqueue[0]; in app_task()
184 rvrings[1].vq = vqueue[1]; in app_task()
/Zephyr-latest/samples/subsys/ipc/openamp/src/
Dmain.c66 static void ipc_virtio_notify(struct virtqueue *vq) in ipc_virtio_notify() argument
201 rvrings[0].vq = vqueue[0]; in app_task()
207 rvrings[1].vq = vqueue[1]; in app_task()
/Zephyr-latest/subsys/ipc/ipc_service/backends/
Dipc_rpmsg_static_vrings.c296 static void virtio_notify_cb(struct virtqueue *vq, void *priv) in virtio_notify_cb() argument
313 virtqueue_notification(data->vr.vq[vq_id]); in mbox_callback_process()