| 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 _SI_REG_REG_H_ | 1 #ifndef _SI_REG_REG_H_ |
| 21 #define _SI_REG_REG_H_ | 2 #define _SI_REG_REG_H_ |
| 22 | 3 |
| 23 #define SI_CONFIG_ADDRESS 0x00000000 | 4 #define SI_CONFIG_ADDRESS 0x00000000 |
| 24 #define SI_CONFIG_OFFSET 0x00000000 | 5 #define SI_CONFIG_OFFSET 0x00000000 |
| 25 #define SI_CONFIG_ERR_INT_MSB 19 | 6 #define SI_CONFIG_ERR_INT_MSB 19 |
| 26 #define SI_CONFIG_ERR_INT_LSB 19 | 7 #define SI_CONFIG_ERR_INT_LSB 19 |
| 27 #define SI_CONFIG_ERR_INT_MASK 0x00080000 | 8 #define SI_CONFIG_ERR_INT_MASK 0x00080000 |
| 28 #define SI_CONFIG_ERR_INT_GET(x) (((x) & SI_CONFIG_ERR_INT_MASK)
>> SI_CONFIG_ERR_INT_LSB) | 9 #define SI_CONFIG_ERR_INT_GET(x) (((x) & SI_CONFIG_ERR_INT_MASK)
>> SI_CONFIG_ERR_INT_LSB) |
| 29 #define SI_CONFIG_ERR_INT_SET(x) (((x) << SI_CONFIG_ERR_INT_LSB)
& SI_CONFIG_ERR_INT_MASK) | 10 #define SI_CONFIG_ERR_INT_SET(x) (((x) << SI_CONFIG_ERR_INT_LSB)
& SI_CONFIG_ERR_INT_MASK) |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 volatile unsigned int si_cs; | 177 volatile unsigned int si_cs; |
| 197 volatile unsigned int si_tx_data0; | 178 volatile unsigned int si_tx_data0; |
| 198 volatile unsigned int si_tx_data1; | 179 volatile unsigned int si_tx_data1; |
| 199 volatile unsigned int si_rx_data0; | 180 volatile unsigned int si_rx_data0; |
| 200 volatile unsigned int si_rx_data1; | 181 volatile unsigned int si_rx_data1; |
| 201 } si_reg_reg_t; | 182 } si_reg_reg_t; |
| 202 | 183 |
| 203 #endif /* __ASSEMBLER__ */ | 184 #endif /* __ASSEMBLER__ */ |
| 204 | 185 |
| 205 #endif /* _SI_REG_H_ */ | 186 #endif /* _SI_REG_H_ */ |
| OLD | NEW |