| Graeme Gregory | 050f05e | 2007-05-14 11:02:51 +0200 | [diff] [blame] | 1 | /* | 
 | 2 |  * s3c24xx-ac97.c  --  ALSA Soc Audio Layer | 
 | 3 |  * | 
 | 4 |  * (c) 2007 Wolfson Microelectronics PLC. | 
 | 5 |  * Author: Graeme Gregory | 
 | 6 |  *         graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com | 
 | 7 |  * | 
 | 8 |  *  This program is free software; you can redistribute  it and/or modify it | 
 | 9 |  *  under  the terms of  the GNU General  Public License as published by the | 
 | 10 |  *  Free Software Foundation;  either version 2 of the  License, or (at your | 
 | 11 |  *  option) any later version. | 
 | 12 |  * | 
 | 13 |  *  Revision history | 
 | 14 |  *    10th Nov 2006   Initial version. | 
 | 15 |  */ | 
 | 16 |  | 
 | 17 | #ifndef S3C24XXAC97_H_ | 
 | 18 | #define S3C24XXAC97_H_ | 
 | 19 |  | 
 | 20 | #define AC_CMD_ADDR(x) (x << 16) | 
 | 21 | #define AC_CMD_DATA(x) (x & 0xffff) | 
 | 22 |  | 
| Ivan Kuten | 040956f | 2007-10-26 14:53:47 +0200 | [diff] [blame] | 23 | #ifdef CONFIG_CPU_S3C2440 | 
 | 24 | #define IRQ_S3C244x_AC97 IRQ_S3C2440_AC97 | 
 | 25 | #else | 
 | 26 | #define IRQ_S3C244x_AC97 IRQ_S3C2443_AC97 | 
 | 27 | #endif | 
 | 28 |  | 
| Graeme Gregory | 050f05e | 2007-05-14 11:02:51 +0200 | [diff] [blame] | 29 | extern struct snd_soc_cpu_dai s3c2443_ac97_dai[]; | 
 | 30 |  | 
 | 31 | #endif /*S3C24XXAC97_H_*/ |