Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_pdm_sdma_adapter.c47 uint32_t periodSize; member
72 uint32_t periodSize; member
190 rtm->localRtm.periodSize = rtm->localBuf.bufSize / rtm->localBuf.periods; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()
191 rtm->localRtm.periodSize = rtm->localRtm.periodSize / bytePerSample * bytePerSample; 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()
226 xfer.dataSize = rtm->localRtm.periodSize; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
227 xfer.data = rtm->localBuf.buf + bufRtm->loadIdx * rtm->localRtm.periodSize; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
242 count = rtm->periodSize - bufRtm->offset; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
246 xfer.data = rtm->bufAddr + bufRtm->loadIdx * rtm->periodSize + bufRtm->offset; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()
[all …]
Dsrtm_sai_sdma_adapter.c56 uint32_t periodSize; member
72 uint32_t periodSize; member
207 n = (rtm->periodSize + maxPeriodSize - 1U) / maxPeriodSize; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
209 rtm->localRtm.periodSize = in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
210 ((rtm->periodSize + n - 1U) / n + SRTM_SAI_SDMA_MAX_LOCAL_PERIOD_ALIGNMENT_MASK) & in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
213 … rtm->localRtm.periodSize = (rtm->localRtm.periodSize + alignment - 1U) / alignment * alignment; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
214 if (rtm->localRtm.periodSize > maxPeriodSize) in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
216 rtm->localRtm.periodSize -= alignment; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
230 rtm->localRtm.periodSize = rtm->localBuf.bufSize / rtm->localBuf.periods; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
231 rtm->localRtm.periodSize = rtm->localRtm.periodSize / alignment * alignment; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()
[all …]
Dsrtm_audio_service.h110 uint32_t periodSize,
157 uint32_t periodSize; member
Dsrtm_audio_service.c389 … audioReq->bufSize, audioReq->periodSize, audioReq->periodIdx); in SRTM_AudioService_Request()
528 … audioReq->bufSize, audioReq->periodSize, audioReq->periodIdx); in SRTM_AudioService_Request()