Home
last modified time | relevance | path

Searched refs:ipm_handle (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/ipc/rpmsg_service/
Drpmsg_backend.c58 static const struct device *const ipm_handle = variable
112 status = ipm_send(ipm_handle, 0, current_core ? 0 : 1, 0, 1); in ipc_virtio_notify()
115 status = ipm_send(ipm_handle, 0, 0, NULL, 0); in ipc_virtio_notify()
125 status = ipm_send(ipm_handle, 0, 0, &dummy_data, sizeof(dummy_data)); in ipc_virtio_notify()
210 if (!device_is_ready(ipm_handle)) { in rpmsg_backend_init()
215 ipm_register_callback(ipm_handle, ipm_callback, NULL); in rpmsg_backend_init()
217 err = ipm_set_enabled(ipm_handle, 1); in rpmsg_backend_init()
/Zephyr-latest/samples/subsys/ipc/openamp/remote/src/
Dmain.c25 static const struct device *const ipm_handle = variable
62 ipm_send(ipm_handle, 0, current_core ? 0 : 1, 0, 1); in ipc_virtio_notify()
66 ipm_send(ipm_handle, 0, 0, &dummy_data, sizeof(dummy_data)); in ipc_virtio_notify()
146 if (!device_is_ready(ipm_handle)) { in app_task()
151 ipm_register_callback(ipm_handle, platform_ipm_callback, NULL); in app_task()
153 status = ipm_set_enabled(ipm_handle, 1); in app_task()
/Zephyr-latest/samples/subsys/ipc/openamp/src/
Dmain.c26 static const struct device *const ipm_handle = variable
72 ipm_send(ipm_handle, 0, current_core ? 0 : 1, 0, 1); in ipc_virtio_notify()
76 ipm_send(ipm_handle, 0, 0, &dummy_data, sizeof(dummy_data)); in ipc_virtio_notify()
169 if (!device_is_ready(ipm_handle)) { in app_task()
174 ipm_register_callback(ipm_handle, platform_ipm_callback, NULL); in app_task()
176 status = ipm_set_enabled(ipm_handle, 1); in app_task()
/Zephyr-latest/samples/subsys/ipc/openamp_rsc_table/src/
Dmain_remote.c52 static const struct device *const ipm_handle = variable
136 ipm_send(ipm_handle, 0, id, NULL, 0); in mailbox_notify()
165 if (!device_is_ready(ipm_handle)) { in platform_init()
170 ipm_register_callback(ipm_handle, platform_ipm_callback, NULL); in platform_init()
172 status = ipm_set_enabled(ipm_handle, 1); in platform_init()
183 ipm_set_enabled(ipm_handle, 0); in cleanup_system()