/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_api/src/ |
D | test_i2s_states.c | 53 ret = i2s_configure(dev_i2s_tx, I2S_DIR_TX, &i2s_cfg); in ZTEST_USER() 56 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in ZTEST_USER() 59 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in ZTEST_USER() 62 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_STOP); in ZTEST_USER() 65 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DROP); in ZTEST_USER() 68 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_PREPARE); in ZTEST_USER() 99 ret = configure_stream(dev_i2s_tx, I2S_DIR_TX); in ZTEST_USER() 104 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in ZTEST_USER() 107 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_STOP); in ZTEST_USER() 110 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_PREPARE); in ZTEST_USER() [all …]
|
D | test_i2s_loopback.c | 45 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in ZTEST_USER() 57 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in ZTEST_USER() 106 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in ZTEST_USER() 118 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in ZTEST_USER() 162 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in ZTEST_USER() 178 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DROP); in ZTEST_USER() 233 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in ZTEST_USER() 237 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_STOP); in ZTEST_USER() 265 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in ZTEST_USER() 269 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in ZTEST_USER() [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()
|
D | main.c | 47 ret = configure_stream(dev_i2s_tx, I2S_DIR_TX); in before()
|
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_speed/src/ |
D | test_i2s_speed.c | 142 if (dir == I2S_DIR_TX) { in configure_stream() 159 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in configure_stream() 161 ret = i2s_configure(dev_i2s, I2S_DIR_TX, &i2s_cfg); in configure_stream() 221 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in ZTEST() 225 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in ZTEST() 307 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_START); in ZTEST() 320 ret = i2s_trigger(dev_i2s_tx, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in ZTEST() 509 ret = configure_stream(dev_i2s_tx, I2S_DIR_TX); in test_i2s_speed_configure()
|
/Zephyr-Core-3.5.0/samples/boards/litex/i2s/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-3.5.0/drivers/i2s/ |
D | i2s_nrfx.c | 231 if (drv_data->active_dir != I2S_DIR_TX) { /* -> RX active */ in supply_next_buffers() 382 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in purge_queue() 413 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in i2s_nrfx_configure() 523 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in i2s_nrfx_configure() 543 if (dir == I2S_DIR_TX && drv_data->tx_configured) { in i2s_nrfx_config_get() 654 } else if (drv_data->active_dir != I2S_DIR_TX && /* -> RX to be started */ in start_transfer() 659 uint32_t block_size = (drv_data->active_dir == I2S_DIR_TX) in start_transfer() 718 const nrfx_i2s_config_t *nrfx_cfg = (drv_data->active_dir == I2S_DIR_TX) in trigger_start() 774 } 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_sai.c | 482 if (dir == I2S_DIR_TX) { in i2s_mcux_config() 493 if (dir == I2S_DIR_TX) { in i2s_mcux_config() 504 if (dir == I2S_DIR_TX) { in i2s_mcux_config() 515 if (dir == I2S_DIR_TX) { in i2s_mcux_config() 525 if (dir == I2S_DIR_TX) { in i2s_mcux_config() 595 if (dir == I2S_DIR_TX) { in i2s_mcux_config() 604 if (dir == I2S_DIR_TX) { in i2s_mcux_config() 677 if (dir == I2S_DIR_TX) { in i2s_mcux_config() 946 strm = (dir == I2S_DIR_TX) ? &dev_data->tx : &dev_data->rx; in i2s_mcux_trigger() 958 if (dir == I2S_DIR_TX) { in i2s_mcux_trigger() [all …]
|
D | i2s_mcux_flexcomm.c | 74 } else if (dir == I2S_DIR_TX) { in i2s_mcux_flexcomm_cfg_convert() 204 } else if (dir == I2S_DIR_TX) { in i2s_mcux_configure() 480 i2s_mcux_config_dma_blocks(dev, I2S_DIR_TX, in i2s_mcux_dma_tx_callback() 592 i2s_mcux_config_dma_blocks(dev, I2S_DIR_TX, in i2s_mcux_tx_stream_start() 684 } else if (dir == I2S_DIR_TX) { in i2s_mcux_trigger() 704 if (dir == I2S_DIR_TX) { in i2s_mcux_trigger() 745 if (dir == I2S_DIR_TX) { in i2s_mcux_trigger() 759 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 | 335 } else if (dir == I2S_DIR_TX) { in i2s_litex_configure() 489 } else if (dir == I2S_DIR_TX) { in i2s_litex_trigger()
|
D | i2s_ll_stm32.c | 191 } else if (dir == I2S_DIR_TX) { in i2s_stm32_configure() 312 } else if (dir == I2S_DIR_TX) { in i2s_stm32_trigger()
|
D | i2s_sam_ssc.c | 563 } else if (dir == I2S_DIR_TX) { in i2s_sam_configure() 796 } else if (dir == I2S_DIR_TX) { in i2s_sam_trigger()
|
/Zephyr-Core-3.5.0/drivers/led_strip/ |
D | ws2812_i2s.c | 147 ret = i2s_trigger(cfg->dev, I2S_DIR_TX, I2S_TRIGGER_START); in ws2812_strip_update_rgb() 153 ret = i2s_trigger(cfg->dev, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in ws2812_strip_update_rgb() 194 ret = i2s_configure(cfg->dev, I2S_DIR_TX, &config); in ws2812_i2s_init()
|
/Zephyr-Core-3.5.0/samples/drivers/i2s/echo/src/ |
D | main.c | 177 ret = i2s_configure(i2s_dev_tx, I2S_DIR_TX, config); in configure_streams() 238 ret = i2s_trigger(i2s_dev_tx, I2S_DIR_TX, cmd); in trigger_command()
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | i2s.h | 211 I2S_DIR_TX, enumerator
|