Lines Matching defs:pcm
18 * - The chip has one half duplex pcm (with very limited full duplex support).
29 * - there are a first full duplex pcm and a second playback only pcm
30 * (incompatible with first pcm capture)
46 * the second pcm (Audio1) DMA slows down irregularly and sound is garbled.
77 #include <sound/pcm.h>
101 struct snd_pcm *pcm;
1660 struct snd_pcm *pcm;
1666 err = snd_pcm_new(card, str, device, 2, 1, &pcm);
1668 err = snd_pcm_new(card, str, device, 1, 1, &pcm);
1672 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_es18xx_playback_ops);
1673 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es18xx_capture_ops);
1676 pcm->private_data = chip;
1677 pcm->info_flags = 0;
1679 pcm->info_flags |= SNDRV_PCM_INFO_JOINT_DUPLEX;
1681 pcm->info_flags |= SNDRV_PCM_INFO_HALF_DUPLEX;
1682 sprintf(pcm->name, "ESS AudioDrive ES%x", chip->version);
1683 chip->pcm = pcm;
1685 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV, card->dev,
1774 strcpy(card->mixername, chip->pcm->name);