Searched refs:RPMSG_VQ_1 (Results 1 – 1 of 1) sorted by relevance
11 #define RPMSG_VQ_1 (1) /* RX virtqueue queue index */ macro80 vr->vq[RPMSG_VQ_1] = virtqueue_allocate(vr->vring_size); in vq_setup()81 if (vr->vq[RPMSG_VQ_1] == NULL) { 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()110 memset(&(vr->rvrings[RPMSG_VQ_1]), 0, sizeof(struct virtio_vring_info)); in vq_teardown()113 virtqueue_free(vr->vq[RPMSG_VQ_1]); in vq_teardown()