Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Side by Side Diff: chromeos/drivers/ath6kl/include/common/AR6002/hw2.0/hw/analog_intf_reg.h

Issue 3579004: ath6kl: Bringing in the upstream version (Closed) Base URL: http://git.chromium.org/git/kernel.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // ------------------------------------------------------------------
2 // Copyright (c) 2004-2007 Atheros Corporation. All rights reserved.
3 //
4 // This program is free software; you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License version 2 as
6 // published by the Free Software Foundation;
7 //
8 // Software distributed under the License is distributed on an "AS
9 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
10 // implied. See the License for the specific language governing
11 // rights and limitations under the License.
12 //
13 //
14 // ------------------------------------------------------------------
15 //===================================================================
16 // Author(s): ="Atheros"
17 //===================================================================
18
19
20 #ifndef _ANALOG_INTF_REG_REG_H_ 1 #ifndef _ANALOG_INTF_REG_REG_H_
21 #define _ANALOG_INTF_REG_REG_H_ 2 #define _ANALOG_INTF_REG_REG_H_
22 3
23 #define SW_OVERRIDE_ADDRESS 0x00000080 4 #define SW_OVERRIDE_ADDRESS 0x00000080
24 #define SW_OVERRIDE_OFFSET 0x00000080 5 #define SW_OVERRIDE_OFFSET 0x00000080
25 #define SW_OVERRIDE_SUPDATE_DELAY_MSB 1 6 #define SW_OVERRIDE_SUPDATE_DELAY_MSB 1
26 #define SW_OVERRIDE_SUPDATE_DELAY_LSB 1 7 #define SW_OVERRIDE_SUPDATE_DELAY_LSB 1
27 #define SW_OVERRIDE_SUPDATE_DELAY_MASK 0x00000002 8 #define SW_OVERRIDE_SUPDATE_DELAY_MASK 0x00000002
28 #define SW_OVERRIDE_SUPDATE_DELAY_GET(x) (((x) & SW_OVERRIDE_SUPDATE_DEL AY_MASK) >> SW_OVERRIDE_SUPDATE_DELAY_LSB) 9 #define SW_OVERRIDE_SUPDATE_DELAY_GET(x) (((x) & SW_OVERRIDE_SUPDATE_DEL AY_MASK) >> SW_OVERRIDE_SUPDATE_DELAY_LSB)
29 #define SW_OVERRIDE_SUPDATE_DELAY_SET(x) (((x) << SW_OVERRIDE_SUPDATE_DE LAY_LSB) & SW_OVERRIDE_SUPDATE_DELAY_MASK) 10 #define SW_OVERRIDE_SUPDATE_DELAY_SET(x) (((x) << SW_OVERRIDE_SUPDATE_DE LAY_LSB) & SW_OVERRIDE_SUPDATE_DELAY_MASK)
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 unsigned char pad0[128]; /* pad to 0x80 */ 55 unsigned char pad0[128]; /* pad to 0x80 */
75 volatile unsigned int sw_override; 56 volatile unsigned int sw_override;
76 volatile unsigned int sin_val; 57 volatile unsigned int sin_val;
77 volatile unsigned int sw_sclk; 58 volatile unsigned int sw_sclk;
78 volatile unsigned int sw_cntl; 59 volatile unsigned int sw_cntl;
79 } analog_intf_reg_reg_t; 60 } analog_intf_reg_reg_t;
80 61
81 #endif /* __ASSEMBLER__ */ 62 #endif /* __ASSEMBLER__ */
82 63
83 #endif /* _ANALOG_INTF_REG_H_ */ 64 #endif /* _ANALOG_INTF_REG_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698