Lines Matching defs:pcm
24 #include <sound/pcm.h>
634 "pcxhr_update_r_buffer(pcm%c%d) : addr(%p) bytes(%zx) subs(%d)\n",
958 * CONFIGURATION SPACE for all pcms, mono pcm must update channels_max
1134 struct snd_pcm *pcm;
1140 chip->nb_streams_capt, &pcm)) < 0) {
1141 dev_err(chip->card->dev, "cannot create pcm %s\n", name);
1144 pcm->private_data = chip;
1147 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcxhr_ops);
1149 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcxhr_ops);
1151 pcm->info_flags = 0;
1152 pcm->nonatomic = true;
1153 strcpy(pcm->name, name);
1155 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV,
1158 chip->pcm = pcm;