| OLD | NEW |
| 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 Loading... |
| 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_ */ |
| OLD | NEW |