Searched refs:vq (Results 1 – 5 of 5) sorted by relevance
63 static struct virtqueue *vq[2]; variable85 static void virtio_notify(struct virtqueue *vq) in virtio_notify() argument153 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()
62 static struct virtqueue *vq[2]; variable74 static void virtio_notify(struct virtqueue *vq) in virtio_notify() argument130 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()
93 static struct virtqueue *vq[2]; variable121 static void virtio_notify(struct virtqueue *vq) in virtio_notify() argument157 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()
63 static void virtio_notify(struct virtqueue *vq) in virtio_notify() argument65 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()
110 struct virtqueue *vq[2]; member