add rk3288 pinctrl dts code
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rtl8192cu / include / drv_types_sdio.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
4  *                                        
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17  *
18  *
19  ******************************************************************************/
20 #ifndef __DRV_TYPES_SDIO_H__
21 #define __DRV_TYPES_SDIO_H__
22
23 #include <drv_conf.h>
24 #include <basic_types.h>
25
26 // SDIO Header Files
27 #ifdef PLATFORM_LINUX
28 #include <linux/mmc/sdio_func.h>
29 #endif
30 #ifdef PLATFORM_OS_XP
31 #include <wdm.h>
32 #include <ntddsd.h>
33 #endif
34 #ifdef PLATFORM_OS_CE
35 #include <sdcardddk.h>
36 #endif
37
38
39 typedef struct sdio_data
40 {
41         u8  func_number;
42  
43         u8  tx_block_mode;
44         u8  rx_block_mode;
45         u32 block_transfer_len;
46
47 #ifdef PLATFORM_LINUX
48         struct sdio_func         *func;
49 #endif
50
51 #ifdef PLATFORM_OS_XP
52         PDEVICE_OBJECT                          pphysdevobj;
53         PDEVICE_OBJECT                          pfuncdevobj;
54         PDEVICE_OBJECT                          pnextdevobj;
55         SDBUS_INTERFACE_STANDARD        sdbusinft;
56         u8                                                      nextdevstacksz;
57 #endif
58
59 #ifdef PLATFORM_OS_CE
60         SD_DEVICE_HANDLE                        hDevice;
61         SD_CARD_RCA                                     sd_rca;
62         SD_CARD_INTERFACE                       card_intf;
63         BOOLEAN                                         enableIsarWithStatus;
64         WCHAR                                           active_path[MAX_ACTIVE_REG_PATH];
65         SD_HOST_BLOCK_CAPABILITY        sd_host_blk_cap;
66 #endif
67 } SDIO_DATA, *PSDIO_DATA;
68
69 #endif
70