Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_sai_sdma_adapter.c38 uint32_t chaseIdx; /* consumed period index for playback or recording. */ member
442 dst = rtm->bufAddr + dstRtm->chaseIdx * rtm->periodSize; in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify()
464 dstRtm->chaseIdx = (dstRtm->chaseIdx + 1U) % rtm->periods; in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify()
468 rtm->finishedBufOffset = dstRtm->chaseIdx * rtm->periodSize; in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify()
471 SRTM_SaiSdmaAdapter_AddNewPeriods(rtm, dstRtm->chaseIdx); in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify()
477 … (void)adapter->periodDone(adapter->service, SRTM_AudioDirRx, handle->index, rtm->bufRtm.chaseIdx); in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify()
574 SRTM_SaiSdmaAdapter_AddNewPeriods(rtm, rtm->bufRtm.chaseIdx); in SRTM_SaiSdmaAdapter_Transfer()
595 uint32_t chaseIdx = (uint32_t)(uint8_t *)param2; in SRTM_SaiSdmaAdapter_RxTransferProc() local
599 …if ((rtm->suspendState == SRTM_Suspended) && (rtm->dataCallback != NULL) && (chaseIdx != UINT32_MA… in SRTM_SaiSdmaAdapter_RxTransferProc()
604 bufAddr = rtm->localBuf.buf + chaseIdx * rtm->localRtm.periodSize; in SRTM_SaiSdmaAdapter_RxTransferProc()
[all …]
Dsrtm_pdm_sdma_adapter.c38 uint32_t chaseIdx; /* consumed period index for recording. */ member
318 dst = rtm->bufAddr + dstRtm->chaseIdx * rtm->periodSize; in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
340 dstRtm->chaseIdx = (dstRtm->chaseIdx + 1U) % rtm->periods; in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
344 rtm->finishedBufOffset = dstRtm->chaseIdx * rtm->periodSize; in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
348 SRTM_PdmSdmaAdapter_AddNewPeriods(rtm, dstRtm->chaseIdx); in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
352 … (void)adapter->periodDone(adapter->service, SRTM_AudioDirRx, handle->index, rtm->bufRtm.chaseIdx); in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
434 SRTM_PdmSdmaAdapter_AddNewPeriods(rtm, rtm->bufRtm.chaseIdx); in SRTM_PdmSdmaAdapter_Transfer()
443 uint32_t chaseIdx = (uint32_t)(uint8_t *)param2; in SRTM_PdmSdmaAdapter_RxTransferProc() local
447 …if ((rtm->suspendState == SRTM_Suspended) && (rtm->dataCallback != NULL) && (chaseIdx != UINT32_MA… in SRTM_PdmSdmaAdapter_RxTransferProc()
451 bufAddr = rtm->localBuf.buf + chaseIdx * rtm->localRtm.periodSize; in SRTM_PdmSdmaAdapter_RxTransferProc()
[all …]