Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/ipm/ipm_esp32/remote/src/
Dmain.c13 static const struct device *ipm_dev; variable
27 ipm_dev = DEVICE_DT_GET(DT_NODELABEL(ipm0)); in main()
28 if (!ipm_dev) { in main()
33 ipm_register_callback(ipm_dev, ipm_receive_callback, NULL); in main()
38 ipm_send(ipm_dev, -1, sizeof(resp), &resp, sizeof(resp)); in main()
/Zephyr-latest/drivers/console/
Dipm_console.c17 const struct device *ipm_dev; variable
30 ret = ipm_send(ipm_dev, 1, len, buf, len); in console_out()
62 ipm_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_console)); in ipm_console_init()
63 if (!device_is_ready(ipm_dev)) { in ipm_console_init()
64 LOG_ERR("%s is not ready", ipm_dev->name); in ipm_console_init()
68 if (ipm_max_id_val_get(ipm_dev) < CONFIG_IPM_CONSOLE_LINE_BUF_LEN) { in ipm_console_init()
Dipm_console_receiver.c85 static void ipm_console_receive_callback(const struct device *ipm_dev, in ipm_console_receive_callback() argument
108 ipm_set_enabled(ipm_dev, 0); in ipm_console_receive_callback()
/Zephyr-latest/samples/drivers/ipm/ipm_esp32/src/
Dmain.c15 static const struct device *ipm_dev; variable
35 ipm_dev = DEVICE_DT_GET(DT_NODELABEL(ipm0)); in main()
36 if (!ipm_dev) { in main()
41 ipm_register_callback(ipm_dev, ipm_receive_callback, NULL); in main()
49 ipm_send(ipm_dev, -1, sizeof(request), &request, sizeof(request)); in main()
/Zephyr-latest/samples/drivers/ipm/ipm_ivshmem/src/
Dmain.c24 const struct device *ipm_dev = DEVICE_DT_GET(DT_NODELABEL(ipm_ivshmem0)); in main() local
26 ipm_register_callback(ipm_dev, ipm_receive_callback, NULL); in main()
34 const struct device *ipm_dev = DEVICE_DT_GET(DT_NODELABEL(ipm_ivshmem0)); in cmd_ipm_send() local
38 return ipm_send(ipm_dev, 0, peer_id, NULL, 0); in cmd_ipm_send()