Searched refs:bufRtm (Results 1 – 2 of 2) sorted by relevance
48 struct _srtm_pdm_sdma_buf_runtime bufRtm; member81 struct _srtm_pdm_sdma_buf_runtime bufRtm; /* buffer provided by audio client. */ member179 (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() local224 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 …]
57 struct _srtm_sai_sdma_buf_runtime bufRtm; member82 struct _srtm_sai_sdma_buf_runtime bufRtm; /* buffer provided by audio client. */ member200 (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() local261 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 …]