Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_states.c53 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 …]
Dtest_i2s_loopback.c45 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 …]
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()
Dmain.c47 ret = configure_stream(dev_i2s_tx, I2S_DIR_TX); in before()
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_speed/src/
Dtest_i2s_speed.c142 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/
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-3.5.0/drivers/i2s/
Di2s_nrfx.c231 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()
Di2s_common.c36 tx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_TX); in z_impl_i2s_buf_write()
Di2s_mcux_sai.c482 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 …]
Di2s_mcux_flexcomm.c74 } 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()
Di2s_handlers.c87 tx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_TX); in z_vrfy_i2s_buf_write()
Di2s_litex.c335 } else if (dir == I2S_DIR_TX) { in i2s_litex_configure()
489 } else if (dir == I2S_DIR_TX) { in i2s_litex_trigger()
Di2s_ll_stm32.c191 } else if (dir == I2S_DIR_TX) { in i2s_stm32_configure()
312 } else if (dir == I2S_DIR_TX) { in i2s_stm32_trigger()
Di2s_sam_ssc.c563 } 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/
Dws2812_i2s.c147 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/
Dmain.c177 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/
Di2s.h211 I2S_DIR_TX, enumerator