/Zephyr-latest/subsys/ipc/ipc_service/lib/ |
D | ipc_static_vrings.c | 17 vr = CONTAINER_OF(vq->vq_dev, struct ipc_static_vrings, vdev); in ipc_virtio_notify() 24 static void ipc_virtio_set_features(struct virtio_device *vdev, uint32_t features) in ipc_virtio_set_features() argument 37 vr = CONTAINER_OF(p_vdev, struct ipc_static_vrings, vdev); in ipc_virtio_set_status() 43 static uint32_t ipc_virtio_get_features(struct virtio_device *vdev) in ipc_virtio_get_features() argument 53 vr = CONTAINER_OF(p_vdev, struct ipc_static_vrings, vdev); in ipc_virtio_get_status() 97 vr->vdev.role = role; in vq_setup() 99 vr->vdev.vrings_num = VRING_COUNT; in vq_setup() 100 vr->vdev.func = &dispatch; in vq_setup() 101 vr->vdev.vrings_info = &vr->rvrings[0]; in vq_setup() 108 memset(&vr->vdev, 0, sizeof(struct virtio_device)); in vq_teardown()
|
D | ipc_rpmsg.c | 76 struct virtio_device *vdev, in ipc_rpmsg_init() argument 98 return rpmsg_init_vdev_with_config(&instance->rvdev, vdev, bind_cb, in ipc_rpmsg_init() 102 return rpmsg_init_vdev(&instance->rvdev, vdev, bind_cb, shm_io, NULL); in ipc_rpmsg_init()
|
/Zephyr-latest/subsys/ipc/rpmsg_service/ |
D | rpmsg_backend.c | 77 static unsigned char ipc_virtio_get_status(struct virtio_device *vdev) in ipc_virtio_get_status() argument 86 static void ipc_virtio_set_status(struct virtio_device *vdev, unsigned char status) in ipc_virtio_set_status() argument 91 static uint32_t ipc_virtio_get_features(struct virtio_device *vdev) in ipc_virtio_get_features() argument 96 static void ipc_virtio_set_features(struct virtio_device *vdev, uint32_t features) in ipc_virtio_set_features() argument 164 int rpmsg_backend_init(struct metal_io_region **io, struct virtio_device *vdev) in rpmsg_backend_init() argument 249 vdev->role = RPMSG_ROLE; in rpmsg_backend_init() 250 vdev->vrings_num = VRING_COUNT; in rpmsg_backend_init() 251 vdev->func = &dispatch; in rpmsg_backend_init() 252 vdev->vrings_info = &rvrings[0]; in rpmsg_backend_init()
|
D | rpmsg_service.c | 23 static struct virtio_device vdev; variable 84 err = rpmsg_backend_init(&io, &vdev); in rpmsg_service_init() 92 err = rpmsg_init_vdev(&rvdev, &vdev, ns_bind_cb, io, &shpool); in rpmsg_service_init() 94 err = rpmsg_init_vdev(&rvdev, &vdev, NULL, io, NULL); in rpmsg_service_init()
|
D | rpmsg_backend.h | 38 int rpmsg_backend_init(struct metal_io_region **io, struct virtio_device *vdev);
|
/Zephyr-latest/samples/subsys/ipc/openamp_rsc_table/src/ |
D | main_remote.c | 120 rproc_virtio_notified(rvdev.vdev, VRING1_ID); in receive_message() 191 void (*rst_cb)(struct virtio_device *vdev), in platform_create_rpmsg_vdev() argument 195 struct virtio_device *vdev; in platform_create_rpmsg_vdev() local 198 vdev = rproc_virtio_create_vdev(VIRTIO_DEV_DEVICE, VDEV_ID, in platform_create_rpmsg_vdev() 202 if (!vdev) { in platform_create_rpmsg_vdev() 208 rproc_virtio_wait_remote_ready(vdev); in platform_create_rpmsg_vdev() 211 ret = rproc_virtio_init_vring(vdev, 0, vring_rsc->notifyid, in platform_create_rpmsg_vdev() 220 ret = rproc_virtio_init_vring(vdev, 1, vring_rsc->notifyid, in platform_create_rpmsg_vdev() 228 ret = rpmsg_init_vdev(&rvdev, vdev, ns_cb, shm_io, NULL); in platform_create_rpmsg_vdev() 237 rproc_virtio_remove_vdev(vdev); in platform_create_rpmsg_vdev()
|
/Zephyr-latest/samples/subsys/ipc/openamp/remote/src/ |
D | main.c | 40 static struct virtio_device vdev; variable 171 vdev.role = RPMSG_REMOTE; in app_task() 172 vdev.vrings_num = VRING_COUNT; in app_task() 173 vdev.func = &dispatch; in app_task() 186 vdev.vrings_info = &rvrings[0]; in app_task() 189 status = rpmsg_init_vdev(&rvdev, &vdev, NULL, io, NULL); in app_task()
|
/Zephyr-latest/samples/subsys/ipc/openamp/src/ |
D | main.c | 41 static struct virtio_device vdev; variable 194 vdev.role = RPMSG_HOST; in app_task() 195 vdev.vrings_num = VRING_COUNT; in app_task() 196 vdev.func = &dispatch; in app_task() 209 vdev.vrings_info = &rvrings[0]; in app_task() 213 status = rpmsg_init_vdev(&rvdev, &vdev, ns_bind_cb, io, &shpool); in app_task()
|
/Zephyr-latest/lib/open-amp/ |
D | resource_table.c | 44 offsetof(struct fw_resource_table, vdev), 54 .vdev = {
|
D | resource_table.h | 48 struct fw_rsc_vdev vdev; member 65 return &rsc_table->vdev; in rsc_table_to_vdev()
|
/Zephyr-latest/include/zephyr/ipc/ |
D | ipc_static_vrings.h | 52 struct virtio_device vdev; member
|
D | ipc_rpmsg.h | 112 struct virtio_device *vdev,
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_rpmsg_static_vrings.c | 597 &data->vr.shm_io, &data->vr.vdev, in open()
|