Lines Matching refs:usecase
1282 static int get_usecase_type(snd_use_case_mgr_t *uc_mgr, const char *usecase) in get_usecase_type() argument
1288 if (!strncmp(uc_mgr->card_ctxt_ptr->verb_list[index], usecase, in get_usecase_type()
1289 (strlen(usecase)+1))) { in get_usecase_type()
1309 const char *device, const char *usecase, int enable) in set_controls_of_device_for_usecase() argument
1316 ALOGV("set_device_for_ident(): %s %s", device, usecase); in set_controls_of_device_for_usecase()
1323 if (usecase != NULL) { in set_controls_of_device_for_usecase()
1324 strlcpy(use_case, usecase, sizeof(use_case)); in set_controls_of_device_for_usecase()
1327 get_usecase_type(uc_mgr, usecase))) < 0) { in set_controls_of_device_for_usecase()
1343 get_usecase_type(uc_mgr, usecase), uc_index); in set_controls_of_device_for_usecase()
1607 const char *value, const char *usecase) in snd_use_case_set_case() argument
1644 usecase, 0); in snd_use_case_set_case()
1652 ret = snd_use_case_set_case(uc_mgr, "_enadev", value, usecase); in snd_use_case_set_case()
1664 ret = snd_use_case_set_case(uc_mgr, "_dismod", ident2, usecase); in snd_use_case_set_case()
1670 ret = snd_use_case_set_case(uc_mgr, "_enamod", value, usecase); in snd_use_case_set_case()
1704 uc_mgr->card_ctxt_ptr->current_verb, usecase, in snd_use_case_set_case()
1722 if (!strncmp(ident1, usecase, MAX_STR_LEN)) { in snd_use_case_set_case()
1724 usecase); in snd_use_case_set_case()
1732 ALOGV("enadev: device value to be enabled: %s", usecase); in snd_use_case_set_case()
1734 usecase); in snd_use_case_set_case()
1737 uc_mgr->card_ctxt_ptr->current_verb, usecase, in snd_use_case_set_case()
1764 ret = set_controls_of_device_for_usecase(uc_mgr, value, usecase, 1); in snd_use_case_set_case()
1788 usecase, 0); in snd_use_case_set_case()
1833 if (!strncmp(ident1, usecase, MAX_STR_LEN)) { in snd_use_case_set_case()
1835 usecase); in snd_use_case_set_case()
1843 ALOGV("enadev: device value to be enabled: %s", usecase); in snd_use_case_set_case()
1845 usecase); in snd_use_case_set_case()
1852 usecase, 1, CTRL_LIST_MODIFIER); in snd_use_case_set_case()
1864 ret = set_controls_of_usecase_for_device(uc_mgr, value, usecase, in snd_use_case_set_case()