Home
last modified time | relevance | path

Searched refs:I2S_DIR_RX (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_states.c29 ret = i2s_configure(dev_i2s_rx, I2S_DIR_RX, &i2s_cfg); in ZTEST_USER()
32 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST_USER()
35 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_DRAIN); in ZTEST_USER()
38 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST_USER()
41 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_DROP); in ZTEST_USER()
44 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_PREPARE); in ZTEST_USER()
84 ret = configure_stream(dev_i2s_rx, I2S_DIR_RX); in ZTEST_USER()
89 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_DRAIN); in ZTEST_USER()
92 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST_USER()
95 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_PREPARE); in ZTEST_USER()
[all …]
Dtest_i2s_loopback.c41 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST_USER()
65 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST_USER()
102 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST_USER()
122 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST_USER()
168 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST_USER()
181 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_DROP); in ZTEST_USER()
229 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST_USER()
241 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST_USER()
261 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST_USER()
277 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST_USER()
[all …]
Dcommon.c172 } else if (dir == I2S_DIR_RX) { in configure_stream()
195 if (dir == I2S_DIR_RX || dir == I2S_DIR_BOTH) { in configure_stream()
197 ret = i2s_configure(dev_i2s, I2S_DIR_RX, &i2s_cfg); in configure_stream()
Dmain.c44 ret = configure_stream(dev_i2s_rx, I2S_DIR_RX); in before()
Dtest_i2s_dir_both_loopback.c235 ret = i2s_trigger(dev_i2s, I2S_DIR_RX, I2S_TRIGGER_PREPARE); in ZTEST_USER()
/Zephyr-latest/tests/drivers/i2s/i2s_speed/src/
Dtest_i2s_speed.c146 } else if (dir == I2S_DIR_RX) { in configure_stream()
169 if (dir == I2S_DIR_RX || dir == I2S_DIR_BOTH) { in configure_stream()
171 ret = i2s_configure(dev_i2s, I2S_DIR_RX, &i2s_cfg); in configure_stream()
217 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST()
237 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST()
303 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_START); in ZTEST()
328 ret = i2s_trigger(dev_i2s_rx, I2S_DIR_RX, I2S_TRIGGER_STOP); in ZTEST()
517 ret = configure_stream(dev_i2s_rx, I2S_DIR_RX); in test_i2s_speed_configure()
/Zephyr-latest/samples/boards/enjoydigital/litex/i2s/src/
Dmain.c54 ret = i2s_configure(host_i2s_rx_dev, I2S_DIR_RX, &i2s_rx_cfg); in init()
91 ret = i2s_trigger(host_i2s_rx_dev, I2S_DIR_RX, I2S_TRIGGER_START); in main()
/Zephyr-latest/drivers/i2s/
Di2s_nrfx.c244 if (drv_data->active_dir == I2S_DIR_RX) { in supply_next_buffers()
330 if (drv_data->active_dir == I2S_DIR_RX && in data_handler()
356 if (drv_data->active_dir != I2S_DIR_RX) { /* -> TX active */ in data_handler()
409 if (dir == I2S_DIR_RX || dir == I2S_DIR_BOTH) { in purge_queue()
436 if (dir == I2S_DIR_RX || dir == I2S_DIR_BOTH) { in i2s_nrfx_configure()
549 if (dir == I2S_DIR_RX || dir == I2S_DIR_BOTH) { in i2s_nrfx_configure()
566 if (dir == I2S_DIR_RX && drv_data->rx_configured) { in i2s_nrfx_config_get()
673 if (drv_data->active_dir != I2S_DIR_RX && /* -> TX to be started */ in start_transfer()
688 if (drv_data->active_dir == I2S_DIR_RX) { in start_transfer()
804 } else if (dir == I2S_DIR_RX) { in i2s_nrfx_trigger()
[all …]
Di2s_esp32.c142 if (i2s_dir == I2S_DIR_RX) { in i2s_esp32_restart_dma()
160 if (i2s_dir == I2S_DIR_RX) { in i2s_esp32_restart_dma()
183 if (i2s_dir == I2S_DIR_RX) { in i2s_esp32_start_dma()
195 if (i2s_dir == I2S_DIR_RX) { in i2s_esp32_start_dma()
217 if (i2s_dir == I2S_DIR_RX) { in i2s_esp32_start_dma()
251 err = i2s_esp32_start_dma(dev, I2S_DIR_RX); in i2s_esp32_rx_start_transfer()
366 err = i2s_esp32_restart_dma(dev, I2S_DIR_RX); in i2s_esp32_rx_callback()
508 case I2S_DIR_RX: in i2s_esp32_configure()
647 } else if (dir == I2S_DIR_RX) { in i2s_esp32_configure()
688 if (dir == I2S_DIR_RX) { in i2s_esp32_config_get()
[all …]
Di2s_common.c21 rx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_RX); in z_impl_i2s_buf_read()
Di2s_mcux_flexcomm.c72 if (dir == I2S_DIR_RX) { in i2s_mcux_flexcomm_cfg_convert()
175 if (dir == I2S_DIR_RX) { in i2s_mcux_config_get()
198 if (dir == I2S_DIR_RX) { in i2s_mcux_configure()
254 if (dir == I2S_DIR_RX) { in i2s_mcux_configure()
414 if (dir == I2S_DIR_RX) { in i2s_mcux_config_dma_blocks()
426 if (dir == I2S_DIR_RX) { in i2s_mcux_config_dma_blocks()
668 i2s_mcux_config_dma_blocks(dev, I2S_DIR_RX, (uint32_t *)buffer, in i2s_mcux_rx_stream_start()
703 if (dir == I2S_DIR_RX) { in i2s_mcux_trigger()
Di2s_handlers.c64 rx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_RX); in z_vrfy_i2s_buf_read()
Di2s_litex.c332 if (dir == I2S_DIR_RX) { in i2s_litex_configure()
487 if (dir == I2S_DIR_RX) { in i2s_litex_trigger()
Di2s_sam_ssc.c536 if (dir == I2S_DIR_RX) { in i2s_sam_config_get()
561 if (dir == I2S_DIR_RX) { in i2s_sam_configure()
794 if (dir == I2S_DIR_RX) { in i2s_sam_trigger()
Di2s_ll_stm32.c203 if (dir == I2S_DIR_RX) { in i2s_stm32_configure()
325 if (dir == I2S_DIR_RX) { in i2s_stm32_trigger()
400 } else if (dir == I2S_DIR_RX) { in i2s_stm32_trigger()
Di2s_mcux_sai.c689 if (dir == I2S_DIR_RX) { in i2s_mcux_config_get()
/Zephyr-latest/drivers/audio/
Dmpxxdtyy-i2s.c84 ret = i2s_trigger(config->comm_master, I2S_DIR_RX, i2s_cmd); in mpxxdtyy_i2s_trigger()
137 ret = i2s_configure(config->comm_master, I2S_DIR_RX, &i2s_cfg); in mpxxdtyy_i2s_configure()
/Zephyr-latest/samples/drivers/i2s/echo/src/
Dmain.c171 ret = i2s_configure(i2s_dev_rx, I2S_DIR_RX, config); in configure_streams()
232 ret = i2s_trigger(i2s_dev_rx, I2S_DIR_RX, cmd); in trigger_command()
/Zephyr-latest/include/zephyr/drivers/
Di2s.h211 I2S_DIR_RX, enumerator
/Zephyr-latest/samples/subsys/usb/uac2_implicit_feedback/src/
Dmain.c549 ret = i2s_configure(main_ctx.i2s_dev, I2S_DIR_RX, &config); in main()