Searched refs:newPeriods (Results 1 – 2 of 2) sorted by relevance
519 uint32_t newPeriods; in SRTM_SaiSdmaAdapter_AddNewPeriods() local524 newPeriods = (periodIdx + rtm->periods - bufRtm->leadIdx) % rtm->periods; in SRTM_SaiSdmaAdapter_AddNewPeriods()525 if (newPeriods == 0U) /* in case buffer is empty and filled all */ in SRTM_SaiSdmaAdapter_AddNewPeriods()527 newPeriods = rtm->periods; in SRTM_SaiSdmaAdapter_AddNewPeriods()532 bufRtm->remainingPeriods += newPeriods; in SRTM_SaiSdmaAdapter_AddNewPeriods()534 bufRtm->remainingLoadPeriods += newPeriods; in SRTM_SaiSdmaAdapter_AddNewPeriods()
392 uint32_t newPeriods; in SRTM_PdmSdmaAdapter_AddNewPeriods() local397 newPeriods = (periodIdx + rtm->periods - bufRtm->leadIdx) % rtm->periods; in SRTM_PdmSdmaAdapter_AddNewPeriods()398 if (newPeriods == 0U) /* In case buffer is empty and filled all. */ in SRTM_PdmSdmaAdapter_AddNewPeriods()400 newPeriods = rtm->periods; in SRTM_PdmSdmaAdapter_AddNewPeriods()405 bufRtm->remainingPeriods += newPeriods; in SRTM_PdmSdmaAdapter_AddNewPeriods()407 bufRtm->remainingLoadPeriods += newPeriods; in SRTM_PdmSdmaAdapter_AddNewPeriods()