Searched refs:srtm_sai_adapter_t (Results 1 – 6 of 6) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/ |
D | srtm_audio_service.h | 74 typedef struct _srtm_sai_adapter *srtm_sai_adapter_t; typedef 93 srtm_status_t (*open)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 94 srtm_status_t (*start)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 95 srtm_status_t (*pause)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 96 srtm_status_t (*restart)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 97 srtm_status_t (*stop)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 98 srtm_status_t (*close)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 99 srtm_status_t (*setParam)(srtm_sai_adapter_t adapter, 105 srtm_status_t (*setBuf)(srtm_sai_adapter_t adapter, 112 srtm_status_t (*suspend)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); [all …]
|
D | srtm_pdm_sdma_adapter.h | 112 typedef void (*srtm_pdm_sdma_hwvad_callback_t)(srtm_sai_adapter_t adapter, void *params); 118 typedef void (*srtm_pdm_sdma_data_callback_t)(srtm_sai_adapter_t adapter, void *data, uint32_t byte… 135 srtm_sai_adapter_t SRTM_PdmSdmaAdapter_Create(PDM_Type *pdm, SDMAARM_Type *dma, srtm_pdm_sdma_confi… 142 void SRTM_PdmSdmaAdapter_Destroy(srtm_sai_adapter_t adapter); 149 void SRTM_PdmSdmaAdapter_GetAudioServiceState(srtm_sai_adapter_t adapter, srtm_audio_state_t *pRxSt… 160 void SRTM_PdmSdmaAdapter_SetRxLocalBuf(srtm_sai_adapter_t adapter, srtm_pdm_sdma_local_buf_t *local… 173 void SRTM_PdmSdmaAdapter_SetRxExtBuf(srtm_sai_adapter_t adapter, srtm_pdm_sdma_ext_buf_t *extBuf); 185 void SRTM_PdmSdmaAdapter_SetDataHandlerOnHostSuspend(srtm_sai_adapter_t adapter, 194 void SRTM_PdmSdmaAdapter_ResumeHost(srtm_sai_adapter_t adapter); 201 srtm_audio_format_type_t SRTM_PdmSdmaAdapter_GetDataFormat(srtm_sai_adapter_t adapter); [all …]
|
D | srtm_sai_sdma_adapter.h | 86 typedef void (*srtm_sai_sdma_data_callback_t)(srtm_sai_adapter_t adapter, void *data, uint32_t byte… 105 srtm_sai_adapter_t SRTM_SaiSdmaAdapter_Create(I2S_Type *sai, 115 void SRTM_SaiSdmaAdapter_Destroy(srtm_sai_adapter_t adapter); 127 void SRTM_SaiSdmaAdapter_SetTxLocalBuf(srtm_sai_adapter_t adapter, srtm_sai_sdma_local_buf_t *local… 139 void SRTM_SaiSdmaAdapter_SetRxLocalBuf(srtm_sai_adapter_t adapter, srtm_sai_sdma_local_buf_t *local… 149 void SRTM_SaiSdmaAdapter_GetAudioServiceState(srtm_sai_adapter_t adapter, 163 void SRTM_SaiSdmaAdapter_SetDataHandlerOnHostSuspend(srtm_sai_adapter_t adapter, 174 void SRTM_SaiSdmaAdapter_ResumeHost(srtm_sai_adapter_t adapter);
|
D | srtm_pdm_sdma_adapter.c | 147 void SRTM_PdmSdmaAdapter_GetAudioServiceState(srtm_sai_adapter_t adapter, srtm_audio_state_t *pRxSt… in SRTM_PdmSdmaAdapter_GetAudioServiceState() 304 srtm_sai_adapter_t adapter = &handle->adapter; in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify() 368 srtm_sai_adapter_t adapter = &handle->adapter; in SRTM_PdmSdmaAdapter_CopyData() 442 srtm_sai_adapter_t adapter = &handle->adapter; in SRTM_PdmSdmaAdapter_RxTransferProc() 586 srtm_sai_adapter_t adapter = &handle->adapter; in SRTM_PdmSdmaRxCallback() 755 static srtm_status_t SRTM_PdmSdmaAdapter_Open(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uin… in SRTM_PdmSdmaAdapter_Open() 781 static srtm_status_t SRTM_PdmSdmaAdapter_Start(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, ui… in SRTM_PdmSdmaAdapter_Start() 843 static srtm_status_t SRTM_PdmSdmaAdapter_End(srtm_sai_adapter_t adapter, uint8_t index, bool stop) in SRTM_PdmSdmaAdapter_End() 882 static srtm_status_t SRTM_PdmSdmaAdapter_Stop(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uin… in SRTM_PdmSdmaAdapter_Stop() 889 static srtm_status_t SRTM_PdmSdmaAdapter_Close(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, ui… in SRTM_PdmSdmaAdapter_Close() [all …]
|
D | srtm_sai_sdma_adapter.c | 140 void SRTM_SaiSdmaAdapter_GetAudioServiceState(srtm_sai_adapter_t adapter, in SRTM_SaiSdmaAdapter_GetAudioServiceState() 428 srtm_sai_adapter_t adapter = &handle->adapter; in SRTM_SaiSdmaAdapter_RxPeriodCopyAndNotify() 494 srtm_sai_adapter_t adapter = &handle->adapter; in SRTM_SaiSdmaAdapter_RxCopyData() 594 srtm_sai_adapter_t adapter = &handle->adapter; in SRTM_SaiSdmaAdapter_RxTransferProc() 628 srtm_sai_adapter_t adapter = &handle->adapter; in SRTM_SaiSdmaTxCallback() 708 srtm_sai_adapter_t adapter = &handle->adapter; in SRTM_SaiSdmaRxCallback() 834 static void SRTM_SaiSdmaAdapter_ReconfigSAI(srtm_sai_adapter_t adapter, in SRTM_SaiSdmaAdapter_ReconfigSAI() 956 static srtm_status_t SRTM_SaiSdmaAdapter_Open(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uin… in SRTM_SaiSdmaAdapter_Open() 991 static srtm_status_t SRTM_SaiSdmaAdapter_Start(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, ui… in SRTM_SaiSdmaAdapter_Start() 1141 static srtm_status_t SRTM_SaiSdmaAdapter_End(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint… in SRTM_SaiSdmaAdapter_End() [all …]
|
D | srtm_audio_service.c | 88 srtm_sai_adapter_t sai; 106 …ce_t SRTM_AudioService_FindInterfaceByAdapter(srtm_audio_service_t handle, srtm_sai_adapter_t sai); 228 srtm_sai_adapter_t sai; in SRTM_AudioService_Request() 629 srtm_sai_adapter_t sai; in SRTM_AudioService_Notify() 686 srtm_sai_adapter_t sai, in SRTM_AudioService_CreateIface() 782 …ace_t SRTM_AudioService_FindInterfaceByAdapter(srtm_audio_service_t handle, srtm_sai_adapter_t sai) in SRTM_AudioService_FindInterfaceByAdapter() 801 srtm_service_t SRTM_AudioService_Create(srtm_sai_adapter_t sai, srtm_codec_adapter_t codec) in SRTM_AudioService_Create() 877 srtm_status_t SRTM_AudioService_BindChannel(srtm_service_t service, srtm_sai_adapter_t sai, srtm_ch… in SRTM_AudioService_BindChannel() 899 srtm_status_t SRTM_AudioService_AddAudioInterface(srtm_service_t service, srtm_sai_adapter_t sai) in SRTM_AudioService_AddAudioInterface()
|