Home
last modified time | relevance | path

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

/sound/core/
Dpcm.c73 static int snd_pcm_add(struct snd_pcm *newpcm) in snd_pcm_add() argument
77 if (newpcm->internal) in snd_pcm_add()
81 if (pcm->card == newpcm->card && pcm->device == newpcm->device) in snd_pcm_add()
83 if (pcm->card->number > newpcm->card->number || in snd_pcm_add()
84 (pcm->card == newpcm->card && in snd_pcm_add()
85 pcm->device > newpcm->device)) { in snd_pcm_add()
86 list_add(&newpcm->list, pcm->list.prev); in snd_pcm_add()
90 list_add_tail(&newpcm->list, &snd_pcm_devices); in snd_pcm_add()