Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 7 of 7) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_sai_sdma_adapter.c81 srtm_procedure_t proc; /* proc message to trigger DMA transfer in SRTM context. */ member
171 assert(handle->txRtm.proc == NULL); in SRTM_SaiSdmaAdapter_RecycleTxMessage()
173 handle->txRtm.proc = msg; in SRTM_SaiSdmaAdapter_RecycleTxMessage()
180 assert(handle->rxRtm.proc == NULL); in SRTM_SaiSdmaAdapter_RecycleRxMessage()
182 handle->rxRtm.proc = msg; in SRTM_SaiSdmaAdapter_RecycleRxMessage()
500 srtm_procedure_t proc; in SRTM_SaiSdmaAdapter_RxCopyData() local
507 proc = SRTM_Procedure_Create(SRTM_SaiSdmaAdapter_RxDataCopyProc, handle, NULL); in SRTM_SaiSdmaAdapter_RxCopyData()
508 if ((adapter->service != NULL) && (proc != NULL)) in SRTM_SaiSdmaAdapter_RxCopyData()
510 (void)SRTM_Dispatcher_PostProc(adapter->service->dispatcher, proc); in SRTM_SaiSdmaAdapter_RxCopyData()
686 if ((adapter->service != NULL) && (rtm->proc != NULL)) in SRTM_SaiSdmaTxCallback()
[all …]
Dsrtm_pdm_sdma_adapter.c80 srtm_procedure_t proc; /* proc message to trigger DMA transfer in SRTM context. */ member
168 assert(handle->rxRtm.proc == NULL); in SRTM_PdmSdmaAdapter_RecycleRxMessage()
170 handle->rxRtm.proc = msg; in SRTM_PdmSdmaAdapter_RecycleRxMessage()
374 srtm_procedure_t proc; in SRTM_PdmSdmaAdapter_CopyData() local
381 proc = SRTM_Procedure_Create(SRTM_PdmSdmaAdapter_DataCopyProc, handle, NULL); in SRTM_PdmSdmaAdapter_CopyData()
382 if ((adapter->service != NULL) && (proc != NULL)) in SRTM_PdmSdmaAdapter_CopyData()
384 (void)SRTM_Dispatcher_PostProc(adapter->service->dispatcher, proc); in SRTM_PdmSdmaAdapter_CopyData()
676 if ((adapter->service != NULL) && (rtm->proc != NULL)) in SRTM_PdmSdmaRxCallback()
678 rtm->proc->procMsg.param2 = (void *)(uint8_t *)chaseIdx; in SRTM_PdmSdmaRxCallback()
680 (void)SRTM_Dispatcher_PostProc(adapter->service->dispatcher, rtm->proc); in SRTM_PdmSdmaRxCallback()
[all …]
Dsrtm_audio_service.c184 srtm_procedure_t proc = NULL; in SRTM_AudioService_PeriodDone() local
194 proc = SRTM_LIST_OBJ(srtm_procedure_t, node, list); in SRTM_AudioService_PeriodDone()
198 assert(proc != NULL); /* For debugging the shortage of procedure messages */ in SRTM_AudioService_PeriodDone()
200 if (proc == NULL) in SRTM_AudioService_PeriodDone()
206 proc->channel = iface->channel; in SRTM_AudioService_PeriodDone()
207 proc->procMsg.cb = in SRTM_AudioService_PeriodDone()
209 proc->procMsg.param1 = service; in SRTM_AudioService_PeriodDone()
210proc->procMsg.param2 = (void *)(uint8_t *)((((uint32_t)index) << 24U) | (periodIdx & 0xFFFFFFU)); in SRTM_AudioService_PeriodDone()
211 status = SRTM_Dispatcher_PostProc(service->dispatcher, proc); in SRTM_AudioService_PeriodDone()
690 srtm_procedure_t proc; in SRTM_AudioService_CreateIface() local
[all …]
Dsrtm_i2c_service.c286 srtm_procedure_t proc; in SRTM_I2C_RequestBusRead() local
300 proc = SRTM_Procedure_Create(SRTM_I2C_HandleBusRead, i2cReq, service); in SRTM_I2C_RequestBusRead()
301 …(void)SRTM_Dispatcher_CallProc(service->dispatcher, proc, SRTM_WAIT_FOR_EVER); /*synchronized call… in SRTM_I2C_RequestBusRead()
310 SRTM_Procedure_Destroy(proc); in SRTM_I2C_RequestBusRead()
322 srtm_procedure_t proc; in SRTM_I2C_RequestBusWrite() local
338 proc = SRTM_Procedure_Create(SRTM_I2C_HandleBusWrite, i2cReq, service); in SRTM_I2C_RequestBusWrite()
339 …(void)SRTM_Dispatcher_CallProc(service->dispatcher, proc, SRTM_WAIT_FOR_EVER); /*synchronized call… in SRTM_I2C_RequestBusWrite()
347 SRTM_Procedure_Destroy(proc); in SRTM_I2C_RequestBusWrite()
/hal_nxp-3.5.0/imx/drivers/
Dsema4.c106 uint8_t proc; in SEMA4_GetLockProcessor() local
112 proc = (*gate & SEMA4_GATE00_GTFSM_MASK) >> SEMA4_GATE00_GTFSM_SHIFT; in SEMA4_GetLockProcessor()
114 return proc == 0 ? SEMA4_PROCESSOR_NONE : proc - 1; in SEMA4_GetLockProcessor()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/srtm/
Dsrtm_dispatcher.c672 srtm_status_t SRTM_Dispatcher_CallProc(srtm_dispatcher_t disp, srtm_procedure_t proc, uint32_t time… in SRTM_Dispatcher_CallProc() argument
681 assert(proc); in SRTM_Dispatcher_CallProc()
695 proc->procMsg.sig = signal; in SRTM_Dispatcher_CallProc()
696 SRTM_Dispatcher_QueueMessage(disp, proc); in SRTM_Dispatcher_CallProc()
702 while (SRTM_Dispatcher_DequeueMessage(disp, proc) != SRTM_Status_Success) in SRTM_Dispatcher_CallProc()
715 proc->procMsg.sig = NULL; in SRTM_Dispatcher_CallProc()
720 srtm_status_t SRTM_Dispatcher_PostProc(srtm_dispatcher_t disp, srtm_procedure_t proc) in SRTM_Dispatcher_PostProc() argument
723 assert(proc); in SRTM_Dispatcher_PostProc()
725 proc->procMsg.sig = NULL; in SRTM_Dispatcher_PostProc()
726 SRTM_Dispatcher_QueueMessage(disp, proc); in SRTM_Dispatcher_PostProc()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/include/
Dsrtm_dispatcher.h192 srtm_status_t SRTM_Dispatcher_CallProc(srtm_dispatcher_t disp, srtm_procedure_t proc, uint32_t time…
205 srtm_status_t SRTM_Dispatcher_PostProc(srtm_dispatcher_t disp, srtm_procedure_t proc);