/Zephyr-Core-2.7.6/tests/drivers/i2s/i2s_api/src/ |
D | test_i2s_states.c | 23 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 …]
|
D | test_i2s_loopback.c | 24 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 …]
|
D | common.c | 168 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/ |
D | i2s_test.c | 80 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/ |
D | test_i2s_speed.c | 125 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/ |
D | i2s_sample.c | 161 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/ |
D | audio_driver.c | 175 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/ |
D | main.c | 79 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/ |
D | i2s_nrfx.c | 225 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()
|
D | i2s_common.c | 36 tx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_TX); in z_impl_i2s_buf_write()
|
D | i2s_mcux_flexcomm.c | 56 } 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()
|
D | i2s_handlers.c | 87 tx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_TX); in z_vrfy_i2s_buf_write()
|
D | i2s_litex.c | 350 } else if (dir == I2S_DIR_TX) { in i2s_litex_configure() 505 } else if (dir == I2S_DIR_TX) { in i2s_litex_trigger()
|
D | i2s_cavs.c | 649 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()
|
D | i2s_ll_stm32.c | 194 } else if (dir == I2S_DIR_TX) { in i2s_stm32_configure() 299 } else if (dir == I2S_DIR_TX) { in i2s_stm32_trigger()
|
D | i2s_sam_ssc.c | 567 } 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/ |
D | main.c | 179 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/ |
D | i2s.h | 209 I2S_DIR_TX, enumerator
|