Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_states.c23 ret = configure_stream(dev_i2s_tx, I2S_DIR_TX); in test_i2s_tx_transfer_configure_1()
80 ret = i2s_configure(dev_i2s_tx, I2S_DIR_TX, &i2s_cfg); in test_i2s_state_not_ready_neg()
83 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in test_i2s_state_not_ready_neg()
86 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in test_i2s_state_not_ready_neg()
89 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_STOP); in test_i2s_state_not_ready_neg()
92 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DROP); in test_i2s_state_not_ready_neg()
95 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_PREPARE); in test_i2s_state_not_ready_neg()
126 ret = configure_stream(dev_i2s_tx, I2S_DIR_TX); in test_i2s_state_ready_neg()
131 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in test_i2s_state_ready_neg()
134 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_STOP); in test_i2s_state_ready_neg()
[all …]
Dtest_i2s_loopback.c24 ret = configure_stream(dev_i2s_tx, I2S_DIR_TX); in test_i2s_tx_transfer_configure_0()
72 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in test_i2s_transfer_short()
84 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in test_i2s_transfer_short()
133 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in test_i2s_transfer_long()
145 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in test_i2s_transfer_long()
189 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in test_i2s_rx_sync_start()
205 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DROP); in test_i2s_rx_sync_start()
260 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in test_i2s_transfer_restart()
264 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_STOP); in test_i2s_transfer_restart()
292 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in test_i2s_transfer_restart()
[all …]
Dcommon.c168 if (dir == I2S_DIR_TX) { in configure_stream()
185 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in configure_stream()
187 ret = i2s_configure(dev_i2s, I2S_DIR_TX, &i2s_cfg); in configure_stream()
/Zephyr-Core-2.7.6/tests/boards/intel_s1000_crb/main/src/
Di2s_test.c80 ret = i2s_configure(dev_i2s, I2S_DIR_TX, &i2s_cfg); in test_i2s_bidirectional_transfer_configure()
136 ret = i2s_trigger(dev_i2s, I2S_DIR_TX, in test_i2s_bidirectional_transfer()
146 ret = i2s_trigger(dev_i2s, I2S_DIR_TX, I2S_TRIGGER_STOP); in test_i2s_bidirectional_transfer()
/Zephyr-Core-2.7.6/tests/drivers/i2s/i2s_speed/src/
Dtest_i2s_speed.c125 if (dir == I2S_DIR_TX) { in configure_stream()
142 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in configure_stream()
144 ret = i2s_configure(dev_i2s, I2S_DIR_TX, &i2s_cfg); in configure_stream()
173 ret = configure_stream(dev_i2s_tx, I2S_DIR_TX); in test_i2s_tx_transfer_configure()
227 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in test_i2s_transfer_short()
231 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in test_i2s_transfer_short()
313 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in test_i2s_transfer_long()
326 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in test_i2s_transfer_long()
/Zephyr-Core-2.7.6/samples/boards/intel_s1000_crb/i2s/src/
Di2s_sample.c161 ret = i2s_configure(spk_i2s_dev, I2S_DIR_TX, &i2s_cfg); in i2s_audio_init()
195 ret = i2s_trigger(spk_i2s_dev, I2S_DIR_TX, I2S_TRIGGER_START); in i2s_start_audio()
200 ret = i2s_trigger(host_i2s_dev, I2S_DIR_TX, I2S_TRIGGER_START); in i2s_start_audio()
295 ret = i2s_trigger(spk_i2s_dev, I2S_DIR_TX, I2S_TRIGGER_STOP); in i2s_stop_audio()
/Zephyr-Core-2.7.6/samples/boards/intel_s1000_crb/audio/src/
Daudio_driver.c175 ret = i2s_trigger(i2s_host_dev, I2S_DIR_TX, I2S_TRIGGER_START); in audio_driver_start_host_streams()
194 ret = i2s_trigger(i2s_host_dev, I2S_DIR_TX, I2S_TRIGGER_STOP); in audio_driver_stop_host_streams()
325 ret = i2s_configure(i2s_spk_out_dev, I2S_DIR_TX, &i2s_cfg); in audio_driver_config_periph_streams()
342 ret = i2s_trigger(i2s_spk_out_dev, I2S_DIR_TX, I2S_TRIGGER_START); in audio_driver_start_periph_streams()
357 ret = i2s_trigger(i2s_spk_out_dev, I2S_DIR_TX, I2S_TRIGGER_STOP); in audio_driver_stop_periph_streams()
/Zephyr-Core-2.7.6/samples/drivers/i2s/litex/src/
Dmain.c79 ret = i2s_configure(host_i2s_tx_dev, I2S_DIR_TX, &i2s_tx_cfg); in init()
98 ret = i2s_trigger(host_i2s_tx_dev, I2S_DIR_TX, I2S_TRIGGER_START); in main()
/Zephyr-Core-2.7.6/drivers/i2s/
Di2s_nrfx.c225 if (drv_data->active_dir != I2S_DIR_TX) { /* -> RX active */ in supply_next_buffers()
376 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in purge_queue()
407 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in i2s_nrfx_configure()
517 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in i2s_nrfx_configure()
537 if (dir == I2S_DIR_TX && drv_data->tx_configured) { in i2s_nrfx_config_get()
632 } else if (drv_data->active_dir != I2S_DIR_TX && /* -> RX to be started */ in start_transfer()
637 uint32_t block_size = (drv_data->active_dir == I2S_DIR_TX) in start_transfer()
696 const nrfx_i2s_config_t *nrfx_cfg = (drv_data->active_dir == I2S_DIR_TX) in trigger_start()
752 } else if (dir == I2S_DIR_TX) { in i2s_nrfx_trigger()
Di2s_common.c36 tx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_TX); in z_impl_i2s_buf_write()
Di2s_mcux_flexcomm.c56 } else if (dir == I2S_DIR_TX) { in i2s_mcux_flexcomm_cfg_convert()
186 } else if (dir == I2S_DIR_TX) { in i2s_mcux_configure()
447 i2s_mcux_config_dma_blocks(dev, I2S_DIR_TX, (uint32_t *)buffer); in i2s_mcux_dma_tx_callback()
557 i2s_mcux_config_dma_blocks(dev, I2S_DIR_TX, (uint32_t *)buffer); in i2s_mcux_tx_stream_start()
646 } else if (dir == I2S_DIR_TX) { in i2s_mcux_trigger()
666 if (dir == I2S_DIR_TX) { in i2s_mcux_trigger()
707 if (dir == I2S_DIR_TX) { in i2s_mcux_trigger()
721 if (dir == I2S_DIR_TX) { in i2s_mcux_trigger()
Di2s_handlers.c87 tx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_TX); in z_vrfy_i2s_buf_write()
Di2s_litex.c350 } else if (dir == I2S_DIR_TX) { in i2s_litex_configure()
505 } else if (dir == I2S_DIR_TX) { in i2s_litex_trigger()
Di2s_cavs.c649 strm = (dir == I2S_DIR_TX) ? &dev_data->tx : &dev_data->rx; in i2s_cavs_trigger()
660 if (dir == I2S_DIR_TX) { in i2s_cavs_trigger()
Di2s_ll_stm32.c194 } else if (dir == I2S_DIR_TX) { in i2s_stm32_configure()
299 } else if (dir == I2S_DIR_TX) { in i2s_stm32_trigger()
Di2s_sam_ssc.c567 } else if (dir == I2S_DIR_TX) { in i2s_sam_configure()
800 } else if (dir == I2S_DIR_TX) { in i2s_sam_trigger()
/Zephyr-Core-2.7.6/samples/drivers/i2s/echo/src/
Dmain.c179 ret = i2s_configure(i2s_dev_tx, I2S_DIR_TX, config); in configure_streams()
240 ret = i2s_trigger(i2s_dev_tx, I2S_DIR_TX, cmd); in trigger_command()
/Zephyr-Core-2.7.6/include/drivers/
Di2s.h209 I2S_DIR_TX, enumerator