Home
last modified time | relevance | path

Searched refs:newpcm (Results 1 – 1 of 1) sorted by relevance

/sound/core/
Dpcm.c62 static int snd_pcm_add(struct snd_pcm *newpcm) in snd_pcm_add() argument
66 if (newpcm->internal) in snd_pcm_add()
70 if (pcm->card == newpcm->card && pcm->device == newpcm->device) in snd_pcm_add()
72 if (pcm->card->number > newpcm->card->number || in snd_pcm_add()
73 (pcm->card == newpcm->card && in snd_pcm_add()
74 pcm->device > newpcm->device)) { in snd_pcm_add()
75 list_add(&newpcm->list, pcm->list.prev); in snd_pcm_add()
79 list_add_tail(&newpcm->list, &snd_pcm_devices); in snd_pcm_add()