Searched refs:newpcm (Results 1 – 2 of 2) sorted by relevance
194 bcm2835_audio_newpcm_func newpcm; member225 .newpcm = bcm2835_audio_alsa_newpcm,237 .newpcm = snd_bcm2835_new_simple_pcm,250 .newpcm = snd_bcm2835_new_simple_pcm,313 err = audio_driver->newpcm(chip, audio_driver->shortname, in snd_add_child_device()
76 static int snd_pcm_add(struct snd_pcm *newpcm) in snd_pcm_add() argument80 if (newpcm->internal) in snd_pcm_add()84 if (pcm->card == newpcm->card && pcm->device == newpcm->device) in snd_pcm_add()86 if (pcm->card->number > newpcm->card->number || in snd_pcm_add()87 (pcm->card == newpcm->card && in snd_pcm_add()88 pcm->device > newpcm->device)) { in snd_pcm_add()89 list_add(&newpcm->list, pcm->list.prev); in snd_pcm_add()93 list_add_tail(&newpcm->list, &snd_pcm_devices); in snd_pcm_add()