Lines Matching refs:active_dir
38 enum i2s_dir active_dir; member
235 if (drv_data->active_dir != I2S_DIR_TX) { /* -> RX active */ in supply_next_buffers()
244 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()
673 if (drv_data->active_dir != I2S_DIR_RX && /* -> TX to be started */ in start_transfer()
677 } else if (drv_data->active_dir != I2S_DIR_TX && /* -> RX to be started */ in start_transfer()
688 if (drv_data->active_dir == I2S_DIR_RX) { in start_transfer()
746 const nrfx_i2s_config_t *nrfx_cfg = (drv_data->active_dir == I2S_DIR_TX) in trigger_start()
852 drv_data->active_dir != dir) { in i2s_nrfx_trigger()
854 cmd, dir, drv_data->active_dir); in i2s_nrfx_trigger()
862 drv_data->active_dir = dir; in i2s_nrfx_trigger()
874 drv_data->stop = (drv_data->active_dir == I2S_DIR_RX); in i2s_nrfx_trigger()