Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_sai_sdma_adapter.c39 …uint32_t loadIdx; /* used to indicate period index preloaded either to DMA transfer or to… member
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()
294 xfer.data = rtm->bufAddr + bufRtm->loadIdx * rtm->periodSize + bufRtm->offset; in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
319 xfer.data = rtm->bufAddr + bufRtm->loadIdx * rtm->periodSize + bufRtm->offset; in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
341 bufRtm->loadIdx = (bufRtm->loadIdx + 1U) % rtm->periods; in SRTM_SaiSdmaAdapter_PeriodTransferSDMA()
392 src = rtm->bufAddr + srcRtm->loadIdx * rtm->periodSize; in SRTM_SaiSdmaAdapter_CopyData()
404 rtm->localRtm.periodsInfo[dstRtm->leadIdx].endRemoteIdx = srcRtm->loadIdx; in SRTM_SaiSdmaAdapter_CopyData()
405 … srcRtm->loadIdx = (srcRtm->loadIdx + 1U) % rtm->periods; in SRTM_SaiSdmaAdapter_CopyData()
[all …]
Dsrtm_pdm_sdma_adapter.c39 …uint32_t loadIdx; /* used to indicate period index preloaded either to DMA transfer or to… member
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()
246 xfer.data = rtm->bufAddr + bufRtm->loadIdx * rtm->periodSize + bufRtm->offset; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
261 xfer.data = rtm->bufAddr + bufRtm->loadIdx * rtm->periodSize + bufRtm->offset; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
272 bufRtm->loadIdx = (bufRtm->loadIdx + 1U) % rtm->periods; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
825 thisRtm->bufRtm.loadIdx = thisRtm->bufRtm.chaseIdx; in SRTM_PdmSdmaAdapter_Start()