Lines Matching defs:pcm
24 #include <sound/pcm.h>
633 "%s(pcm%c%d) : addr(%p) bytes(%zx) subs(%d)\n", __func__,
956 * CONFIGURATION SPACE for all pcms, mono pcm must update channels_max
1132 struct snd_pcm *pcm;
1138 chip->nb_streams_capt, &pcm);
1140 dev_err(chip->card->dev, "cannot create pcm %s\n", name);
1143 pcm->private_data = chip;
1146 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcxhr_ops);
1148 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcxhr_ops);
1150 pcm->info_flags = 0;
1151 pcm->nonatomic = true;
1152 strcpy(pcm->name, name);
1154 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV,
1157 chip->pcm = pcm;