Lines Matching defs:pcm
284 * snd_pdacf_pcm_new - create and initialize a pcm
288 struct snd_pcm *pcm;
291 err = snd_pcm_new(chip->card, "PDAudioCF", 0, 0, 1, &pcm);
295 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pdacf_pcm_capture_ops);
297 pcm->private_data = chip;
298 pcm->info_flags = 0;
299 strcpy(pcm->name, chip->card->shortname);
300 chip->pcm = pcm;
302 err = snd_ak4117_build(chip->ak4117, pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);