Searched refs:RPMSG_VQ_0 (Results 1 – 1 of 1) sorted by relevance
10 #define RPMSG_VQ_0 (0) /* TX virtqueue queue index */ macro75 vr->vq[RPMSG_VQ_0] = virtqueue_allocate(vr->vring_size); in vq_setup()76 if (vr->vq[RPMSG_VQ_0] == NULL) { in vq_setup()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()111 memset(&(vr->rvrings[RPMSG_VQ_0]), 0, sizeof(struct virtio_vring_info)); in vq_teardown()114 virtqueue_free(vr->vq[RPMSG_VQ_0]); in vq_teardown()