Home
last modified time | relevance | path

Searched refs:service (Results 1 – 17 of 17) sorted by relevance

/hal_nxp-3.7.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_i2c_service.c38 struct _srtm_service service; member
42 static srtm_status_t SRTM_I2CService_Request(srtm_service_t service, srtm_request_t request);
43 static srtm_status_t SRTM_I2CService_Notify(srtm_service_t service, srtm_notification_t notif);
63 …srtm_service_t service, uint8_t busID, uint16_t slaveAddr, uint8_t *buf, uint16_t len, uint16_t fl… in SRTM_I2CService_ReadBus() argument
65 srtm_i2c_service_t handle = (srtm_i2c_service_t)(void *)service; in SRTM_I2CService_ReadBus()
102 …srtm_service_t service, uint8_t busID, uint16_t slaveAddr, uint8_t *buf, uint16_t len, uint16_t fl… in SRTM_I2CService_WriteBus() argument
104 srtm_i2c_service_t handle = (srtm_i2c_service_t)(void *)service; in SRTM_I2CService_WriteBus()
148 adapter->service = &handle->service; in SRTM_I2CService_Create()
151 SRTM_List_Init(&handle->service.node); in SRTM_I2CService_Create()
152 handle->service.dispatcher = NULL; in SRTM_I2CService_Create()
[all …]
Dsrtm_audio_service.c79 struct _srtm_service service; member
158 (void)SRTM_Dispatcher_DeliverNotification(handle->service.dispatcher, notif); in SRTM_AudioService_HandlePeriodDone()
175 static srtm_status_t SRTM_AudioService_PeriodDone(srtm_service_t service, in SRTM_AudioService_PeriodDone() argument
180 srtm_audio_service_t handle = (srtm_audio_service_t)(void *)service; in SRTM_AudioService_PeriodDone()
209 proc->procMsg.param1 = service; in SRTM_AudioService_PeriodDone()
211 status = SRTM_Dispatcher_PostProc(service->dispatcher, proc); in SRTM_AudioService_PeriodDone()
223 static srtm_status_t SRTM_AudioService_Request(srtm_service_t service, srtm_request_t request) in SRTM_AudioService_Request() argument
226 srtm_audio_service_t handle = (srtm_audio_service_t)(void *)service; in SRTM_AudioService_Request()
240 assert(service->dispatcher != NULL); in SRTM_AudioService_Request()
259 status = SRTM_Service_CheckVersion(service, request, SRTM_AUDIO_VERSION); in SRTM_AudioService_Request()
[all …]
Dsrtm_audio_service.h87 srtm_service_t service; member
90 …srtm_status_t (*periodDone)(srtm_service_t service, srtm_audio_dir_t dir, uint8_t index, uint32_t …
183 void SRTM_AudioService_Destroy(srtm_service_t service);
192 void SRTM_AudioService_Reset(srtm_service_t service, srtm_peercore_t core);
201 srtm_status_t SRTM_AudioService_BindChannel(srtm_service_t service, srtm_sai_adapter_t sai, srtm_ch…
209 srtm_status_t SRTM_AudioService_AddAudioInterface(srtm_service_t service, srtm_sai_adapter_t sai);
Dsrtm_i2c_service.h114 srtm_service_t service; member
158 void SRTM_I2CService_Destroy(srtm_service_t service);
166 void SRTM_I2CService_Reset(srtm_service_t service, srtm_peercore_t core);
172 srtm_service_t service, uint8_t busID, uint16_t slaveAddr, uint8_t *buf, uint16_t len);
178 …srtm_service_t service, uint8_t busID, uint16_t slaveAddr, uint8_t *buf, uint16_t len, uint8_t nee…
Dsrtm_pdm_sdma_adapter.c345 if ((adapter->service != NULL) && (adapter->periodDone != NULL)) in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
347 … (void)adapter->periodDone(adapter->service, SRTM_AudioDirRx, handle->index, rtm->bufRtm.chaseIdx); in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify()
377 if ((adapter->service != NULL) && (proc != NULL)) in SRTM_PdmSdmaAdapter_CopyData()
379 (void)SRTM_Dispatcher_PostProc(adapter->service->dispatcher, proc); in SRTM_PdmSdmaAdapter_CopyData()
615 if ((adapter->service != NULL) && (extProc != NULL)) in SRTM_PdmSdmaRxCallback()
617 (void)SRTM_Dispatcher_PostProc(adapter->service->dispatcher, extProc); in SRTM_PdmSdmaRxCallback()
654 if ((adapter->service != NULL) && (adapter->periodDone != NULL)) in SRTM_PdmSdmaRxCallback()
659 … (void)adapter->periodDone(adapter->service, SRTM_AudioDirRx, handle->index, rtm->bufRtm.chaseIdx); in SRTM_PdmSdmaRxCallback()
671 if ((adapter->service != NULL) && (rtm->proc != NULL)) in SRTM_PdmSdmaRxCallback()
675 (void)SRTM_Dispatcher_PostProc(adapter->service->dispatcher, rtm->proc); in SRTM_PdmSdmaRxCallback()
[all …]
Dsrtm_sai_sdma_adapter.c475 if ((adapter->service != NULL) && (adapter->periodDone != NULL)) in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify()
479 … (void)adapter->periodDone(adapter->service, SRTM_AudioDirRx, handle->index, rtm->bufRtm.chaseIdx); in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify()
510 if ((adapter->service != NULL) && (proc != NULL)) in SRTM_SaiSdmaAdapter_RxCopyData()
512 (void)SRTM_Dispatcher_PostProc(adapter->service->dispatcher, proc); in SRTM_SaiSdmaAdapter_RxCopyData()
680 if ((adapter->service != NULL) && (adapter->periodDone != NULL) && consumed && in SRTM_SaiSdmaTxCallback()
685 … (void)adapter->periodDone(adapter->service, SRTM_AudioDirTx, handle->index, rtm->bufRtm.chaseIdx); in SRTM_SaiSdmaTxCallback()
688 if ((adapter->service != NULL) && (rtm->proc != NULL)) in SRTM_SaiSdmaTxCallback()
691 (void)SRTM_Dispatcher_PostProc(adapter->service->dispatcher, rtm->proc); in SRTM_SaiSdmaTxCallback()
754 if ((adapter->service != NULL) && (adapter->periodDone != NULL)) in SRTM_SaiSdmaRxCallback()
759 … (void)adapter->periodDone(adapter->service, SRTM_AudioDirRx, handle->index, rtm->bufRtm.chaseIdx); in SRTM_SaiSdmaRxCallback()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/components/srtm/srtm/
Dsrtm_service.c30 void SRTM_Service_Destroy(srtm_service_t service) in SRTM_Service_Destroy() argument
32 assert(service); in SRTM_Service_Destroy()
33 assert(service->destroy); in SRTM_Service_Destroy()
34 service->destroy(service); in SRTM_Service_Destroy()
37 srtm_status_t SRTM_Service_Request(srtm_service_t service, srtm_request_t request) in SRTM_Service_Request() argument
39 assert(service); in SRTM_Service_Request()
40 assert(service->request); in SRTM_Service_Request()
42 return service->request(service, request); in SRTM_Service_Request()
45 srtm_status_t SRTM_Service_Notify(srtm_service_t service, srtm_notification_t notification) in SRTM_Service_Notify() argument
47 assert(service); in SRTM_Service_Notify()
[all …]
Dsrtm_dispatcher.c250 srtm_service_t service; in SRTM_Dispatcher_Destroy() local
275 service = SRTM_LIST_OBJ(srtm_service_t, node, list); in SRTM_Dispatcher_Destroy()
276 SRTM_Service_Destroy(service); in SRTM_Dispatcher_Destroy()
486 srtm_status_t SRTM_Dispatcher_RegisterService(srtm_dispatcher_t disp, srtm_service_t service) in SRTM_Dispatcher_RegisterService() argument
489 assert(service); in SRTM_Dispatcher_RegisterService()
492 SRTM_DEBUG_MESSAGE(SRTM_DEBUG_VERBOSE_INFO, "%s: %d\r\n", __func__, service->category); in SRTM_Dispatcher_RegisterService()
494 if (!SRTM_List_IsEmpty(&service->node)) in SRTM_Dispatcher_RegisterService()
500 SRTM_List_AddTail(&disp->services, &service->node); in SRTM_Dispatcher_RegisterService()
503 service->dispatcher = disp; in SRTM_Dispatcher_RegisterService()
508 srtm_status_t SRTM_Dispatcher_UnregisterService(srtm_dispatcher_t disp, srtm_service_t service) in SRTM_Dispatcher_UnregisterService() argument
[all …]
Dsrtm_service_struct.h27 void (*destroy)(srtm_service_t service);
28 srtm_status_t (*request)(srtm_service_t service, srtm_request_t request);
29 srtm_status_t (*notify)(srtm_service_t service, srtm_notification_t notification);
47 srtm_status_t SRTM_Service_CheckVersion(srtm_service_t service, srtm_message_t msg, uint16_t svcVer…
/hal_nxp-3.7.0/mcux/mcux-sdk/components/srtm/include/
Dsrtm_service.h35 void SRTM_Service_Destroy(srtm_service_t service);
44 srtm_status_t SRTM_Service_Request(srtm_service_t service, srtm_request_t request);
53 srtm_status_t SRTM_Service_Notify(srtm_service_t service, srtm_notification_t notification);
Dsrtm_dispatcher.h96 srtm_status_t SRTM_Dispatcher_RegisterService(srtm_dispatcher_t disp, srtm_service_t service);
105 srtm_status_t SRTM_Dispatcher_UnregisterService(srtm_dispatcher_t disp, srtm_service_t service);
/hal_nxp-3.7.0/mcux/mcux-sdk/components/power_manager/core/
Dfsl_pm_core.c544 …ource(pm_wakeup_source_t *ws, uint32_t wsId, pm_wake_up_source_service_func_t service, bool enable) in PM_InitWakeupSource() argument
554 ws->service = service; in PM_InitWakeupSource()
683 if (currWakeUpSource->service != NULL) in PM_HandleWakeUpEvent()
726 ws->service(); in PM_TriggerWakeSourceService()
Dfsl_pm_core.h195 …pm_wake_up_source_service_func_t service; /*! Wakeup source service function that should be execut… member
469 …urce(pm_wakeup_source_t *ws, uint32_t wsId, pm_wake_up_source_service_func_t service, bool enable);
/hal_nxp-3.7.0/mcux/mcux-sdk/components/power_manager/
DREADME.md341 …wakeup_source_t * ws, uint32_t wsId, pm_wake_up_source_service_func_t service, bool enable)**
347 service : The function to be invoked when wake up source asserted.
378 If the specific wakeup event occurs, invoke this API to execute its service function.
/hal_nxp-3.7.0/mcux/mcux-sdk/CMSIS/
DLICENSE.txt139 names, trademarks, service marks, or product names of the Licensor,
/hal_nxp-3.7.0/mcux/mcux-sdk/
DLA_OPT_NXP_Software_License.txt92 …ny other agreement with AWS, (b) fail to make timely payment for any AWS service, (c) fail to impl…
/hal_nxp-3.7.0/zephyr/blobs/license/
DLA_OPT_NXP_Software_License.txt92 …ny other agreement with AWS, (b) fail to make timely payment for any AWS service, (c) fail to impl…