• Home
  • Raw
  • Download

Lines Matching refs:enable

756 const char *use_case, int enable, int ctrl_list_type, int uc_index)  in snd_use_case_apply_mixer_controls()  argument
791 if (enable && in snd_use_case_apply_mixer_controls()
794 ALOGD("Set mixer controls for %s enable %d", use_case, enable); in snd_use_case_apply_mixer_controls()
796 if (enable) { in snd_use_case_apply_mixer_controls()
800 ctrl_list[uc_index].capability, enable); in snd_use_case_apply_mixer_controls()
813 if (enable) { in snd_use_case_apply_mixer_controls()
847 if ((ret != 0) && enable) { in snd_use_case_apply_mixer_controls()
958 const char *ident, int enable, int ctrl_list_type) in set_controls_of_usecase_for_all_devices() argument
994 if (enable) { 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()
1005 current_device, enable, dev_cap); in set_controls_of_usecase_for_all_devices()
1022 enable, ctrl_list_type, uc_index); in set_controls_of_usecase_for_all_devices()
1036 snd_use_case_apply_mixer_controls(uc_mgr, ident, enable, in set_controls_of_usecase_for_all_devices()
1052 const char *ident, const char *device, int enable, int ctrl_list_type) in set_controls_of_usecase_for_device() argument
1066 if (enable) { in set_controls_of_usecase_for_device()
1072 enable, CTRL_LIST_DEVICE, dev_index); in set_controls_of_usecase_for_device()
1075 uc_mgr->card_ctxt_ptr->dev_list_head, device, enable, in set_controls_of_usecase_for_device()
1085 if (snd_use_case_apply_mixer_controls(uc_mgr, ident, enable, in set_controls_of_usecase_for_device()
1091 ret = snd_use_case_apply_mixer_controls(uc_mgr, use_case, enable, in set_controls_of_usecase_for_device()
1096 if (snd_use_case_apply_mixer_controls(uc_mgr, ident, enable, in set_controls_of_usecase_for_device()
1112 const char *device, int enable) in set_controls_of_device_for_all_usecases() argument
1142 if (enable) { in set_controls_of_device_for_all_usecases()
1146 enable, CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_all_usecases()
1150 enable, capability); in set_controls_of_device_for_all_usecases()
1154 ALOGV("set %d for use case value: %s", enable, use_case); in set_controls_of_device_for_all_usecases()
1156 enable, CTRL_LIST_VERB, uc_index); in set_controls_of_device_for_all_usecases()
1159 %s, enable: %d", use_case, device, enable); in set_controls_of_device_for_all_usecases()
1163 if (enable && !flag) { in set_controls_of_device_for_all_usecases()
1167 device, enable, CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_all_usecases()
1170 uc_mgr->card_ctxt_ptr->dev_list_head, device, enable, in set_controls_of_device_for_all_usecases()
1184 ALOGV("set %d for use case value: %s", enable, use_case); in set_controls_of_device_for_all_usecases()
1186 enable, CTRL_LIST_VERB, uc_index); in set_controls_of_device_for_all_usecases()
1189 device %s, enable: %d", use_case, device, enable); in set_controls_of_device_for_all_usecases()
1213 if (enable && !flag) { in set_controls_of_device_for_all_usecases()
1217 device, enable, CTRL_LIST_DEVICE, in set_controls_of_device_for_all_usecases()
1222 device, enable, capability); in set_controls_of_device_for_all_usecases()
1226 ALOGV("set %d for use case value: %s", enable, 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()
1231 device %s, enable: %d", use_case, device, enable); in set_controls_of_device_for_all_usecases()
1235 if (enable && !flag) { in set_controls_of_device_for_all_usecases()
1239 device, enable, CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_all_usecases()
1243 enable, capability); in set_controls_of_device_for_all_usecases()
1254 ALOGV("set %d for use case value: %s", enable, use_case); in set_controls_of_device_for_all_usecases()
1256 enable, CTRL_LIST_MODIFIER, uc_index); in set_controls_of_device_for_all_usecases()
1259 device %s, enable: %d", use_case, device, enable); in set_controls_of_device_for_all_usecases()
1267 if (!enable) { in set_controls_of_device_for_all_usecases()
1268 ret = snd_use_case_apply_mixer_controls(uc_mgr, device, enable, in set_controls_of_device_for_all_usecases()
1272 device, enable, capability); in set_controls_of_device_for_all_usecases()
1309 const char *device, const char *usecase, int enable) in set_controls_of_device_for_usecase() argument
1330 if (enable) { in set_controls_of_device_for_usecase()
1334 enable, CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_usecase()
1337 (uc_mgr->card_ctxt_ptr->dev_list_head, device, enable, in set_controls_of_device_for_usecase()
1341 ALOGV("set %d for use case value: %s", enable, use_case); in set_controls_of_device_for_usecase()
1342 ret = snd_use_case_apply_mixer_controls(uc_mgr, use_case, enable, in set_controls_of_device_for_usecase()
1346 enable: %d", use_case, device, enable); in set_controls_of_device_for_usecase()
1350 if (enable) { in set_controls_of_device_for_usecase()
1353 ret = snd_use_case_apply_mixer_controls(uc_mgr, device, enable, in set_controls_of_device_for_usecase()
1357 uc_mgr->card_ctxt_ptr->dev_list_head, device, enable, in set_controls_of_device_for_usecase()
1362 if (!enable) { in set_controls_of_device_for_usecase()
1363 ret = snd_use_case_apply_mixer_controls(uc_mgr, device, enable, in set_controls_of_device_for_usecase()
1367 device, enable, capability); in set_controls_of_device_for_usecase()