Lines Matching refs:I2S_STATE_READY
337 if (stream->state != I2S_STATE_READY) { in i2s_esp32_rx_callback()
355 stream->state = I2S_STATE_READY; in i2s_esp32_rx_callback()
396 if (stream->state != I2S_STATE_READY) { in i2s_esp32_tx_callback()
407 stream->state = I2S_STATE_READY; in i2s_esp32_tx_callback()
411 stream->state = I2S_STATE_READY; in i2s_esp32_tx_callback()
418 stream->state = I2S_STATE_READY; in i2s_esp32_tx_callback()
530 if (stream->state != I2S_STATE_NOT_READY && stream->state != I2S_STATE_READY) { in i2s_esp32_configure()
678 stream->state = I2S_STATE_READY; in i2s_esp32_configure()
726 if (stream->state != I2S_STATE_READY) { in i2s_esp32_trigger()
762 stream->state = I2S_STATE_READY; in i2s_esp32_trigger()
790 stream->state = I2S_STATE_READY; in i2s_esp32_trigger()
799 stream->state = I2S_STATE_READY; in i2s_esp32_trigger()
817 stream->state = I2S_STATE_READY; in i2s_esp32_trigger()
826 stream->state = I2S_STATE_READY; in i2s_esp32_trigger()
869 if (dev_data->tx.state != I2S_STATE_RUNNING && dev_data->tx.state != I2S_STATE_READY) { in i2s_esp32_write()