Lines Matching refs:uc_index

756 const char *use_case, int enable, int ctrl_list_type, int uc_index)  in snd_use_case_apply_mixer_controls()  argument
783 if (uc_index < 0) { in snd_use_case_apply_mixer_controls()
795 if (ctrl_list[uc_index].acdb_id && ctrl_list[uc_index].capability) { in snd_use_case_apply_mixer_controls()
797 if (snd_use_case_apply_voice_acdb(uc_mgr, uc_index)) { in snd_use_case_apply_mixer_controls()
799 ctrl_list[uc_index].acdb_id, in snd_use_case_apply_mixer_controls()
800 ctrl_list[uc_index].capability, enable); in snd_use_case_apply_mixer_controls()
806 acdb_send_audio_cal(ctrl_list[uc_index].acdb_id, in snd_use_case_apply_mixer_controls()
807 ctrl_list[uc_index].capability); in snd_use_case_apply_mixer_controls()
814 mixer_list = ctrl_list[uc_index].ena_mixer_list; in snd_use_case_apply_mixer_controls()
815 mixer_count = ctrl_list[uc_index].ena_mixer_count; in snd_use_case_apply_mixer_controls()
817 mixer_list = ctrl_list[uc_index].dis_mixer_list; in snd_use_case_apply_mixer_controls()
818 mixer_count = ctrl_list[uc_index].dis_mixer_count; in snd_use_case_apply_mixer_controls()
850 mixer_list = ctrl_list[uc_index].dis_mixer_list; in snd_use_case_apply_mixer_controls()
851 mixer_count = ctrl_list[uc_index].dis_mixer_count; in snd_use_case_apply_mixer_controls()
962 int list_size, index, uc_index, ret = 0, intdev_flag = 0; in set_controls_of_usecase_for_all_devices() local
985 uc_index = get_use_case_index(uc_mgr, current_device, in set_controls_of_usecase_for_all_devices()
987 dev_cap = dev_list[uc_index].capability; in set_controls_of_usecase_for_all_devices()
989 capability = dev_list[uc_index].capability; in set_controls_of_usecase_for_all_devices()
990 } else if (capability != dev_list[uc_index].capability) { in set_controls_of_usecase_for_all_devices()
997 if (uc_index >= 0) { in set_controls_of_usecase_for_all_devices()
1001 current_device, enable, CTRL_LIST_DEVICE, uc_index); in set_controls_of_usecase_for_all_devices()
1008 snd_use_case_apply_voice_acdb(uc_mgr, uc_index); in set_controls_of_usecase_for_all_devices()
1014 if ((uc_index = in set_controls_of_usecase_for_all_devices()
1022 enable, ctrl_list_type, uc_index); in set_controls_of_usecase_for_all_devices()
1031 if ((uc_index = get_use_case_index(uc_mgr, ident, ctrl_list_type)) < 0) { in set_controls_of_usecase_for_all_devices()
1037 ctrl_list_type, uc_index); in set_controls_of_usecase_for_all_devices()
1056 int list_size, index, dev_index, uc_index, ret = 0; in set_controls_of_usecase_for_device() local
1082 if ((uc_index = get_use_case_index(uc_mgr, use_case, ctrl_list_type)) < 0) { in set_controls_of_usecase_for_device()
1084 uc_index = get_use_case_index(uc_mgr, ident, ctrl_list_type); in set_controls_of_usecase_for_device()
1086 ctrl_list_type, uc_index) < 0) { in set_controls_of_usecase_for_device()
1092 ctrl_list_type, uc_index); in set_controls_of_usecase_for_device()
1095 uc_index = get_use_case_index(uc_mgr, ident, ctrl_list_type); in set_controls_of_usecase_for_device()
1097 ctrl_list_type, uc_index) < 0) { in set_controls_of_usecase_for_device()
1116 int verb_index, uc_index, dev_index, capability = 0; in set_controls_of_device_for_all_usecases() local
1137 if ((uc_index = in set_controls_of_device_for_all_usecases()
1156 enable, CTRL_LIST_VERB, uc_index); in set_controls_of_device_for_all_usecases()
1178 uc_index = get_use_case_index(uc_mgr, use_case, CTRL_LIST_VERB); in set_controls_of_device_for_all_usecases()
1186 enable, CTRL_LIST_VERB, uc_index); in set_controls_of_device_for_all_usecases()
1208 if ((uc_index = get_use_case_index(uc_mgr, use_case, in set_controls_of_device_for_all_usecases()
1228 use_case, enable, CTRL_LIST_MODIFIER, uc_index); in set_controls_of_device_for_all_usecases()
1249 uc_index = in set_controls_of_device_for_all_usecases()
1256 enable, CTRL_LIST_MODIFIER, uc_index); in set_controls_of_device_for_all_usecases()
1313 int ret = -ENODEV, uc_index, dev_index; in set_controls_of_device_for_usecase() local
1326 if ((uc_index = get_use_case_index(uc_mgr, use_case, in set_controls_of_device_for_usecase()
1343 get_usecase_type(uc_mgr, usecase), uc_index); in set_controls_of_device_for_usecase()