Lines Matching defs:pcm
23 #include <sound/pcm.h>
489 struct snd_pcm *pcm;
3903 snd_pcm_period_elapsed(hdsp->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);
3906 snd_pcm_period_elapsed(hdsp->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream);
4961 struct snd_pcm *pcm;
4964 err = snd_pcm_new(card, hdsp->card_name, 0, 1, 1, &pcm);
4968 hdsp->pcm = pcm;
4969 pcm->private_data = hdsp;
4970 strcpy(pcm->name, hdsp->card_name);
4972 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_hdsp_playback_ops);
4973 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_hdsp_capture_ops);
4975 pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX;
5074 "Error creating pcm interface\n");