Lines Matching refs:audio_usecase
652 struct audio_usecase *usecase) in enable_audio_route()
666 struct audio_usecase *uinfo; in enable_audio_route()
673 struct audio_usecase *voip_usecase = get_usecase_from_list(adev, in enable_audio_route()
682 uinfo = node_to_item(node, struct audio_usecase, list); in enable_audio_route()
713 struct audio_usecase *usecase) in disable_audio_route()
916 static int update_effect_param_ecns(struct audio_usecase *usecase, in update_effect_param_ecns()
952 struct audio_usecase *usecase = NULL; in enable_disable_effect()
1003 struct audio_usecase *usecase = node_to_item(node, struct audio_usecase, list); in check_and_enable_effect()
1088 static snd_device_t derive_playback_snd_device(struct audio_usecase *uc, in derive_playback_snd_device()
1089 struct audio_usecase *new_uc, in derive_playback_snd_device()
1137 struct audio_usecase *uc_info, in check_and_route_playback_usecases()
1141 struct audio_usecase *usecase; in check_and_route_playback_usecases()
1175 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_playback_usecases()
1195 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_playback_usecases()
1203 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_playback_usecases()
1216 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_playback_usecases()
1231 struct audio_usecase *uc_info, in check_and_route_capture_usecases()
1235 struct audio_usecase *usecase; in check_and_route_capture_usecases()
1255 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_capture_usecases()
1275 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_capture_usecases()
1282 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_capture_usecases()
1291 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_capture_usecases()
1470 struct audio_usecase *usecase; in get_voice_usecase_id_from_list()
1474 usecase = node_to_item(node, struct audio_usecase, list); in get_voice_usecase_id_from_list()
1483 struct audio_usecase *get_usecase_from_list(struct audio_device *adev, in get_usecase_from_list()
1486 struct audio_usecase *usecase; in get_usecase_from_list()
1490 usecase = node_to_item(node, struct audio_usecase, list); in get_usecase_from_list()
1497 static bool force_device_switch(struct audio_usecase *usecase) in force_device_switch()
1524 struct audio_usecase *usecase = node_to_item(node, struct audio_usecase, list); in adev_get_active_input()
1541 struct audio_usecase *usecase = node_to_item(node, struct audio_usecase, list); in get_voice_communication_input()
1586 struct audio_usecase *usecase; in get_priority_input()
1592 usecase = node_to_item(node, struct audio_usecase, list); in get_priority_input()
1614 struct audio_usecase *usecase = NULL; in select_devices_with_force_switch()
1615 struct audio_usecase *vc_usecase = NULL; in select_devices_with_force_switch()
1616 struct audio_usecase *hfp_usecase = NULL; in select_devices_with_force_switch()
1620 struct audio_usecase *voip_usecase = get_usecase_from_list(adev, in select_devices_with_force_switch()
1689 struct audio_usecase *voip_usecase = get_usecase_from_list(adev, in select_devices_with_force_switch()
1878 struct audio_usecase *uc_info; in stop_input_stream()
1920 struct audio_usecase *uc_info; in start_input_stream()
1950 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in start_input_stream()
2210 struct audio_usecase *usecase; in allow_hdmi_channel_config()
2214 usecase = node_to_item(node, struct audio_usecase, list); in allow_hdmi_channel_config()
2242 struct audio_usecase *usecase; in check_and_set_hdmi_channels()
2262 usecase = node_to_item(node, struct audio_usecase, list); in check_and_set_hdmi_channels()
2274 usecase = node_to_item(node, struct audio_usecase, list); in check_and_set_hdmi_channels()
2285 struct audio_usecase *uc_info, in check_and_set_usb_service_interval()
2289 struct audio_usecase *usecase; in check_and_set_usb_service_interval()
2299 usecase = node_to_item(node, struct audio_usecase, list); in check_and_set_usb_service_interval()
2335 struct audio_usecase *uc_info; in stop_output_stream()
2391 struct audio_usecase *usecase; in stop_output_stream()
2393 usecase = node_to_item(node, struct audio_usecase, list); in stop_output_stream()
2449 struct audio_usecase *uc_info; in start_output_stream()
2493 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in start_output_stream()
2984 struct audio_usecase *usecase; in out_set_parameters()
4669 struct audio_usecase *usecase; in add_remove_audio_effect()
4672 usecase = node_to_item(node, struct audio_usecase, list); in add_remove_audio_effect()
5740 struct audio_usecase *usecase; in adev_set_parameters()
5743 usecase = node_to_item(node, struct audio_usecase, list); in adev_set_parameters()
5775 struct audio_usecase *usecase; in adev_set_parameters()
5778 usecase = node_to_item(node, struct audio_usecase, list); in adev_set_parameters()
5873 struct audio_usecase *usecase; in adev_set_mode()
5876 usecase = node_to_item(node, struct audio_usecase, list); in adev_set_mode()
6347 const audio_usecase_t audio_usecase = testcases[i]; in adev_verify_devices() local
6353 struct audio_usecase uc_info; in adev_verify_devices()
6356 pparams = &adev->use_case_table[audio_usecase]; in adev_verify_devices()
6361 device_id = platform_get_pcm_device_id(audio_usecase, usecase_type); in adev_verify_devices()
6367 uc_info.id = audio_usecase; in adev_verify_devices()
6384 retval = select_devices(adev, audio_usecase); in adev_verify_devices()
6490 struct audio_usecase *uc_info; in check_a2dp_restore_l()