Home
last modified time | relevance | path

Searched refs:SRTM_AudioDirTx (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_sai_sdma_adapter.c204 if (dir == SRTM_AudioDirTx) in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
252 srtm_sai_sdma_runtime_t rtm = (dir == SRTM_AudioDirTx ? &handle->txRtm : &handle->rxRtm); in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
267 if (dir == SRTM_AudioDirTx) in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
295 if (dir == SRTM_AudioDirTx) in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
321 if (dir == SRTM_AudioDirTx) in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
352 srtm_sai_sdma_runtime_t rtm = dir == SRTM_AudioDirTx ? &handle->txRtm : &handle->rxRtm; in SRTM_SaiSdmaAdapter_DmaTransfer()
540 srtm_sai_sdma_runtime_t rtm = (dir == SRTM_AudioDirTx ? &handle->txRtm : &handle->rxRtm); in SRTM_SaiSdmaAdapter_Transfer()
548 …if ((dir == SRTM_AudioDirTx) && (rtm->localRtm.bufRtm.remainingPeriods <= rtm->localBuf.threshold)) in SRTM_SaiSdmaAdapter_Transfer()
585 SRTM_SaiSdmaAdapter_Transfer(handle, SRTM_AudioDirTx); in SRTM_SaiSdmaAdapter_TxTransferProc()
671 SRTM_SaiSdmaAdapter_DmaTransfer(handle, SRTM_AudioDirTx); in SRTM_SaiSdmaTxCallback()
[all …]
Dsrtm_audio_service.c140 …SRTM_DEBUG_MESSAGE(SRTM_DEBUG_VERBOSE_INFO, "%s: %s\r\n", __func__, dir == SRTM_AudioDirTx ? "Tx" … in SRTM_AudioService_HandlePeriodDone()
145 … dir == SRTM_AudioDirTx ? SRTM_AUDIO_NTF_TX_PERIOD_DONE : SRTM_AUDIO_NTF_RX_PERIOD_DONE, in SRTM_AudioService_HandlePeriodDone()
150 dir == SRTM_AudioDirTx ? "Tx" : "Rx"); in SRTM_AudioService_HandlePeriodDone()
164 SRTM_AudioService_HandlePeriodDone(dispatcher, SRTM_AudioDirTx, (srtm_audio_service_t)param1, in SRTM_AudioService_HandleTxPeriodDone()
208 …dir == SRTM_AudioDirTx ? SRTM_AudioService_HandleTxPeriodDone : SRTM_AudioService_HandleRxPeriodDo… in SRTM_AudioService_PeriodDone()
287 status = sai->open(sai, SRTM_AudioDirTx, iface->index); in SRTM_AudioService_Request()
308 status = sai->start(sai, SRTM_AudioDirTx, iface->index); in SRTM_AudioService_Request()
320 status = sai->pause(sai, SRTM_AudioDirTx, iface->index); in SRTM_AudioService_Request()
332 status = sai->restart(sai, SRTM_AudioDirTx, iface->index); in SRTM_AudioService_Request()
344 status = sai->stop(sai, SRTM_AudioDirTx, iface->index); in SRTM_AudioService_Request()
[all …]
Dsrtm_audio_service.h40 SRTM_AudioDirTx = 1U, enumerator