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

Side by Side Diff: chromeos/drivers/ath6kl/include/common/AR6002/hw.0/mbox_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_REG_REG_H_ 1 #ifndef _MBOX_REG_REG_H_
21 #define _MBOX_REG_REG_H_ 2 #define _MBOX_REG_REG_H_
22 3
23 #define MBOX_FIFO_ADDRESS 0x00000000 4 #define MBOX_FIFO_ADDRESS 0x00000000
24 #define MBOX_FIFO_OFFSET 0x00000000 5 #define MBOX_FIFO_OFFSET 0x00000000
25 #define MBOX_FIFO_DATA_MSB 19 6 #define MBOX_FIFO_DATA_MSB 19
26 #define MBOX_FIFO_DATA_LSB 0 7 #define MBOX_FIFO_DATA_LSB 0
27 #define MBOX_FIFO_DATA_MASK 0x000fffff 8 #define MBOX_FIFO_DATA_MASK 0x000fffff
28 #define MBOX_FIFO_DATA_GET(x) (((x) & MBOX_FIFO_DATA_MASK) >> MBOX_FIFO_DATA_LSB) 9 #define MBOX_FIFO_DATA_GET(x) (((x) & MBOX_FIFO_DATA_MASK) >> MBOX_FIFO_DATA_LSB)
29 #define MBOX_FIFO_DATA_SET(x) (((x) << MBOX_FIFO_DATA_LSB) & MBOX_FIFO_DATA_MASK) 10 #define MBOX_FIFO_DATA_SET(x) (((x) << MBOX_FIFO_DATA_LSB) & MBOX_FIFO_DATA_MASK)
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 volatile unsigned int mbox_txfifo_pop[4]; 472 volatile unsigned int mbox_txfifo_pop[4];
492 volatile unsigned int mbox_rxfifo_pop[4]; 473 volatile unsigned int mbox_rxfifo_pop[4];
493 volatile unsigned int sdio_debug; 474 volatile unsigned int sdio_debug;
494 unsigned char pad1[7916]; /* pad to 0x2000 */ 475 unsigned char pad1[7916]; /* pad to 0x2000 */
495 volatile unsigned int host_if_window[2048]; 476 volatile unsigned int host_if_window[2048];
496 } mbox_reg_reg_t; 477 } mbox_reg_reg_t;
497 478
498 #endif /* __ASSEMBLER__ */ 479 #endif /* __ASSEMBLER__ */
499 480
500 #endif /* _MBOX_REG_H_ */ 481 #endif /* _MBOX_REG_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698