Lines Matching defs:pcm
19 #include <sound/pcm.h>
175 struct snd_pcm *pcm[2];
677 struct snd_pcm *pcm;
687 rec->capture_ops ? 1 : 0, &pcm);
692 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, rec->playback_ops);
694 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, rec->capture_ops);
696 pcm->private_data = chip;
697 pcm->info_flags = 0;
698 pcm->dev_class = SNDRV_PCM_CLASS_MODEM;
700 sprintf(pcm->name, "%s - %s", chip->card->shortname, rec->suffix);
702 strcpy(pcm->name, chip->card->shortname);
703 chip->pcm[device] = pcm;
705 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV,
1109 /* SIS7013 handles the pcm data in bytes, others are in words */