Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_pdm_sdma_adapter.c40 uint32_t remainingPeriods; /* periods to be consumed/filled */ member
202 rtm->localRtm.bufRtm.remainingPeriods = rtm->localBuf.periods; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()
315 if ((srcRtm->remainingPeriods != rtm->localBuf.periods) && (dstRtm->remainingPeriods != 0U)) in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
332 srcRtm->remainingPeriods++; in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
341 …dstRtm->remainingPeriods--; /* Now one of the remote buffer has been consumed. Assume the ready pe… in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
379 if ((srcRtm->remainingPeriods != rtm->localBuf.periods) && (dstRtm->remainingPeriods != 0U)) in SRTM_PdmSdmaAdapter_CopyData()
405 bufRtm->remainingPeriods += newPeriods; in SRTM_PdmSdmaAdapter_AddNewPeriods()
419 if ((rtm->localRtm.bufRtm.remainingPeriods < rtm->localBuf.periods) && in SRTM_PdmSdmaAdapter_Transfer()
431 if (rtm->freeRun && (rtm->bufRtm.remainingPeriods < rtm->periods)) in SRTM_PdmSdmaAdapter_Transfer()
483 rtm->extBufRtm.bufRtm.remainingPeriods = rtm->extBuf.periods; in SRTM_PdmSdmaAdaptor_ResetExtBuf()
[all …]
Dsrtm_sai_sdma_adapter.c40 uint32_t remainingPeriods; /* periods to be consumed/filled */ member
234 rtm->localRtm.bufRtm.remainingPeriods = rtm->localBuf.periods; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
390 …(srcRtm->remainingLoadPeriods != 0U) && ((rtm->localBuf.periods - dstRtm->remainingPeriods) != 0U)) in SRTM_SaiSdmaAdapter_CopyData()
417 dstRtm->remainingPeriods++; in SRTM_SaiSdmaAdapter_CopyData()
439 if ((srcRtm->remainingPeriods != rtm->localBuf.periods) && (dstRtm->remainingPeriods != 0U)) in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify()
456 srcRtm->remainingPeriods++; in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify()
465 …dstRtm->remainingPeriods--; /* Now one of the remote buffer has been consumed. Assume the ready pe… in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify()
505 if ((srcRtm->remainingPeriods != rtm->localBuf.periods) && (dstRtm->remainingPeriods != 0U)) in SRTM_SaiSdmaAdapter_RxCopyData()
532 bufRtm->remainingPeriods += newPeriods; in SRTM_SaiSdmaAdapter_AddNewPeriods()
548 …if ((dir == SRTM_AudioDirTx) && (rtm->localRtm.bufRtm.remainingPeriods <= rtm->localBuf.threshold)) in SRTM_SaiSdmaAdapter_Transfer()
[all …]