Searched refs:rx_channel (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.7.0/samples/drivers/mbox/remote/src/ |
D | main.c | 30 const struct mbox_dt_spec rx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx); in main() local 32 printk("Maximum RX channels: %d\n", mbox_max_channels_get_dt(&rx_channel)); in main() 34 ret = mbox_register_callback_dt(&rx_channel, callback, NULL); in main() 40 ret = mbox_set_enabled_dt(&rx_channel, true); in main() 42 printk("Could not enable RX channel %d (%d)\n", rx_channel.channel_id, ret); in main()
|
/Zephyr-Core-3.7.0/samples/drivers/mbox/src/ |
D | main.c | 26 const struct mbox_dt_spec rx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx); in main() local 28 printk("Maximum RX channels: %d\n", mbox_max_channels_get_dt(&rx_channel)); in main() 30 ret = mbox_register_callback_dt(&rx_channel, callback, NULL); in main() 36 ret = mbox_set_enabled_dt(&rx_channel, true); in main() 38 printk("Could not enable RX channel %d (%d)\n", rx_channel.channel_id, ret); in main()
|
/Zephyr-Core-3.7.0/tests/drivers/mbox/mbox_data/remote/src/ |
D | main.c | 59 const struct mbox_dt_spec *rx_channel = &channels[i][RX_CHANNEL_INDEX]; in main() local 68 if (mbox_register_callback_dt(rx_channel, callback, NULL)) { in main() 73 if (mbox_set_enabled_dt(rx_channel, 1)) { in main() 98 mbox_set_enabled_dt(rx_channel, 0); in main()
|
/Zephyr-Core-3.7.0/samples/drivers/mbox_data/src/ |
D | main.c | 30 const struct mbox_dt_spec rx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx); in main() local 43 if (mbox_register_callback_dt(&rx_channel, callback, NULL)) { in main() 48 if (mbox_set_enabled_dt(&rx_channel, 1)) { in main()
|
/Zephyr-Core-3.7.0/samples/drivers/mbox_data/remote/src/ |
D | main.c | 30 const struct mbox_dt_spec rx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx); in main() local 43 if (mbox_register_callback_dt(&rx_channel, callback, NULL)) { in main() 48 if (mbox_set_enabled_dt(&rx_channel, 1)) { in main()
|
/Zephyr-Core-3.7.0/tests/drivers/mbox/mbox_data/src/ |
D | main.c | 72 const struct mbox_dt_spec *rx_channel = &channels[current_channel_index][RX_CHANNEL_INDEX]; in mbox_data_tests_before() local 83 ret_val = mbox_register_callback_dt(rx_channel, callback, NULL); in mbox_data_tests_before() 86 ret_val = mbox_set_enabled_dt(rx_channel, 1); in mbox_data_tests_before() 94 const struct mbox_dt_spec *rx_channel = &channels[current_channel_index][RX_CHANNEL_INDEX]; in mbox_data_tests_after() local 97 int ret_val = mbox_set_enabled_dt(rx_channel, 0); in mbox_data_tests_after()
|