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

Side by Side Diff: chromeos/drivers/ath6kl/include/common/AR6002/hw2.0/hw/mbox_host_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 _MBOX_HOST_REG_REG_H_ 1 #ifndef _MBOX_HOST_REG_REG_H_
21 #define _MBOX_HOST_REG_REG_H_ 2 #define _MBOX_HOST_REG_REG_H_
22 3
23 #define HOST_INT_STATUS_ADDRESS 0x00000400 4 #define HOST_INT_STATUS_ADDRESS 0x00000400
24 #define HOST_INT_STATUS_OFFSET 0x00000400 5 #define HOST_INT_STATUS_OFFSET 0x00000400
25 #define HOST_INT_STATUS_ERROR_MSB 7 6 #define HOST_INT_STATUS_ERROR_MSB 7
26 #define HOST_INT_STATUS_ERROR_LSB 7 7 #define HOST_INT_STATUS_ERROR_LSB 7
27 #define HOST_INT_STATUS_ERROR_MASK 0x00000080 8 #define HOST_INT_STATUS_ERROR_MASK 0x00000080
28 #define HOST_INT_STATUS_ERROR_GET(x) (((x) & HOST_INT_STATUS_ERROR_M ASK) >> HOST_INT_STATUS_ERROR_LSB) 9 #define HOST_INT_STATUS_ERROR_GET(x) (((x) & HOST_INT_STATUS_ERROR_M ASK) >> HOST_INT_STATUS_ERROR_LSB)
29 #define HOST_INT_STATUS_ERROR_SET(x) (((x) << HOST_INT_STATUS_ERROR_ LSB) & HOST_INT_STATUS_ERROR_MASK) 10 #define HOST_INT_STATUS_ERROR_SET(x) (((x) << HOST_INT_STATUS_ERROR_ LSB) & HOST_INT_STATUS_ERROR_MASK)
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 volatile unsigned char spi_config; 377 volatile unsigned char spi_config;
397 volatile unsigned char spi_status; 378 volatile unsigned char spi_status;
398 volatile unsigned char non_assoc_sleep_en; 379 volatile unsigned char non_assoc_sleep_en;
399 unsigned char pad7[381]; /* pad to 0x600 */ 380 unsigned char pad7[381]; /* pad to 0x600 */
400 volatile unsigned char cis_window[512]; 381 volatile unsigned char cis_window[512];
401 } mbox_host_reg_reg_t; 382 } mbox_host_reg_reg_t;
402 383
403 #endif /* __ASSEMBLER__ */ 384 #endif /* __ASSEMBLER__ */
404 385
405 #endif /* _MBOX_HOST_REG_H_ */ 386 #endif /* _MBOX_HOST_REG_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698