slub: rename calculate_min_partial() to set_min_partial()
[linux-block.git] / drivers / staging / benet / regmap.h
1 /*
2  * Copyright (C) 2005 - 2008 ServerEngines
3  * All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License version 2
7  * as published by the Free Software Foundation.  The full GNU General
8  * Public License is included in this distribution in the file called COPYING.
9  *
10  * Contact Information:
11  * linux-drivers@serverengines.com
12  *
13  * ServerEngines
14  * 209 N. Fair Oaks Ave
15  * Sunnyvale, CA 94085
16  */
17 /*
18  * Autogenerated by srcgen version: 0127
19  */
20 #ifndef __regmap_amap_h__
21 #define __regmap_amap_h__
22 #include "pcicfg.h"
23 #include "ep.h"
24 #include "cev.h"
25 #include "mpu.h"
26 #include "doorbells.h"
27
28 /*
29  * This is the control and status register map for BladeEngine, showing
30  * the relative size and offset of each sub-module. The CSR registers
31  * are identical for the network and storage PCI functions. The
32  * CSR map is shown below, followed by details of each block,
33  * in sub-sections.  The sub-sections begin with a description
34  * of CSRs that are instantiated in multiple blocks.
35  */
36 struct BE_BLADE_ENGINE_CSRMAP_AMAP {
37         struct BE_MPU_CSRMAP_AMAP mpu;
38         u8 rsvd0[8192]; /* DWORD 256 */
39         u8 rsvd1[8192]; /* DWORD 512 */
40         struct BE_CEV_CSRMAP_AMAP cev;
41         u8 rsvd2[8192]; /* DWORD 1024 */
42         u8 rsvd3[8192]; /* DWORD 1280 */
43         u8 rsvd4[8192]; /* DWORD 1536 */
44         u8 rsvd5[8192]; /* DWORD 1792 */
45         u8 rsvd6[8192]; /* DWORD 2048 */
46         u8 rsvd7[8192]; /* DWORD 2304 */
47         u8 rsvd8[8192]; /* DWORD 2560 */
48         u8 rsvd9[8192]; /* DWORD 2816 */
49         u8 rsvd10[8192];        /* DWORD 3072 */
50         u8 rsvd11[8192];        /* DWORD 3328 */
51         u8 rsvd12[8192];        /* DWORD 3584 */
52         u8 rsvd13[8192];        /* DWORD 3840 */
53         u8 rsvd14[8192];        /* DWORD 4096 */
54         u8 rsvd15[8192];        /* DWORD 4352 */
55         u8 rsvd16[8192];        /* DWORD 4608 */
56         u8 rsvd17[8192];        /* DWORD 4864 */
57         u8 rsvd18[8192];        /* DWORD 5120 */
58         u8 rsvd19[8192];        /* DWORD 5376 */
59         u8 rsvd20[8192];        /* DWORD 5632 */
60         u8 rsvd21[8192];        /* DWORD 5888 */
61         u8 rsvd22[8192];        /* DWORD 6144 */
62         u8 rsvd23[17152][32];   /* DWORD 6400 */
63 } __packed;
64 struct BLADE_ENGINE_CSRMAP_AMAP {
65         u32 dw[23552];
66 };
67
68 #endif /* __regmap_amap_h__ */