Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_pdm_sdma_adapter.c48 struct _srtm_pdm_sdma_buf_runtime bufRtm; member
81 struct _srtm_pdm_sdma_buf_runtime bufRtm; /* buffer provided by audio client. */ member
179 (void)memset(&rtm->localRtm.bufRtm, 0, sizeof(struct _srtm_pdm_sdma_buf_runtime)); 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()
212 srtm_pdm_sdma_buf_runtime_t bufRtm; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA() local
224 bufRtm = &rtm->localRtm.bufRtm; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
227 xfer.data = rtm->localBuf.buf + bufRtm->loadIdx * rtm->localRtm.periodSize; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
235 bufRtm->loadIdx = (bufRtm->loadIdx + 1U) % rtm->localBuf.periods; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
236 bufRtm->remainingLoadPeriods--; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
[all …]
Dsrtm_sai_sdma_adapter.c57 struct _srtm_sai_sdma_buf_runtime bufRtm; member
82 struct _srtm_sai_sdma_buf_runtime bufRtm; /* buffer provided by audio client. */ member
200 (void)memset(&rtm->localRtm.bufRtm, 0, sizeof(struct _srtm_sai_sdma_buf_runtime)); 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()
256 srtm_sai_sdma_buf_runtime_t bufRtm; in SRTM_SaiSdmaAdapter_PeriodTransferSDMA() local
261 bufRtm = &rtm->localRtm.bufRtm; in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
264 xfer.dataSize = rtm->localRtm.periodsInfo[bufRtm->loadIdx].dataSize; in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
265 xfer.data = rtm->localBuf.buf + bufRtm->loadIdx * rtm->localRtm.periodSize; in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
282 bufRtm->loadIdx = (bufRtm->loadIdx + 1U) % rtm->localBuf.periods; in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
[all …]