Lines Matching refs:nid
527 const char *nid) in copy_valid_id_string() argument
531 while (*nid && !isalnum(*nid)) in copy_valid_id_string()
532 nid++; in copy_valid_id_string()
533 if (isdigit(*nid)) in copy_valid_id_string()
535 while (*nid && (size_t)(id - card->id) < sizeof(card->id) - 1) { in copy_valid_id_string()
536 if (isalnum(*nid)) in copy_valid_id_string()
537 *id++ = *nid; in copy_valid_id_string()
538 nid++; in copy_valid_id_string()
547 const char *nid) in snd_card_set_id_no_lock() argument
553 copy_valid_id_string(card, src, nid); in snd_card_set_id_no_lock()
602 void snd_card_set_id(struct snd_card *card, const char *nid) in snd_card_set_id() argument
608 snd_card_set_id_no_lock(card, nid, nid); in snd_card_set_id()