Lines Matching refs:rvq
58 struct virtqueue *rvq, *svq; member
768 err = virtqueue_add_inbuf(vrp->rvq, &sg, 1, msg, GFP_KERNEL); in rpmsg_recv_single()
778 static void rpmsg_recv_done(struct virtqueue *rvq) in rpmsg_recv_done() argument
780 struct virtproc_info *vrp = rvq->vdev->priv; in rpmsg_recv_done()
781 struct device *dev = &rvq->vdev->dev; in rpmsg_recv_done()
786 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
799 msg = virtqueue_get_buf(rvq, &len); in rpmsg_recv_done()
806 virtqueue_kick(vrp->rvq); in rpmsg_recv_done()
900 vrp->rvq = vqs[0]; in rpmsg_probe()
904 WARN_ON(virtqueue_get_vring_size(vrp->rvq) != in rpmsg_probe()
908 if (virtqueue_get_vring_size(vrp->rvq) < MAX_RPMSG_NUM_BUFS / 2) in rpmsg_probe()
909 vrp->num_bufs = virtqueue_get_vring_size(vrp->rvq) * 2; in rpmsg_probe()
942 err = virtqueue_add_inbuf(vrp->rvq, &sg, 1, cpu_addr, in rpmsg_probe()
987 notify = virtqueue_kick_prepare(vrp->rvq); in rpmsg_probe()
998 virtqueue_notify(vrp->rvq); in rpmsg_probe()