Lines Matching defs:pcm
27 #include <sound/pcm.h>
570 struct snd_pcm *pcm)
574 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK,
1579 * the pipe assignment for this pcm device
1598 struct snd_pcm *pcm)
1604 "HDMI/DP,pcm=%d", pcm->device);
1668 struct snd_pcm *pcm;
1762 MAX_CAP_STREAMS, &pcm);
1767 pcm->private_data = ctx;
1768 pcm->info_flags = 0;
1769 strscpy(pcm->name, card->shortname, strlen(card->shortname));
1771 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &had_pcm_ops);
1776 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV_WC,
1788 kctl->id.device = pcm->device;
1796 ret = had_register_chmap_ctls(ctx, pcm);
1800 ret = had_create_jack(ctx, pcm);