Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835.c67 bcm2835_audio_newpcm_func newpcm; member
107 .newpcm = bcm2835_audio_alsa_newpcm,
119 .newpcm = bcm2835_audio_simple_newpcm,
132 .newpcm = bcm2835_audio_simple_newpcm,
192 err = audio_driver->newpcm(chip, audio_driver->shortname, in snd_add_child_device()
/kernel/linux/linux-5.10/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()