Searched refs:newpcm (Results 1 – 2 of 2) sorted by relevance
56 int (*newpcm)(struct bcm2835_chip *chip, const char *name, member98 .newpcm = bcm2835_audio_dual_newpcm,111 .newpcm = bcm2835_audio_simple_newpcm,167 err = audio_driver->newpcm(chip, audio_driver->shortname, in snd_add_child_device()
62 static int snd_pcm_add(struct snd_pcm *newpcm) in snd_pcm_add() argument66 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()