Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_pdm_sdma_adapter.c82 srtm_pdm_sdma_local_buf_t localBuf; member
177 if (rtm->localBuf.buf != NULL) in SRTM_PdmSdmaAdaptor_ResetLocalBuf()
183 if (rtm->localBuf.samplesPerPeriod == 0U) in SRTM_PdmSdmaAdaptor_ResetLocalBuf()
190 rtm->localRtm.periodSize = rtm->localBuf.bufSize / rtm->localBuf.periods; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()
197 rtm->localRtm.periodSize = bytePerSample * rtm->localBuf.samplesPerPeriod; 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()
215 if (rtm->localBuf.buf == NULL) in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
222 if (rtm->localBuf.buf != NULL) in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
[all …]
Dsrtm_sai_sdma_adapter.c84 srtm_sai_sdma_local_buf_t localBuf; member
198 if (rtm->localBuf.buf != NULL) in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
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()
259 if (rtm->localBuf.buf != NULL) 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()
357 …srtm_sai_sdma_buf_runtime_t bufRtm = (rtm->localBuf.buf != NULL) ? &rtm->localRtm.bufRtm : &rtm->b… in SRTM_SaiSdmaAdapter_DmaTransfer()
[all …]
Dsrtm_sai_sdma_adapter.h127 …SRTM_SaiSdmaAdapter_SetTxLocalBuf(srtm_sai_adapter_t adapter, srtm_sai_sdma_local_buf_t *localBuf);
139 …SRTM_SaiSdmaAdapter_SetRxLocalBuf(srtm_sai_adapter_t adapter, srtm_sai_sdma_local_buf_t *localBuf);
Dsrtm_pdm_sdma_adapter.h160 …SRTM_PdmSdmaAdapter_SetRxLocalBuf(srtm_sai_adapter_t adapter, srtm_pdm_sdma_local_buf_t *localBuf);