Lines Matching refs:pcm

975 		struct ac97_pcm *pcm = chip->pcms[dma->ac97_pcm_type];  in snd_atiixp_pcm_hw_params()  local
980 snd_ac97_pcm_close(pcm); in snd_atiixp_pcm_hw_params()
983 err = snd_ac97_pcm_open(pcm, params_rate(hw_params), in snd_atiixp_pcm_hw_params()
985 pcm->r[0].slots); in snd_atiixp_pcm_hw_params()
999 struct ac97_pcm *pcm = chip->pcms[dma->ac97_pcm_type]; in snd_atiixp_pcm_hw_free() local
1000 snd_ac97_pcm_close(pcm); in snd_atiixp_pcm_hw_free()
1252 struct snd_pcm *pcm; in snd_atiixp_pcm_new() local
1284 ATI_PCMDEV_ANALOG, 1, 1, &pcm); in snd_atiixp_pcm_new()
1287 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_atiixp_playback_ops); in snd_atiixp_pcm_new()
1288 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_atiixp_capture_ops); in snd_atiixp_pcm_new()
1289 pcm->private_data = chip; in snd_atiixp_pcm_new()
1290 strcpy(pcm->name, "ATI IXP AC97"); in snd_atiixp_pcm_new()
1291 chip->pcmdevs[ATI_PCMDEV_ANALOG] = pcm; in snd_atiixp_pcm_new()
1293 snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, in snd_atiixp_pcm_new()
1297 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_atiixp_pcm_new()
1315 ATI_PCMDEV_DIGITAL, 1, 0, &pcm); in snd_atiixp_pcm_new()
1318 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_atiixp_spdif_ops); in snd_atiixp_pcm_new()
1319 pcm->private_data = chip; in snd_atiixp_pcm_new()
1321 strcpy(pcm->name, "ATI IXP IEC958 (AC97)"); in snd_atiixp_pcm_new()
1323 strcpy(pcm->name, "ATI IXP IEC958 (Direct)"); in snd_atiixp_pcm_new()
1324 chip->pcmdevs[ATI_PCMDEV_DIGITAL] = pcm; in snd_atiixp_pcm_new()
1326 snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, in snd_atiixp_pcm_new()