Lines Matching refs:pcm

379 	struct ac97_pcm *pcm;  member
397 struct snd_pcm *pcm[6]; member
963 snd_ac97_pcm_close(ichdev->pcm); in snd_intel8x0_hw_params()
966 err = snd_ac97_pcm_open(ichdev->pcm, params_rate(hw_params), in snd_intel8x0_hw_params()
968 ichdev->pcm->r[dbl].slots); in snd_intel8x0_hw_params()
973 snd_ac97_set_rate(ichdev->pcm->r[0].codec[0], AC97_SPDIF, in snd_intel8x0_hw_params()
985 snd_ac97_pcm_close(ichdev->pcm); in snd_intel8x0_hw_free()
1181 runtime->hw.rates = ichdev->pcm->rates; in snd_intel8x0_pcm_open()
1520 struct snd_pcm *pcm; in snd_intel8x0_pcm1() local
1530 rec->capture_ops ? 1 : 0, &pcm); in snd_intel8x0_pcm1()
1535 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, rec->playback_ops); in snd_intel8x0_pcm1()
1537 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, rec->capture_ops); in snd_intel8x0_pcm1()
1539 pcm->private_data = chip; in snd_intel8x0_pcm1()
1540 pcm->info_flags = 0; in snd_intel8x0_pcm1()
1542 sprintf(pcm->name, "%s - %s", chip->card->shortname, rec->suffix); in snd_intel8x0_pcm1()
1544 strcpy(pcm->name, chip->card->shortname); in snd_intel8x0_pcm1()
1545 chip->pcm[device] = pcm; in snd_intel8x0_pcm1()
1547 snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, in snd_intel8x0_pcm1()
1561 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_intel8x0_pcm1()
1698 if (! chip->ichd[rec->ac97_idx].pcm) in snd_intel8x0_pcm()
2319 chip->ichd[ICHD_PCMOUT].pcm = &pbus->pcms[0]; in snd_intel8x0_mixer()
2320 chip->ichd[ICHD_PCMIN].pcm = &pbus->pcms[1]; in snd_intel8x0_mixer()
2321 chip->ichd[ICHD_MIC].pcm = &pbus->pcms[2]; in snd_intel8x0_mixer()
2323 chip->ichd[chip->spdif_idx].pcm = &pbus->pcms[3]; in snd_intel8x0_mixer()
2325 chip->ichd[ICHD_PCM2IN].pcm = &pbus->pcms[4]; in snd_intel8x0_mixer()
2326 chip->ichd[ICHD_MIC2].pcm = &pbus->pcms[5]; in snd_intel8x0_mixer()
2330 struct ac97_pcm *pcm = chip->ichd[ICHD_PCM2IN].pcm; in snd_intel8x0_mixer() local
2333 if (pcm) { in snd_intel8x0_mixer()
2337 if (pcm->r[0].codec[i]) { in snd_intel8x0_mixer()
2338 tmp |= chip->ac97_sdin[pcm->r[0].codec[1]->num] << ICH_DI2L_SHIFT; in snd_intel8x0_mixer()
2364 chip->ichd[chip->spdif_idx].pcm->rates = SNDRV_PCM_RATE_48000; in snd_intel8x0_mixer()
2663 snd_pcm_suspend_all(chip->pcm[i]); in intel8x0_suspend()
2773 subs = chip->pcm[0]->streams[0].substream; in intel8x0_measure_ac97_clock()