Lines Matching refs:audio_usecase

649                        struct audio_usecase *usecase)  in enable_audio_route()
663 struct audio_usecase *uinfo; in enable_audio_route()
670 struct audio_usecase *voip_usecase = get_usecase_from_list(adev, in enable_audio_route()
679 uinfo = node_to_item(node, struct audio_usecase, list); in enable_audio_route()
710 struct audio_usecase *usecase) in disable_audio_route()
909 static int update_effect_param_ecns(struct audio_usecase *usecase, in update_effect_param_ecns()
945 struct audio_usecase *usecase = NULL; in enable_disable_effect()
996 struct audio_usecase *usecase = node_to_item(node, struct audio_usecase, list); in check_and_enable_effect()
1081 static snd_device_t derive_playback_snd_device(struct audio_usecase *uc, in derive_playback_snd_device()
1082 struct audio_usecase *new_uc, in derive_playback_snd_device()
1130 struct audio_usecase *uc_info, in check_and_route_playback_usecases()
1134 struct audio_usecase *usecase; in check_and_route_playback_usecases()
1168 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_playback_usecases()
1188 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_playback_usecases()
1196 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_playback_usecases()
1209 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_playback_usecases()
1218 struct audio_usecase *uc_info, in check_and_route_capture_usecases()
1222 struct audio_usecase *usecase; in check_and_route_capture_usecases()
1242 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_capture_usecases()
1262 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_capture_usecases()
1269 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_capture_usecases()
1278 usecase = node_to_item(node, struct audio_usecase, list); in check_and_route_capture_usecases()
1457 struct audio_usecase *usecase; in get_voice_usecase_id_from_list()
1461 usecase = node_to_item(node, struct audio_usecase, list); in get_voice_usecase_id_from_list()
1470 struct audio_usecase *get_usecase_from_list(struct audio_device *adev, in get_usecase_from_list()
1473 struct audio_usecase *usecase; in get_usecase_from_list()
1477 usecase = node_to_item(node, struct audio_usecase, list); in get_usecase_from_list()
1484 static bool force_device_switch(struct audio_usecase *usecase) in force_device_switch()
1511 struct audio_usecase *usecase = node_to_item(node, struct audio_usecase, list); in adev_get_active_input()
1528 struct audio_usecase *usecase = node_to_item(node, struct audio_usecase, list); in get_voice_communication_input()
1573 struct audio_usecase *usecase; in get_priority_input()
1579 usecase = node_to_item(node, struct audio_usecase, list); in get_priority_input()
1601 struct audio_usecase *usecase = NULL; in select_devices_with_force_switch()
1602 struct audio_usecase *vc_usecase = NULL; in select_devices_with_force_switch()
1603 struct audio_usecase *hfp_usecase = NULL; in select_devices_with_force_switch()
1607 struct audio_usecase *voip_usecase = get_usecase_from_list(adev, in select_devices_with_force_switch()
1676 struct audio_usecase *voip_usecase = get_usecase_from_list(adev, in select_devices_with_force_switch()
1865 struct audio_usecase *uc_info; in stop_input_stream()
1907 struct audio_usecase *uc_info; in start_input_stream()
1937 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in start_input_stream()
2197 struct audio_usecase *usecase; in allow_hdmi_channel_config()
2201 usecase = node_to_item(node, struct audio_usecase, list); in allow_hdmi_channel_config()
2229 struct audio_usecase *usecase; in check_and_set_hdmi_channels()
2249 usecase = node_to_item(node, struct audio_usecase, list); in check_and_set_hdmi_channels()
2261 usecase = node_to_item(node, struct audio_usecase, list); in check_and_set_hdmi_channels()
2272 struct audio_usecase *uc_info, in check_and_set_usb_service_interval()
2276 struct audio_usecase *usecase; in check_and_set_usb_service_interval()
2286 usecase = node_to_item(node, struct audio_usecase, list); in check_and_set_usb_service_interval()
2322 struct audio_usecase *uc_info; in stop_output_stream()
2378 struct audio_usecase *usecase; in stop_output_stream()
2380 usecase = node_to_item(node, struct audio_usecase, list); in stop_output_stream()
2436 struct audio_usecase *uc_info; in start_output_stream()
2483 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in start_output_stream()
2964 struct audio_usecase *usecase; in out_set_parameters()
4580 struct audio_usecase *usecase; in add_remove_audio_effect()
4583 usecase = node_to_item(node, struct audio_usecase, list); in add_remove_audio_effect()
5614 struct audio_usecase *usecase; in adev_set_parameters()
5617 usecase = node_to_item(node, struct audio_usecase, list); in adev_set_parameters()
5649 struct audio_usecase *usecase; in adev_set_parameters()
5652 usecase = node_to_item(node, struct audio_usecase, list); in adev_set_parameters()
5747 struct audio_usecase *usecase; in adev_set_mode()
5750 usecase = node_to_item(node, struct audio_usecase, list); in adev_set_mode()
6221 const audio_usecase_t audio_usecase = testcases[i]; in adev_verify_devices() local
6227 struct audio_usecase uc_info; in adev_verify_devices()
6230 pparams = &adev->use_case_table[audio_usecase]; in adev_verify_devices()
6235 device_id = platform_get_pcm_device_id(audio_usecase, usecase_type); in adev_verify_devices()
6241 uc_info.id = audio_usecase; in adev_verify_devices()
6258 retval = select_devices(adev, audio_usecase); in adev_verify_devices()
6364 struct audio_usecase *uc_info; in check_a2dp_restore_l()