Home
last modified time | relevance | path

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

/Zephyr-latest/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_errors.c31 err = i2s_configure(dev_i2s, I2S_DIR_TX, &invalid_config); in ZTEST_USER()
38 err = i2s_configure(dev_i2s, I2S_DIR_TX, &invalid_config); in ZTEST_USER()
45 err = i2s_configure(dev_i2s, I2S_DIR_TX, &invalid_config); in ZTEST_USER()
65 err = i2s_configure(dev_i2s, I2S_DIR_TX, &inactive_config); in ZTEST_USER()
71 err = i2s_trigger(dev_i2s, I2S_DIR_TX, I2S_TRIGGER_START); in ZTEST_USER()
74 config_err = i2s_configure(dev_i2s, I2S_DIR_TX, &inactive_config); in ZTEST_USER()
76 err = i2s_trigger(dev_i2s, I2S_DIR_TX, I2S_TRIGGER_STOP); in ZTEST_USER()
98 err = i2s_configure(dev_i2s, I2S_DIR_TX, &test_config); in ZTEST_USER()
104 err = i2s_trigger(dev_i2s, I2S_DIR_TX, INVALID_TRIGGER_SETTING); in ZTEST_USER()
122 err = i2s_configure(dev_i2s, I2S_DIR_TX, &inactive_config); 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-latest/samples/drivers/i2s/output/src/
Dmain.c82 ret = i2s_configure(dev_i2s, I2S_DIR_TX, &i2s_cfg); in main()
107 ret = i2s_trigger(dev_i2s, I2S_DIR_TX, I2S_TRIGGER_START); in main()
121 ret = i2s_trigger(dev_i2s, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in main()
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/src/
Dmain.c69 i2s_trigger(ctx->i2s_dev, I2S_DIR_TX, I2S_TRIGGER_DROP); in uac2_terminal_update_cb()
132 i2s_trigger(ctx->i2s_dev, I2S_DIR_TX, I2S_TRIGGER_PREPARE); in uac2_data_recv_cb()
239 i2s_trigger(ctx->i2s_dev, I2S_DIR_TX, I2S_TRIGGER_START); in uac2_sof()
279 ret = i2s_configure(main_ctx.i2s_dev, I2S_DIR_TX, &config); in main()
/Zephyr-latest/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-latest/samples/boards/enjoydigital/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-latest/samples/drivers/i2s/i2s_codec/src/
Dmain.c38 ret = i2s_configure(i2s_dev, I2S_DIR_TX, config); in configure_tx_streams()
52 ret = i2s_trigger(i2s_dev_codec, I2S_DIR_TX, cmd); in trigger_command()
199 i2s_trigger(i2s_dev_codec, I2S_DIR_TX, I2S_TRIGGER_START); in main()
/Zephyr-latest/drivers/led_strip/
Dws2812_i2s.c134 ret = i2s_trigger(cfg->dev, I2S_DIR_TX, I2S_TRIGGER_START); in ws2812_strip_update_rgb()
140 ret = i2s_trigger(cfg->dev, I2S_DIR_TX, I2S_TRIGGER_DRAIN); in ws2812_strip_update_rgb()
181 ret = i2s_configure(cfg->dev, I2S_DIR_TX, &config); in ws2812_i2s_init()
/Zephyr-latest/drivers/i2s/
Di2s_common.c36 tx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_TX); in z_impl_i2s_buf_write()
Di2s_nrfx.c235 if (drv_data->active_dir != I2S_DIR_TX) { /* -> RX active */ in supply_next_buffers()
401 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in purge_queue()
432 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in i2s_nrfx_configure()
543 if (dir == I2S_DIR_TX || dir == I2S_DIR_BOTH) { in i2s_nrfx_configure()
563 if (dir == I2S_DIR_TX && drv_data->tx_configured) { in i2s_nrfx_config_get()
677 } else if (drv_data->active_dir != I2S_DIR_TX && /* -> RX to be started */ in start_transfer()
746 const nrfx_i2s_config_t *nrfx_cfg = (drv_data->active_dir == I2S_DIR_TX) in trigger_start()
802 } else if (dir == I2S_DIR_TX) { in i2s_nrfx_trigger()
Di2s_mcux_sai.c453 if (dir == I2S_DIR_TX) { in i2s_mcux_config()
463 if (dir == I2S_DIR_TX) { in i2s_mcux_config()
473 if (dir == I2S_DIR_TX) { in i2s_mcux_config()
483 if (dir == I2S_DIR_TX) { in i2s_mcux_config()
493 if (dir == I2S_DIR_TX) { in i2s_mcux_config()
556 if (dir == I2S_DIR_TX) { in i2s_mcux_config()
565 if (dir == I2S_DIR_TX) { in i2s_mcux_config()
635 if (dir == I2S_DIR_TX) { in i2s_mcux_config()
880 strm = (dir == I2S_DIR_TX) ? &dev_data->tx : &dev_data->rx; in i2s_mcux_trigger()
891 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()
200 } else if (dir == I2S_DIR_TX) { in i2s_mcux_configure()
501 i2s_mcux_config_dma_blocks(dev, I2S_DIR_TX, in i2s_mcux_dma_tx_callback()
613 i2s_mcux_config_dma_blocks(dev, I2S_DIR_TX, in i2s_mcux_tx_stream_start()
705 } else if (dir == I2S_DIR_TX) { in i2s_mcux_trigger()
725 if (dir == I2S_DIR_TX) { in i2s_mcux_trigger()
766 if (dir == I2S_DIR_TX) { in i2s_mcux_trigger()
780 if (dir == I2S_DIR_TX) { in i2s_mcux_trigger()
Di2s_esp32.c145 } else if (i2s_dir == I2S_DIR_TX) { in i2s_esp32_restart_dma()
185 } else if (i2s_dir == I2S_DIR_TX) { in i2s_esp32_start_dma()
283 err = i2s_esp32_start_dma(dev, I2S_DIR_TX); in i2s_esp32_tx_start_transfer()
433 err = i2s_esp32_restart_dma(dev, I2S_DIR_TX); in i2s_esp32_tx_callback()
515 case I2S_DIR_TX: in i2s_esp32_configure()
619 if (dir == I2S_DIR_TX) { in i2s_esp32_configure()
713 case I2S_DIR_TX: in i2s_esp32_trigger()
784 if (dir == I2S_DIR_TX) { in i2s_esp32_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.c205 } else if (dir == I2S_DIR_TX) { in i2s_stm32_configure()
327 } else if (dir == I2S_DIR_TX) { in i2s_stm32_trigger()
387 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-latest/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-latest/include/zephyr/drivers/
Di2s.h213 I2S_DIR_TX, enumerator
/Zephyr-latest/samples/subsys/usb/uac2_implicit_feedback/src/
Dmain.c542 ret = i2s_configure(main_ctx.i2s_dev, I2S_DIR_TX, &config); in main()