Home
last modified time | relevance | path

Searched refs:sgtl_handle_t (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/port/sgtl5000/
Dfsl_codec_sgtl_adapter.c72sgtl_handle_t *devHandle = (sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle… in HAL_CODEC_SGTL5000_Init()
90 return SGTL_Deinit((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle))); in HAL_CODEC_SGTL5000_Deinit()
106 …return SGTL_ConfigDataFormat((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHand… in HAL_CODEC_SGTL5000_SetFormat()
129 … ret = SGTL_SetMute((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle)), in HAL_CODEC_SGTL5000_SetVolume()
138 … ret = SGTL_SetVolume((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle)), in HAL_CODEC_SGTL5000_SetVolume()
142 … ret = SGTL_SetMute((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle)), in HAL_CODEC_SGTL5000_SetVolume()
152 … ret = SGTL_SetMute((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle)), in HAL_CODEC_SGTL5000_SetVolume()
160 … ret = SGTL_SetVolume((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle)), in HAL_CODEC_SGTL5000_SetVolume()
164 … ret = SGTL_SetMute((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle)), in HAL_CODEC_SGTL5000_SetVolume()
189 …retVal = SGTL_SetMute((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle)), k… in HAL_CODEC_SGTL5000_SetMute()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/sgtl5000/
Dfsl_sgtl5000.h865 } sgtl_handle_t; typedef
894 status_t SGTL_Init(sgtl_handle_t *handle, sgtl_config_t *config);
906 status_t SGTL_SetDataRoute(sgtl_handle_t *handle, sgtl_route_t route);
915 status_t SGTL_SetProtocol(sgtl_handle_t *handle, sgtl_protocol_t protocol);
923 void SGTL_SetMasterSlave(sgtl_handle_t *handle, bool master);
940 status_t SGTL_SetVolume(sgtl_handle_t *handle, sgtl_module_t module, uint32_t volume);
951 uint32_t SGTL_GetVolume(sgtl_handle_t *handle, sgtl_module_t module);
960 status_t SGTL_SetMute(sgtl_handle_t *handle, sgtl_module_t module, bool mute);
967 status_t SGTL_EnableModule(sgtl_handle_t *handle, sgtl_module_t module);
974 status_t SGTL_DisableModule(sgtl_handle_t *handle, sgtl_module_t module);
[all …]
Dfsl_sgtl5000.c29 status_t SGTL_Init(sgtl_handle_t *handle, sgtl_config_t *config) in SGTL_Init()
145 status_t SGTL_Deinit(sgtl_handle_t *handle) in SGTL_Deinit()
161 void SGTL_SetMasterSlave(sgtl_handle_t *handle, bool master) in SGTL_SetMasterSlave()
173 status_t SGTL_EnableModule(sgtl_handle_t *handle, sgtl_module_t module) in SGTL_EnableModule()
219 status_t SGTL_DisableModule(sgtl_handle_t *handle, sgtl_module_t module) in SGTL_DisableModule()
265 status_t SGTL_SetDataRoute(sgtl_handle_t *handle, sgtl_route_t route) in SGTL_SetDataRoute()
335 status_t SGTL_SetProtocol(sgtl_handle_t *handle, sgtl_protocol_t protocol) in SGTL_SetProtocol()
373 status_t SGTL_SetVolume(sgtl_handle_t *handle, sgtl_module_t module, uint32_t volume) in SGTL_SetVolume()
420 uint32_t SGTL_GetVolume(sgtl_handle_t *handle, sgtl_module_t module) in SGTL_GetVolume()
450 status_t SGTL_SetMute(sgtl_handle_t *handle, sgtl_module_t module, bool mute) in SGTL_SetMute()
[all …]