Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/mbox/mbox_data/src/
Dmain.c49 static uint32_t current_channel_index; variable
69 zassert_false(current_channel_index >= CHANNELS_TO_TEST, "Channel to test is out of range"); in mbox_data_tests_before()
71 const struct mbox_dt_spec *tx_channel = &channels[current_channel_index][TX_CHANNEL_INDEX]; in mbox_data_tests_before()
72 const struct mbox_dt_spec *rx_channel = &channels[current_channel_index][RX_CHANNEL_INDEX]; in mbox_data_tests_before()
92 zassert_false(current_channel_index >= CHANNELS_TO_TEST, "Channel to test is out of range"); in mbox_data_tests_after()
94 const struct mbox_dt_spec *rx_channel = &channels[current_channel_index][RX_CHANNEL_INDEX]; in mbox_data_tests_after()
102 current_channel_index++; in mbox_data_tests_after()
114 &channels[current_channel_index][TX_CHANNEL_INDEX]; in mbox_test()
147 channels[current_channel_index][RX_CHANNEL_INDEX].channel_id; in mbox_test()