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