Home
last modified time | relevance | path

Searched refs:uc_info (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/audio/msm8909/hal/audio_extn/
Dfm.c107 struct audio_usecase *uc_info; in fm_stop() local
122 uc_info = get_usecase_from_list(adev, USECASE_AUDIO_PLAYBACK_FM); in fm_stop()
123 if (uc_info == NULL) { in fm_stop()
130 disable_audio_route(adev, uc_info); in fm_stop()
133 disable_snd_device(adev, uc_info->out_snd_device); in fm_stop()
134 disable_snd_device(adev, uc_info->in_snd_device); in fm_stop()
136 list_remove(&uc_info->list); in fm_stop()
137 free(uc_info); in fm_stop()
146 struct audio_usecase *uc_info; in fm_start() local
151 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in fm_start()
[all …]
Dhfp.c133 struct audio_usecase *uc_info; in start_hfp() local
138 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in start_hfp()
140 if (!uc_info) in start_hfp()
143 uc_info->id = hfpmod.ucid; in start_hfp()
144 uc_info->type = PCM_HFP_CALL; in start_hfp()
145 uc_info->stream.out = adev->primary_output; in start_hfp()
146 uc_info->devices = adev->primary_output->devices; in start_hfp()
147 uc_info->in_snd_device = SND_DEVICE_NONE; in start_hfp()
148 uc_info->out_snd_device = SND_DEVICE_NONE; in start_hfp()
150 list_add_tail(&adev->usecase_list, &uc_info->list); in start_hfp()
[all …]
Dlisten.c136 void audio_extn_listen_update_stream_status(struct audio_usecase *uc_info, in audio_extn_listen_update_stream_status() argument
143 if (uc_info == NULL) { in audio_extn_listen_update_stream_status()
147 uc_id = uc_info->id; in audio_extn_listen_update_stream_status()
148 usecase_type = uc_info->type; in audio_extn_listen_update_stream_status()
Dsoundtrigger.c214 void audio_extn_sound_trigger_update_stream_status(struct audio_usecase *uc_info, in audio_extn_sound_trigger_update_stream_status() argument
225 if (uc_info == NULL) { in audio_extn_sound_trigger_update_stream_status()
229 uc_id = uc_info->id; in audio_extn_sound_trigger_update_stream_status()
230 usecase_type = uc_info->type; in audio_extn_sound_trigger_update_stream_status()
Daudio_extn.h184 #define audio_extn_listen_update_stream_status(uc_info, event) (0) argument
199 void audio_extn_listen_update_stream_status(struct audio_usecase *uc_info,
209 #define audio_extn_sound_trigger_update_stream_status(uc_info, event) (0) argument
227 void audio_extn_sound_trigger_update_stream_status(struct audio_usecase *uc_info,
Dspkr_protection.c151 struct audio_usecase *uc_info; in audio_extn_spkr_prot_calib_cancel() local
159 uc_info = get_usecase_from_list(adev, USECASE_AUDIO_SPKR_CALIB_RX); in audio_extn_spkr_prot_calib_cancel()
160 if (uc_info) { in audio_extn_spkr_prot_calib_cancel()
/hardware/qcom/audio/hal/audio_extn/
Dhfp.c118 struct audio_usecase *uc_info; in start_hfp() local
125 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in start_hfp()
126 uc_info->id = hfpmod.ucid; in start_hfp()
127 uc_info->type = PCM_HFP_CALL; in start_hfp()
128 uc_info->stream.out = adev->primary_output; in start_hfp()
129 uc_info->devices = adev->primary_output->devices; in start_hfp()
130 uc_info->in_snd_device = SND_DEVICE_NONE; in start_hfp()
131 uc_info->out_snd_device = SND_DEVICE_NONE; in start_hfp()
133 list_add_tail(&adev->usecase_list, &uc_info->list); in start_hfp()
137 pcm_dev_rx_id = platform_get_pcm_device_id(uc_info->id, PCM_PLAYBACK); in start_hfp()
[all …]
Dspkr_protection.c141 struct audio_usecase *uc_info; in audio_extn_spkr_prot_calib_cancel() local
149 uc_info = get_usecase_from_list(adev, USECASE_AUDIO_SPKR_CALIB_RX); in audio_extn_spkr_prot_calib_cancel()
150 if (uc_info) { in audio_extn_spkr_prot_calib_cancel()
/hardware/qcom/audio/msm8909/hal/voice_extn/
Dcompress_voip.c284 struct audio_usecase *uc_info; in voip_stop_call() local
291 uc_info = get_usecase_from_list(adev, USECASE_COMPRESS_VOIP_CALL); in voip_stop_call()
292 if (uc_info == NULL) { in voip_stop_call()
309 disable_audio_route(adev, uc_info); in voip_stop_call()
312 disable_snd_device(adev, uc_info->out_snd_device); in voip_stop_call()
313 disable_snd_device(adev, uc_info->in_snd_device); in voip_stop_call()
315 list_remove(&uc_info->list); in voip_stop_call()
316 free(uc_info); in voip_stop_call()
329 struct audio_usecase *uc_info; in voip_start_call() local
334 uc_info = get_usecase_from_list(adev, USECASE_COMPRESS_VOIP_CALL); in voip_start_call()
[all …]
/hardware/qcom/audio/hal/
Dvoice.c110 struct audio_usecase *uc_info; in voice_stop_usecase() local
117 uc_info = get_usecase_from_list(adev, usecase_id); in voice_stop_usecase()
118 if (uc_info == NULL) { in voice_stop_usecase()
128 voice_set_sidetone(adev, uc_info->out_snd_device, false); in voice_stop_usecase()
143 disable_audio_route(adev, uc_info); in voice_stop_usecase()
146 disable_snd_device(adev, uc_info->out_snd_device); in voice_stop_usecase()
147 disable_snd_device(adev, uc_info->in_snd_device); in voice_stop_usecase()
149 list_remove(&uc_info->list); in voice_stop_usecase()
150 free(uc_info); in voice_stop_usecase()
159 struct audio_usecase *uc_info; in voice_start_usecase() local
[all …]
Daudio_hw.c414 struct audio_usecase *uc_info, in check_and_route_playback_usecases() argument
440 usecase != uc_info && in check_and_route_playback_usecases()
482 struct audio_usecase *uc_info, in check_and_route_capture_usecases() argument
490 platform_check_and_set_capture_backend_cfg(adev, uc_info, snd_device); in check_and_route_capture_usecases()
508 usecase != uc_info && in check_and_route_capture_usecases()
802 struct audio_usecase *uc_info; in stop_input_stream() local
809 uc_info = get_usecase_from_list(adev, in->usecase); in stop_input_stream()
810 if (uc_info == NULL) { in stop_input_stream()
817 disable_audio_route(adev, uc_info); in stop_input_stream()
820 disable_snd_device(adev, uc_info->in_snd_device); in stop_input_stream()
[all …]
/hardware/qcom/audio/msm8909/hal/
Dvoice.c62 struct audio_usecase *uc_info; in voice_stop_usecase() local
89 uc_info = get_usecase_from_list(adev, usecase_id); in voice_stop_usecase()
90 if (uc_info == NULL) { in voice_stop_usecase()
97 disable_audio_route(adev, uc_info); in voice_stop_usecase()
100 disable_snd_device(adev, uc_info->out_snd_device); in voice_stop_usecase()
101 disable_snd_device(adev, uc_info->in_snd_device); in voice_stop_usecase()
103 list_remove(&uc_info->list); in voice_stop_usecase()
104 free(uc_info); in voice_stop_usecase()
113 struct audio_usecase *uc_info; in voice_start_usecase() local
127 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in voice_start_usecase()
[all …]
Daudio_hw.c337 struct audio_usecase *uc_info) in enable_audio_route_for_voice_usecases() argument
342 if (uc_info == NULL) in enable_audio_route_for_voice_usecases()
350 (usecase != uc_info)) in enable_audio_route_for_voice_usecases()
553 struct audio_usecase *uc_info, in check_usecases_codec_backend() argument
578 bool force_routing = platform_check_and_set_codec_backend_cfg(adev, uc_info); in check_usecases_codec_backend()
588 usecase != uc_info && in check_usecases_codec_backend()
634 struct audio_usecase *uc_info, in check_and_route_capture_usecases() argument
658 usecase != uc_info && in check_and_route_capture_usecases()
943 struct audio_usecase *uc_info; in stop_input_stream() local
950 uc_info = get_usecase_from_list(adev, in->usecase); in stop_input_stream()
[all …]