Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/mbox/mbox_error_cases/src/
Dmain.c56 const struct mbox_dt_spec tx_channel = in ZTEST() local
60 ret = mbox_is_ready_dt(&tx_channel); in ZTEST()
89 const struct mbox_dt_spec tx_channel = in ZTEST() local
93 ret = mbox_is_ready_dt(&tx_channel); in ZTEST()
118 const struct mbox_dt_spec tx_channel = in ZTEST() local
122 ret = mbox_send_dt(&tx_channel, NULL); in ZTEST()
162 const struct mbox_dt_spec tx_channel = in ZTEST() local
175 ret = mbox_send_dt(&tx_channel, &data_msg); in ZTEST()
193 const struct mbox_dt_spec tx_channel = in ZTEST() local
204 ret = mbox_send_dt(&tx_channel, NULL); in ZTEST()
[all …]
/Zephyr-latest/samples/drivers/mbox/remote/src/
Dmain.c48 const struct mbox_dt_spec tx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx); in main() local
50 printk("Maximum bytes of data in the TX message: %d\n", mbox_mtu_get_dt(&tx_channel)); in main()
51 printk("Maximum TX channels: %d\n", mbox_max_channels_get_dt(&tx_channel)); in main()
60 printk("Ping (on channel %d)\n", tx_channel.channel_id); in main()
62 ret = mbox_send_dt(&tx_channel, NULL); in main()
/Zephyr-latest/samples/drivers/mbox/src/
Dmain.c44 const struct mbox_dt_spec tx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx); in main() local
46 printk("Maximum bytes of data in the TX message: %d\n", mbox_mtu_get_dt(&tx_channel)); in main()
47 printk("Maximum TX channels: %d\n", mbox_max_channels_get_dt(&tx_channel)); in main()
56 printk("Ping (on channel %d)\n", tx_channel.channel_id); in main()
58 ret = mbox_send_dt(&tx_channel, NULL); in main()
/Zephyr-latest/samples/drivers/mbox_data/remote/src/
Dmain.c29 const struct mbox_dt_spec tx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx); in main() local
36 const int max_transfer_size_bytes = mbox_mtu_get_dt(&tx_channel); in main()
65 printk("Server send (on channel %d) value: %d\n", tx_channel.channel_id, message); in main()
66 if (mbox_send_dt(&tx_channel, &msg) < 0) { in main()
/Zephyr-latest/samples/drivers/mbox_data/src/
Dmain.c29 const struct mbox_dt_spec tx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx); in main() local
36 const int max_transfer_size_bytes = mbox_mtu_get_dt(&tx_channel); in main()
57 printk("Client send (on channel %d) value: %d\n", tx_channel.channel_id, message); in main()
58 if (mbox_send_dt(&tx_channel, &msg) < 0) { in main()
/Zephyr-latest/tests/drivers/mbox/mbox_data/remote/src/
Dmain.c58 const struct mbox_dt_spec *tx_channel = &channels[i][TX_CHANNEL_INDEX]; in main() local
61 const int max_transfer_size_bytes = mbox_mtu_get_dt(tx_channel); in main()
91 if (mbox_send_dt(tx_channel, &msg) < 0) { in main()
/Zephyr-latest/tests/drivers/mbox/mbox_data/src/
Dmain.c71 const struct mbox_dt_spec *tx_channel = &channels[current_channel_index][TX_CHANNEL_INDEX]; in mbox_data_tests_before() local
75 g_max_transfer_size_bytes = mbox_mtu_get_dt(tx_channel); in mbox_data_tests_before()
113 const struct mbox_dt_spec *tx_channel = in mbox_test() local
121 ret_val = mbox_send_dt(tx_channel, &msg); in mbox_test()
/Zephyr-latest/drivers/i2s/
Di2s_mcux_sai.c94 uint32_t tx_channel; member
533 SAI_GetClassicI2SConfig(&config, word_size_bits, kSAI_Stereo, dev_cfg->tx_channel); in i2s_mcux_config()
537 dev_cfg->tx_channel); in i2s_mcux_config()
541 dev_cfg->tx_channel); in i2s_mcux_config()
551 dev_cfg->tx_channel); in i2s_mcux_config()
1197 .tx_channel = DT_INST_PROP(i2s_id, nxp_tx_channel), \