Searched refs:rx_channel (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/tests/drivers/mbox/mbox_error_cases/src/ |
D | main.c | 54 const struct mbox_dt_spec rx_channel = in ZTEST() local 68 ret = mbox_is_ready_dt(&rx_channel); in ZTEST() 87 const struct mbox_dt_spec rx_channel = in ZTEST() local 101 ret = mbox_is_ready_dt(&rx_channel); in ZTEST() 140 const struct mbox_dt_spec rx_channel = in ZTEST() local 144 ret = mbox_send_dt(&rx_channel, NULL); in ZTEST() 252 const struct mbox_dt_spec rx_channel = in ZTEST() local 256 ret = mbox_register_callback_dt(&rx_channel, dummy_callback, NULL); in ZTEST() 275 const struct mbox_dt_spec rx_channel = in ZTEST() local 279 ret = mbox_register_callback_dt(&rx_channel, dummy_callback, NULL); in ZTEST() [all …]
|
/Zephyr-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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()
|