Home
last modified time | relevance | path

Searched refs:periods (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_pdm_sdma_adapter.c73 uint32_t periods; member
190 rtm->localRtm.periodSize = rtm->localBuf.bufSize / rtm->localBuf.periods; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()
198 rtm->localBuf.periods = rtm->localBuf.bufSize / rtm->localRtm.periodSize; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()
201 rtm->localRtm.bufRtm.remainingLoadPeriods = rtm->localBuf.periods; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()
202 rtm->localRtm.bufRtm.remainingPeriods = rtm->localBuf.periods; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()
235 bufRtm->loadIdx = (bufRtm->loadIdx + 1U) % rtm->localBuf.periods; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
272 bufRtm->loadIdx = (bufRtm->loadIdx + 1U) % rtm->periods; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
315 if ((srcRtm->remainingPeriods != rtm->localBuf.periods) && (dstRtm->remainingPeriods != 0U)) in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
329 srcRtm->leadIdx = (srcRtm->leadIdx + 1U) % rtm->localBuf.periods; in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
340 dstRtm->chaseIdx = (dstRtm->chaseIdx + 1U) % rtm->periods; in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
[all …]
Dsrtm_sai_sdma_adapter.c73 uint32_t periods; member
202 …(rtm->localBuf.bufSize / rtm->localBuf.periods) & (~SRTM_SAI_SDMA_MAX_LOCAL_PERIOD_ALIGNMENT_MASK); in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
230 rtm->localRtm.periodSize = rtm->localBuf.bufSize / rtm->localBuf.periods; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
233 rtm->localRtm.bufRtm.remainingLoadPeriods = rtm->localBuf.periods; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
234 rtm->localRtm.bufRtm.remainingPeriods = rtm->localBuf.periods; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
282 bufRtm->loadIdx = (bufRtm->loadIdx + 1U) % rtm->localBuf.periods; in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
341 bufRtm->loadIdx = (bufRtm->loadIdx + 1U) % rtm->periods; in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
390 …while ((srcRtm->remainingLoadPeriods != 0U) && ((rtm->localBuf.periods - dstRtm->remainingPeriods)… in SRTM_SaiSdmaAdapter_CopyData()
405 … srcRtm->loadIdx = (srcRtm->loadIdx + 1U) % rtm->periods; in SRTM_SaiSdmaAdapter_CopyData()
416 …->leadIdx = (dstRtm->leadIdx + 1U) % rtm->localBuf.periods; in SRTM_SaiSdmaAdapter_CopyData()
[all …]
Dsrtm_pdm_sdma_adapter.h72 uint32_t periods; /*!< periods in local buffer */ member
85 …uint32_t periods; /*!< periods in the buffer, it will be recalculated by the driver using given bu… member
Dsrtm_sai_sdma_adapter.h76 uint32_t periods; /* periods in local buffer */ member