Lines Matching defs:pcm
37 #include <sound/pcm.h>
481 struct snd_pcm *pcm; /* has one pcm */
3484 pcm interface
4222 struct snd_pcm *pcm;
4225 pcm = hdspm->pcm;
4230 snd_pcm_lib_preallocate_pages_for_all(pcm,
4259 struct snd_pcm *pcm;
4262 err = snd_pcm_new(card, hdspm->card_name, 0, 1, 1, &pcm);
4266 hdspm->pcm = pcm;
4267 pcm->private_data = hdspm;
4268 strcpy(pcm->name, hdspm->card_name);
4270 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
4272 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
4275 pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX;