Lines Matching refs:pcm
100 struct snd_pcm *pcm; member
291 struct snd_au1000 *au1000 = substream->pcm->private_data; in snd_au1000_playback_open()
304 struct snd_au1000 *au1000 = substream->pcm->private_data; in snd_au1000_capture_open()
317 struct snd_au1000 *au1000 = substream->pcm->private_data; in snd_au1000_playback_close()
326 struct snd_au1000 *au1000 = substream->pcm->private_data; in snd_au1000_capture_close()
359 struct snd_au1000 *au1000 = substream->pcm->private_data; in snd_au1000_playback_prepare()
373 struct snd_au1000 *au1000 = substream->pcm->private_data; in snd_au1000_capture_prepare()
447 struct snd_pcm *pcm; in snd_au1000_pcm_new() local
451 if ((err = snd_pcm_new(au1000->card, "AU1000 AC97 PCM", 0, 1, 1, &pcm)) < 0) in snd_au1000_pcm_new()
454 snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS, in snd_au1000_pcm_new()
457 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_au1000_pcm_new()
459 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, in snd_au1000_pcm_new()
462 pcm->private_data = au1000; in snd_au1000_pcm_new()
463 pcm->info_flags = 0; in snd_au1000_pcm_new()
464 strcpy(pcm->name, "Au1000 AC97 PCM"); in snd_au1000_pcm_new()
490 au1000->pcm = pcm; in snd_au1000_pcm_new()