Searched refs:uc_mgr (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsa_ucm.c | 105 int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, in snd_use_case_get_list() argument 117 pthread_mutex_lock(&uc_mgr->card_ctxt_ptr->card_lock); in snd_use_case_get_list() 118 if ((uc_mgr->snd_card_index >= (int)MAX_NUM_CARDS) || in snd_use_case_get_list() 119 (uc_mgr->snd_card_index < 0) || (uc_mgr->card_ctxt_ptr == NULL)) { in snd_use_case_get_list() 121 pthread_mutex_unlock(&uc_mgr->card_ctxt_ptr->card_lock); in snd_use_case_get_list() 126 while(strncmp(uc_mgr->card_ctxt_ptr->verb_list[index], in snd_use_case_get_list() 129 uc_mgr->card_ctxt_ptr->verb_list[index]); in snd_use_case_get_list() 132 *list = (char ***)uc_mgr->card_ctxt_ptr->verb_list; in snd_use_case_get_list() 133 pthread_mutex_unlock(&uc_mgr->card_ctxt_ptr->card_lock); in snd_use_case_get_list() 136 if (!strncmp(uc_mgr->card_ctxt_ptr->current_verb, in snd_use_case_get_list() [all …]
|
D | alsa_ucm.h | 214 int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, 272 int snd_use_case_get(snd_use_case_mgr_t *uc_mgr, 287 int snd_use_case_geti(snd_use_case_mgr_t *uc_mgr, 313 int snd_use_case_set(snd_use_case_mgr_t *uc_mgr, 323 int snd_use_case_mgr_open(snd_use_case_mgr_t **uc_mgr, const char *card_name); 331 int snd_use_case_mgr_reload(snd_use_case_mgr_t *uc_mgr); 338 int snd_use_case_mgr_close(snd_use_case_mgr_t *uc_mgr); 345 int snd_use_case_mgr_reset(snd_use_case_mgr_t *uc_mgr); 367 static inline int snd_use_case_verb_list(snd_use_case_mgr_t *uc_mgr, in snd_use_case_verb_list() argument 370 return snd_use_case_get_list(uc_mgr, "_verbs", list); in snd_use_case_verb_list()
|
D | alsaucm_test.c | 48 snd_use_case_mgr_t *uc_mgr; variable 110 if (uc_mgr) { in alsaucm_test_cmd_svr() 111 snd_use_case_mgr_close(uc_mgr); in alsaucm_test_cmd_svr() 112 uc_mgr = NULL; in alsaucm_test_cmd_svr() 201 if (uc_mgr) { in process_cmd() 202 snd_use_case_mgr_close(uc_mgr); in process_cmd() 203 uc_mgr = NULL; in process_cmd() 206 err = snd_use_case_mgr_open(&uc_mgr, identifier); in process_cmd() 211 snd_use_case_mgr_wait_for_parsing(uc_mgr); in process_cmd() 231 if (!uc_mgr) { in process_cmd() [all …]
|
D | msm8960_use_cases.h | 296 static int snd_ucm_parse_verb(snd_use_case_mgr_t **uc_mgr, const char *file_name, int index); 298 int snd_use_case_mgr_wait_for_parsing(snd_use_case_mgr_t *uc_mgr); 299 int snd_use_case_set_case(snd_use_case_mgr_t *uc_mgr, const char *identifier, 301 static int get_usecase_type(snd_use_case_mgr_t *uc_mgr, const char *usecase); 302 static int parse_single_config_format(snd_use_case_mgr_t **uc_mgr, char *current_str, int num_verbs… 308 static int snd_ucm_parse(snd_use_case_mgr_t **uc_mgr); 309 static int snd_ucm_parse_section(snd_use_case_mgr_t **uc_mgr, char **cur_str, char **nxt_str, int v… 315 static int snd_ucm_print(snd_use_case_mgr_t *uc_mgr); 316 static void snd_ucm_free_mixer_list(snd_use_case_mgr_t **uc_mgr);
|