Searched refs:vq (Results 1 – 6 of 6) sorted by relevance
13 static void ipc_virtio_notify(struct virtqueue *vq) in ipc_virtio_notify() argument17 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 …]
44 typedef void (*ipc_notify_cb)(struct virtqueue *vq, void *priv);82 struct virtqueue *vq[VRING_COUNT]; member
100 static void ipc_virtio_notify(struct virtqueue *vq) in ipc_virtio_notify() argument241 rvrings[0].vq = vqueue[0]; in rpmsg_backend_init()247 rvrings[1].vq = vqueue[1]; in rpmsg_backend_init()
56 static void ipc_virtio_notify(struct virtqueue *vq) in ipc_virtio_notify() argument178 rvrings[0].vq = vqueue[0]; in app_task()184 rvrings[1].vq = vqueue[1]; in app_task()
66 static void ipc_virtio_notify(struct virtqueue *vq) in ipc_virtio_notify() argument201 rvrings[0].vq = vqueue[0]; in app_task()207 rvrings[1].vq = vqueue[1]; in app_task()
296 static void virtio_notify_cb(struct virtqueue *vq, void *priv) in virtio_notify_cb() argument313 virtqueue_notification(data->vr.vq[vq_id]); in mbox_callback_process()