Home
last modified time | relevance | path

Searched refs:rvrings (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dipc_static_vrings.c85 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()
[all …]
/Zephyr-latest/subsys/ipc/rpmsg_service/
Drpmsg_backend.c65 static struct virtio_vring_info rvrings[2] = { variable
237 rvrings[0].io = *io; in rpmsg_backend_init()
238 rvrings[0].info.vaddr = (void *)VRING_TX_ADDRESS; in rpmsg_backend_init()
239 rvrings[0].info.num_descs = VRING_SIZE; in rpmsg_backend_init()
240 rvrings[0].info.align = VRING_ALIGNMENT; in rpmsg_backend_init()
241 rvrings[0].vq = vqueue[0]; in rpmsg_backend_init()
243 rvrings[1].io = *io; in rpmsg_backend_init()
244 rvrings[1].info.vaddr = (void *)VRING_RX_ADDRESS; in rpmsg_backend_init()
245 rvrings[1].info.num_descs = VRING_SIZE; in rpmsg_backend_init()
246 rvrings[1].info.align = VRING_ALIGNMENT; in rpmsg_backend_init()
[all …]
/Zephyr-latest/samples/subsys/ipc/openamp/remote/src/
Dmain.c32 static struct virtio_vring_info rvrings[2] = { variable
174 rvrings[0].io = io; in app_task()
175 rvrings[0].info.vaddr = (void *)VRING_TX_ADDRESS; in app_task()
176 rvrings[0].info.num_descs = VRING_SIZE; in app_task()
177 rvrings[0].info.align = VRING_ALIGNMENT; in app_task()
178 rvrings[0].vq = vqueue[0]; in app_task()
180 rvrings[1].io = io; in app_task()
181 rvrings[1].info.vaddr = (void *)VRING_RX_ADDRESS; in app_task()
182 rvrings[1].info.num_descs = VRING_SIZE; in app_task()
183 rvrings[1].info.align = VRING_ALIGNMENT; in app_task()
[all …]
/Zephyr-latest/samples/subsys/ipc/openamp/src/
Dmain.c33 static struct virtio_vring_info rvrings[2] = { variable
197 rvrings[0].io = io; in app_task()
198 rvrings[0].info.vaddr = (void *)VRING_TX_ADDRESS; in app_task()
199 rvrings[0].info.num_descs = VRING_SIZE; in app_task()
200 rvrings[0].info.align = VRING_ALIGNMENT; in app_task()
201 rvrings[0].vq = vqueue[0]; in app_task()
203 rvrings[1].io = io; in app_task()
204 rvrings[1].info.vaddr = (void *)VRING_RX_ADDRESS; in app_task()
205 rvrings[1].info.num_descs = VRING_SIZE; in app_task()
206 rvrings[1].info.align = VRING_ALIGNMENT; in app_task()
[all …]
/Zephyr-latest/include/zephyr/ipc/
Dipc_static_vrings.h79 struct virtio_vring_info rvrings[VRING_COUNT]; member