Searched refs:localRtm (Results 1 – 2 of 2) sorted by relevance
85 struct _srtm_sai_sdma_local_runtime localRtm; /* buffer set by application. */ member200 (void)memset(&rtm->localRtm.bufRtm, 0, sizeof(struct _srtm_sai_sdma_buf_runtime)); in SRTM_SaiSdmaAdaptor_ResetLocalBuf()209 rtm->localRtm.periodSize = 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()221 rtm->localRtm.periodsInfo[i].dataSize = 0U; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()222 rtm->localRtm.periodsInfo[i].endRemoteIdx = UINT32_MAX; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()223 rtm->localRtm.periodsInfo[i].remoteIdx = 0U; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()224 rtm->localRtm.periodsInfo[i].remoteOffset = 0U; in SRTM_SaiSdmaAdaptor_ResetLocalBuf()[all …]
83 struct _srtm_pdm_sdma_local_runtime localRtm; /* buffer set by application. */ member179 (void)memset(&rtm->localRtm.bufRtm, 0, sizeof(struct _srtm_pdm_sdma_buf_runtime)); in SRTM_PdmSdmaAdaptor_ResetLocalBuf()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()201 rtm->localRtm.bufRtm.remainingLoadPeriods = rtm->localBuf.periods; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()202 rtm->localRtm.bufRtm.remainingPeriods = rtm->localBuf.periods; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()224 bufRtm = &rtm->localRtm.bufRtm; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()226 xfer.dataSize = rtm->localRtm.periodSize; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA()[all …]