/hardware/qcom/audio/hal/audio_extn/ |
hfp.c | 126 struct audio_usecase *uc_info; local 133 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); 134 uc_info->id = hfpmod.ucid; 135 uc_info->type = PCM_HFP_CALL; 136 uc_info->stream.out = adev->primary_output; 137 uc_info->devices = adev->primary_output->devices; 138 uc_info->in_snd_device = SND_DEVICE_NONE; 139 uc_info->out_snd_device = SND_DEVICE_NONE; 141 list_add_tail(&adev->usecase_list, &uc_info->list); 145 pcm_dev_rx_id = platform_get_pcm_device_id(uc_info->id, PCM_PLAYBACK) 218 struct audio_usecase *uc_info; local [all...] |
spkr_protection.c | 141 struct audio_usecase *uc_info; local 149 uc_info = get_usecase_from_list(adev, USECASE_AUDIO_SPKR_CALIB_RX); 150 if (uc_info) {
|
/hardware/qcom/audio/hal/ |
voice.c | 110 struct audio_usecase *uc_info; local 117 uc_info = get_usecase_from_list(adev, usecase_id); 118 if (uc_info == NULL) { 128 voice_set_sidetone(adev, uc_info->out_snd_device, false); 143 disable_audio_route(adev, uc_info); 146 disable_snd_device(adev, uc_info->out_snd_device); 147 disable_snd_device(adev, uc_info->in_snd_device); 149 list_remove(&uc_info->list); 150 free(uc_info); 159 struct audio_usecase *uc_info; local [all...] |
audio_hw.c | 801 struct audio_usecase *uc_info, 827 usecase != uc_info && 852 d_device = derive_playback_snd_device(usecase, uc_info, 872 struct audio_usecase *uc_info, 880 platform_check_and_set_capture_backend_cfg(adev, uc_info, snd_device); 898 usecase != uc_info && 1192 struct audio_usecase *uc_info; local 1223 struct audio_usecase *uc_info; local 1565 struct audio_usecase *uc_info; local 1606 struct audio_usecase *uc_info; local 3535 struct audio_usecase uc_info; local [all...] |
/device/google/dragon/audio/hal/ |
audio_hw.c | 686 struct audio_usecase *uc_info, 707 list_for_each(node, &uc_info->mixer_list) { 708 mixer_card = node_to_item(node, struct mixer_card, uc_list_node[uc_info->id]); 718 struct audio_usecase *uc_info, 737 list_for_each(node, &uc_info->mixer_list) { 738 mixer_card = node_to_item(node, struct mixer_card, uc_list_node[uc_info->id]); 1276 struct audio_usecase *uc_info; local 1311 struct audio_usecase *uc_info; local 1615 struct audio_usecase *uc_info; local 1634 struct audio_usecase *uc_info; local 1687 struct audio_usecase *uc_info; local 1715 struct audio_usecase *uc_info; local 1888 struct audio_usecase *uc_info; local 2422 struct audio_usecase *uc_info; local [all...] |
/device/htc/flounder/audio/hal/ |
audio_hw.c | 723 struct audio_usecase *uc_info, 736 enable_snd_device(adev, uc_info, SND_DEVICE_OUT_SPEAKER, update_mixer); 737 enable_snd_device(adev, uc_info, SND_DEVICE_OUT_HEADPHONES, update_mixer); 750 list_for_each(node, &uc_info->mixer_list) { 751 mixer_card = node_to_item(node, struct mixer_card, uc_list_node[uc_info->id]); 761 struct audio_usecase *uc_info, 774 disable_snd_device(adev, uc_info, SND_DEVICE_OUT_SPEAKER, update_mixer); 775 disable_snd_device(adev, uc_info, SND_DEVICE_OUT_HEADPHONES, update_mixer); 787 list_for_each(node, &uc_info->mixer_list) { 788 mixer_card = node_to_item(node, struct mixer_card, uc_list_node[uc_info->id]) 1903 struct audio_usecase *uc_info; local 1946 struct audio_usecase *uc_info; local 2374 struct audio_usecase *uc_info; local 2393 struct audio_usecase *uc_info; local 2480 struct audio_usecase *uc_info; local 2508 struct audio_usecase *uc_info; local 2740 struct audio_usecase *uc_info; local 3586 struct audio_usecase *uc_info; local [all...] |