Home
last modified time | relevance | path

Searched refs:DAI_DIR_RX (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/dai/nxp/sai/
Dsai.h169 ((dir) == DAI_DIR_RX ? SAI_RxSoftwareReset(UINT_TO_I2S(regmap), kSAI_ResetTypeSoftware) :\
179 ((dir) == DAI_DIR_RX ? SAI_RxEnable(UINT_TO_I2S(regmap), enable) :\
184 ((dir) == DAI_DIR_RX ? SAI_RxEnableDMA(UINT_TO_I2S(regmap),\
190 ((dir) == DAI_DIR_RX ? (UINT_TO_I2S(regmap)->RCSR & I2S_RCSR_RE_MASK) : \
195 ((dir) == DAI_DIR_RX ? SAI_RxEnableInterrupts(UINT_TO_I2S(regmap), which) : \
200 ((dir) == DAI_DIR_RX ? SAI_RxDisableInterrupts(UINT_TO_I2S(regmap), which) : \
210 ((dir) == DAI_DIR_RX ? ((UINT_TO_I2S(regmap))->RCSR & (which)) : \
215 ((dir) == DAI_DIR_RX ? SAI_RxClearStatusFlags(UINT_TO_I2S(regmap), which) \
222 ((cfg)->tx_sync_mode == kSAI_ModeSync ? DAI_DIR_TX : DAI_DIR_RX)
228 ((cfg)->tx_sync_mode == kSAI_ModeAsync ? DAI_DIR_TX : DAI_DIR_RX)
[all …]
Dsai.c105 if (SAI_TX_RX_STATUS_IS_SET(DAI_DIR_RX, data->regmap, kSAI_FIFOErrorFlag)) { in sai_isr()
107 SAI_TX_RX_STATUS_CLEAR(DAI_DIR_RX, data->regmap, kSAI_FIFOErrorFlag); in sai_isr()
129 case DAI_DIR_RX: in sai_get_properties()
239 ret = sai_update_state(DAI_DIR_RX, data, DAI_STATE_READY); in sai_config_set()
549 if (dir != DAI_DIR_RX && dir != DAI_DIR_TX) { in sai_trigger_pause()
590 if (dir != DAI_DIR_RX && dir != DAI_DIR_TX) { in sai_trigger_stop()
711 if (dir != DAI_DIR_RX && dir != DAI_DIR_TX) { in sai_trigger_start()
/Zephyr-latest/drivers/dai/nxp/esai/
Desai.h373 if (dir == DAI_DIR_RX) { in esai_get_state()
414 if (dir == DAI_DIR_RX) { in esai_update_state()
428 if (dir == DAI_DIR_RX) { in esai_tx_rx_enable_disable_fifo()
434 if (dir == DAI_DIR_RX) { in esai_tx_rx_enable_disable_fifo()
449 if (dir == DAI_DIR_RX) { in esai_tx_rx_enable_disable()
455 if (dir == DAI_DIR_RX) { in esai_tx_rx_enable_disable()
470 if (dir == DAI_DIR_RX) { in esai_tx_rx_enable_disable_fifo_usage()
476 if (dir == DAI_DIR_RX) { in esai_tx_rx_enable_disable_fifo_usage()
Desai.c411 ret = esai_update_state(data, DAI_DIR_RX, DAI_STATE_READY); in esai_config_set()
508 esai_commit_config(base, DAI_DIR_RX, &rx_config); in esai_config_set()
518 esai_tx_rx_enable_disable_fifo_usage(base, DAI_DIR_RX, BIT(0), true); in esai_config_set()
616 if (dir != DAI_DIR_RX && dir != DAI_DIR_TX) { in esai_trigger()
645 case DAI_DIR_RX: in esai_get_properties()
/Zephyr-latest/tests/boards/intel_adsp/ssp/src/
Dmain.c282 props = dai_get_properties(dev_dai_ssp, DAI_DIR_RX, 0); in ZTEST()
303 if (dai_trigger(dev_dai_ssp, DAI_DIR_RX, DAI_TRIGGER_PRE_START)) { in ZTEST()
323 if (dai_trigger(dev_dai_ssp, DAI_DIR_RX, DAI_TRIGGER_START)) { in ZTEST()
341 dai_trigger(dev_dai_ssp, DAI_DIR_RX, DAI_TRIGGER_STOP); in ZTEST()
/Zephyr-latest/include/zephyr/drivers/
Ddai.h127 DAI_DIR_RX, enumerator
/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic.c719 if (dir != DAI_DIR_RX) { in dai_dmic_trigger()
757 if (dir != DAI_DIR_RX) { in dai_dmic_get_config()
/Zephyr-latest/drivers/dai/intel/ssp/
Dssp.c37 #define SSP_ARRAY_INDEX(dir) dir == DAI_DIR_RX ? DAI_DIR_CAPTURE : DAI_DIR_PLAYBACK