Lines Matching refs:rvrings
85 vr->rvrings[RPMSG_VQ_0].io = &vr->shm_io; in vq_setup()
86 vr->rvrings[RPMSG_VQ_0].info.vaddr = (void *) vr->tx_addr; in vq_setup()
87 vr->rvrings[RPMSG_VQ_0].info.num_descs = vr->vring_size; in vq_setup()
88 vr->rvrings[RPMSG_VQ_0].info.align = MEM_ALIGNMENT; in vq_setup()
89 vr->rvrings[RPMSG_VQ_0].vq = vr->vq[RPMSG_VQ_0]; in vq_setup()
91 vr->rvrings[RPMSG_VQ_1].io = &vr->shm_io; in vq_setup()
92 vr->rvrings[RPMSG_VQ_1].info.vaddr = (void *) vr->rx_addr; in vq_setup()
93 vr->rvrings[RPMSG_VQ_1].info.num_descs = vr->vring_size; in vq_setup()
94 vr->rvrings[RPMSG_VQ_1].info.align = MEM_ALIGNMENT; in vq_setup()
95 vr->rvrings[RPMSG_VQ_1].vq = vr->vq[RPMSG_VQ_1]; in vq_setup()
101 vr->vdev.vrings_info = &vr->rvrings[0]; in vq_setup()
110 memset(&(vr->rvrings[RPMSG_VQ_1]), 0, sizeof(struct virtio_vring_info)); in vq_teardown()
111 memset(&(vr->rvrings[RPMSG_VQ_0]), 0, sizeof(struct virtio_vring_info)); in vq_teardown()