sfc: Get port number from CS_PORT_NUM, not PCI function number
[zen-stable.git] / sound / soc / s3c24xx / lm4857.h
blob0cf5b7011d6fb7171d67f6ed73c898b76d8d74e6
1 /*
2 * lm4857.h -- ALSA Soc Audio Layer
4 * Copyright 2007 Wolfson Microelectronics PLC.
5 * Author: Graeme Gregory
6 * graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
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.
13 * Revision history
14 * 18th Jun 2007 Initial version.
17 #ifndef LM4857_H_
18 #define LM4857_H_
20 /* The register offsets in the cache array */
21 #define LM4857_MVOL 0
22 #define LM4857_LVOL 1
23 #define LM4857_RVOL 2
24 #define LM4857_CTRL 3
26 /* the shifts required to set these bits */
27 #define LM4857_3D 5
28 #define LM4857_WAKEUP 5
29 #define LM4857_EPGAIN 4
31 #endif /*LM4857_H_*/