Home
last modified time | relevance | path

Searched refs:thisRtm (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_sai_sdma_adapter.c994 srtm_sai_sdma_runtime_t thisRtm; in SRTM_SaiSdmaAdapter_Start() local
1018 thisRtm = &handle->txRtm; in SRTM_SaiSdmaAdapter_Start()
1027 thisRtm = &handle->rxRtm; in SRTM_SaiSdmaAdapter_Start()
1035 if (thisRtm->state != SRTM_AudioStateOpened) in SRTM_SaiSdmaAdapter_Start()
1038 thisRtm->state); in SRTM_SaiSdmaAdapter_Start()
1042 if (thisRtm->periods == 0U) in SRTM_SaiSdmaAdapter_Start()
1048 if (thisRtm->srate == 0U) in SRTM_SaiSdmaAdapter_Start()
1099 if (thisRtm->streamMode == kSAI_Stereo) in SRTM_SaiSdmaAdapter_Start()
1110 …guardPeroids = (uint32_t)(((uint64_t)thisRtm->srate * thisRtm->bitWidth * channelNum * (*guardTime… in SRTM_SaiSdmaAdapter_Start()
1111 (uint64_t)thisRtm->periodSize * 8U * 1000U - 1U) / in SRTM_SaiSdmaAdapter_Start()
[all …]
Dsrtm_pdm_sdma_adapter.c784 srtm_pdm_sdma_runtime_t thisRtm = &handle->rxRtm; in SRTM_PdmSdmaAdapter_Start() local
791 if (thisRtm->state != SRTM_AudioStateOpened) in SRTM_PdmSdmaAdapter_Start()
794 thisRtm->state); in SRTM_PdmSdmaAdapter_Start()
798 if (thisRtm->periods == 0U) in SRTM_PdmSdmaAdapter_Start()
804 if (thisRtm->srate == 0U) in SRTM_PdmSdmaAdapter_Start()
812 if (thisRtm->state != SRTM_AudioStateStarted) in SRTM_PdmSdmaAdapter_Start()
823 thisRtm->state = SRTM_AudioStateStarted; in SRTM_PdmSdmaAdapter_Start()
825 thisRtm->bufRtm.loadIdx = thisRtm->bufRtm.chaseIdx; in SRTM_PdmSdmaAdapter_Start()
826 thisRtm->bufRtm.offset = 0; in SRTM_PdmSdmaAdapter_Start()
827 thisRtm->finishedBufOffset = thisRtm->bufRtm.chaseIdx * thisRtm->periodSize; in SRTM_PdmSdmaAdapter_Start()
[all …]