Lines Matching full:ac97

8  * Au1xxx-PSC AC97 glue.
54 /* this could theoretically work, but ac97->bus->card->private_data can be NULL
70 /* AC97 controller reads codec register */
71 static unsigned short au1xpsc_ac97_read(struct snd_ac97 *ac97, in au1xpsc_ac97_read() argument
74 struct au1xpsc_audio_data *pscdata = ac97_to_pscdata(ac97); in au1xpsc_ac97_read()
111 /* AC97 controller writes to codec register */
112 static void au1xpsc_ac97_write(struct snd_ac97 *ac97, unsigned short reg, in au1xpsc_ac97_write() argument
115 struct au1xpsc_audio_data *pscdata = ac97_to_pscdata(ac97); in au1xpsc_ac97_write()
143 /* AC97 controller asserts a warm reset */
144 static void au1xpsc_ac97_warm_reset(struct snd_ac97 *ac97) in au1xpsc_ac97_warm_reset() argument
146 struct au1xpsc_audio_data *pscdata = ac97_to_pscdata(ac97); in au1xpsc_ac97_warm_reset()
155 static void au1xpsc_ac97_cold_reset(struct snd_ac97 *ac97) in au1xpsc_ac97_cold_reset() argument
157 struct au1xpsc_audio_data *pscdata = ac97_to_pscdata(ac97); in au1xpsc_ac97_cold_reset()
183 printk(KERN_ERR "au1xpsc-ac97: PSC not ready!\n"); in au1xpsc_ac97_cold_reset()
187 /* enable the ac97 function */ in au1xpsc_ac97_cold_reset()
191 /* wait for AC97 core to become ready */ in au1xpsc_ac97_cold_reset()
196 printk(KERN_ERR "au1xpsc-ac97: AC97 ctrl not ready\n"); in au1xpsc_ac97_cold_reset()
199 /* AC97 controller operations */
247 /* ac97 engine is about to be disabled */ in au1xpsc_ac97_hw_params()
250 /* disable AC97 device controller first... */ in au1xpsc_ac97_hw_params()
260 printk(KERN_ERR "PSC-AC97: can't disable!\n"); in au1xpsc_ac97_hw_params()
266 /* ...enable the AC97 controller again... */ in au1xpsc_ac97_hw_params()
276 printk(KERN_ERR "PSC-AC97: can't enable!\n"); in au1xpsc_ac97_hw_params()
359 .name = "au1xpsc-ac97",
391 /* configuration: max dma trigger threshold, enable ac97 */ in au1xpsc_ac97_drvprobe()
404 /* name the DAI like this device instance ("au1xpsc-ac97.PSCINDEX") */ in au1xpsc_ac97_drvprobe()
463 /* after this point the ac97 core will cold-reset the codec. in au1xpsc_ac97_drvresume()
495 MODULE_DESCRIPTION("Au12x0/Au1550 PSC AC97 ALSA ASoC audio driver");