Searched refs:periodIdx (Results 1 – 4 of 4) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/ |
D | srtm_audio_service.h | 90 …s_t (*periodDone)(srtm_service_t service, srtm_audio_dir_t dir, uint8_t index, uint32_t periodIdx); 111 uint32_t periodIdx); 115 …*periodReady)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index, uint32_t periodIdx); 158 uint32_t periodIdx; member
|
D | srtm_audio_service.c | 135 uint32_t periodIdx = index & 0xFFFFFFU; in SRTM_AudioService_HandlePeriodDone() local 156 payload->periodIdx = periodIdx; in SRTM_AudioService_HandlePeriodDone() 178 uint32_t periodIdx) in SRTM_AudioService_PeriodDone() argument 210 … proc->procMsg.param2 = (void *)(uint8_t *)((((uint32_t)index) << 24U) | (periodIdx & 0xFFFFFFU)); in SRTM_AudioService_PeriodDone() 389 … audioReq->bufSize, audioReq->periodSize, audioReq->periodIdx); in SRTM_AudioService_Request() 528 … audioReq->bufSize, audioReq->periodSize, audioReq->periodIdx); in SRTM_AudioService_Request() 665 … status = sai->periodReady(sai, SRTM_AudioDirTx, iface->index, payload->periodIdx); in SRTM_AudioService_Notify() 671 … status = sai->periodReady(sai, SRTM_AudioDirRx, iface->index, payload->periodIdx); in SRTM_AudioService_Notify()
|
D | srtm_sai_sdma_adapter.c | 122 static void SRTM_SaiSdmaAdapter_AddNewPeriods(srtm_sai_sdma_runtime_t rtm, uint32_t periodIdx); 516 static void SRTM_SaiSdmaAdapter_AddNewPeriods(srtm_sai_sdma_runtime_t rtm, uint32_t periodIdx) in SRTM_SaiSdmaAdapter_AddNewPeriods() argument 522 assert(periodIdx < rtm->periods); in SRTM_SaiSdmaAdapter_AddNewPeriods() 524 newPeriods = (periodIdx + rtm->periods - bufRtm->leadIdx) % rtm->periods; in SRTM_SaiSdmaAdapter_AddNewPeriods() 530 bufRtm->leadIdx = periodIdx; in SRTM_SaiSdmaAdapter_AddNewPeriods() 1395 uint32_t periodIdx) in SRTM_SaiSdmaAdapter_SetBuf() argument 1406 saiDirection[dir], index, bufAddr, bufSize, periodSize, periodIdx); in SRTM_SaiSdmaAdapter_SetBuf() 1422 assert(periodIdx < rtm->periods); in SRTM_SaiSdmaAdapter_SetBuf() 1424 bufRtm->chaseIdx = periodIdx; in SRTM_SaiSdmaAdapter_SetBuf() 1425 bufRtm->leadIdx = periodIdx; in SRTM_SaiSdmaAdapter_SetBuf() [all …]
|
D | srtm_pdm_sdma_adapter.c | 131 static void SRTM_PdmSdmaAdapter_AddNewPeriods(srtm_pdm_sdma_runtime_t rtm, uint32_t periodIdx); 389 static void SRTM_PdmSdmaAdapter_AddNewPeriods(srtm_pdm_sdma_runtime_t rtm, uint32_t periodIdx) in SRTM_PdmSdmaAdapter_AddNewPeriods() argument 395 assert(periodIdx < rtm->periods); in SRTM_PdmSdmaAdapter_AddNewPeriods() 397 newPeriods = (periodIdx + rtm->periods - bufRtm->leadIdx) % rtm->periods; in SRTM_PdmSdmaAdapter_AddNewPeriods() 403 bufRtm->leadIdx = periodIdx; in SRTM_PdmSdmaAdapter_AddNewPeriods() 1009 uint32_t periodIdx) in SRTM_PdmSdmaAdapter_SetBuf() argument 1018 saiDirection[dir], index, bufAddr, bufSize, periodSize, periodIdx); in SRTM_PdmSdmaAdapter_SetBuf() 1043 assert(periodIdx < rtm->periods); in SRTM_PdmSdmaAdapter_SetBuf() 1045 bufRtm->chaseIdx = periodIdx; in SRTM_PdmSdmaAdapter_SetBuf() 1046 bufRtm->leadIdx = periodIdx; in SRTM_PdmSdmaAdapter_SetBuf() [all …]
|