Lines Matching refs:card_name
281 if (uc_mgr->card_ctxt_ptr->card_name != NULL) { in snd_use_case_get()
282 *value = strdup(uc_mgr->card_ctxt_ptr->card_name); in snd_use_case_get()
1880 int snd_use_case_mgr_open(snd_use_case_mgr_t **uc_mgr, const char *card_name) in snd_use_case_mgr_open() argument
1886 ALOGV("snd_use_case_open(): card_name %s", card_name); in snd_use_case_mgr_open()
1888 if (card_name == NULL) { in snd_use_case_mgr_open()
1894 if(!strncmp(card_name, card_mapping_list[index].card_name, in snd_use_case_mgr_open()
1895 (strlen(card_mapping_list[index].card_name)+1))) { in snd_use_case_mgr_open()
1902 ALOGE("Card %s not found", card_name); in snd_use_case_mgr_open()
1921 uc_mgr_ptr->card_ctxt_ptr->card_name = in snd_use_case_mgr_open()
1922 (char *)malloc((strlen(card_name)+1)*sizeof(char)); in snd_use_case_mgr_open()
1923 if (uc_mgr_ptr->card_ctxt_ptr->card_name == NULL) { in snd_use_case_mgr_open()
1930 strlcpy(uc_mgr_ptr->card_ctxt_ptr->card_name, card_name, in snd_use_case_mgr_open()
1931 ((strlen(card_name)+1)*sizeof(char))); in snd_use_case_mgr_open()
1936 free(uc_mgr_ptr->card_ctxt_ptr->card_name); in snd_use_case_mgr_open()
2021 free(uc_mgr->card_ctxt_ptr->card_name); in snd_use_case_mgr_close()
2129 strlcat(path, (*uc_mgr)->card_ctxt_ptr->card_name, sizeof(path)); in second_stage_parsing_thread()
2288 strlcat(path, (*uc_mgr)->card_ctxt_ptr->card_name, sizeof(path)); in snd_ucm_parse()