Lines Matching refs:capability
559 if (dev_node->capability == CAP_RX && dev_node->active == 1) { in check_devices_for_voice_call()
561 } else if (dev_node->capability == CAP_TX && dev_node->active == 1) { in check_devices_for_voice_call()
654 if (ctrl_list[use_case_index].capability == CAP_RX) { in snd_use_case_apply_voice_acdb()
795 if (ctrl_list[uc_index].acdb_id && ctrl_list[uc_index].capability) { in snd_use_case_apply_mixer_controls()
800 ctrl_list[uc_index].capability, enable); in snd_use_case_apply_mixer_controls()
807 ctrl_list[uc_index].capability); in snd_use_case_apply_mixer_controls()
963 int verb_index, capability = 0, ident_cap = 0, dev_cap =0; in set_controls_of_usecase_for_all_devices() local
987 dev_cap = dev_list[uc_index].capability; in set_controls_of_usecase_for_all_devices()
988 if (!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()
991 capability = CAP_VOICE; in set_controls_of_usecase_for_all_devices()
1019 if (capability == CAP_VOICE || ident_cap == CAP_VOICE || in set_controls_of_usecase_for_all_devices()
1020 capability == ident_cap) { in set_controls_of_usecase_for_all_devices()
1034 if (capability == CAP_VOICE || capability == ident_cap || in set_controls_of_usecase_for_all_devices()
1057 int verb_index, capability = 0; in set_controls_of_usecase_for_device() local
1068 capability = dev_list[dev_index].capability; in set_controls_of_usecase_for_device()
1076 capability); 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
1126 capability = dev_list[dev_index].capability; in set_controls_of_device_for_all_usecases()
1131 if (capability == CAP_VOICE || in set_controls_of_device_for_all_usecases()
1132 capability == getUseCaseType(uc_mgr->card_ctxt_ptr->current_verb) || in set_controls_of_device_for_all_usecases()
1150 enable, capability); in set_controls_of_device_for_all_usecases()
1171 capability); in set_controls_of_device_for_all_usecases()
1179 if (capability == CAP_VOICE || in set_controls_of_device_for_all_usecases()
1180 capability == in set_controls_of_device_for_all_usecases()
1203 if (capability == CAP_VOICE || in set_controls_of_device_for_all_usecases()
1205 capability == getUseCaseType(ident_value)) { in set_controls_of_device_for_all_usecases()
1222 device, enable, capability); in set_controls_of_device_for_all_usecases()
1243 enable, capability); in set_controls_of_device_for_all_usecases()
1251 if (capability == CAP_VOICE || in set_controls_of_device_for_all_usecases()
1252 capability == getUseCaseType(ident_value) || in set_controls_of_device_for_all_usecases()
1272 device, enable, capability); in set_controls_of_device_for_all_usecases()
1314 int verb_index, capability = 0; in set_controls_of_device_for_usecase() local
1322 capability = dev_list[dev_index].capability; in set_controls_of_device_for_usecase()
1338 capability); in set_controls_of_device_for_usecase()
1358 capability); in set_controls_of_device_for_usecase()
1367 device, enable, capability); in set_controls_of_device_for_usecase()
2482 list->capability = 0; in parse_single_config_format()
2616 list->capability = 0; in parse_single_config_format()
2663 list->capability = 0; in parse_single_config_format()
2682 list->capability = 0; in parse_single_config_format()
3052 list->capability = 0; in snd_ucm_parse_verb()
3070 list->capability = 0; in snd_ucm_parse_verb()
3088 list->capability = 0; in snd_ucm_parse_verb()
3244 list->capability = 0; in snd_ucm_parse_section()
3293 &list->capability); in snd_ucm_parse_section()
3297 list->capability); in snd_ucm_parse_section()
3725 node->capability = 0; in snd_ucm_add_ident_to_list()
3793 const char *ident, int status, int capability) in snd_ucm_set_status_at_index() argument
3805 head->capability = capability; in snd_ucm_set_status_at_index()
3912 temp2->capability = 0; in snd_ucm_del_ident_from_list()