diff options
Diffstat (limited to 'include/sound/pxa2xx-lib.h')
-rw-r--r-- | include/sound/pxa2xx-lib.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/sound/pxa2xx-lib.h b/include/sound/pxa2xx-lib.h new file mode 100644 index 000000000000..d18dd2d35978 --- /dev/null +++ b/include/sound/pxa2xx-lib.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef PXA2XX_LIB_H | ||
2 | #define PXA2XX_LIB_H | ||
3 | |||
4 | #include <linux/platform_device.h> | ||
5 | #include <sound/ac97_codec.h> | ||
6 | |||
7 | extern unsigned short pxa2xx_ac97_read(struct snd_ac97 *ac97, unsigned short reg); | ||
8 | extern void pxa2xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val); | ||
9 | |||
10 | extern bool pxa2xx_ac97_try_warm_reset(struct snd_ac97 *ac97); | ||
11 | extern bool pxa2xx_ac97_try_cold_reset(struct snd_ac97 *ac97); | ||
12 | extern void pxa2xx_ac97_finish_reset(struct snd_ac97 *ac97); | ||
13 | |||
14 | extern int pxa2xx_ac97_hw_suspend(void); | ||
15 | extern int pxa2xx_ac97_hw_resume(void); | ||
16 | |||
17 | extern int pxa2xx_ac97_hw_probe(struct platform_device *dev); | ||
18 | extern void pxa2xx_ac97_hw_remove(struct platform_device *dev); | ||
19 | |||
20 | #endif | ||