Linux-libre 4.14.145-gnu
[librecmc/linux-libre.git] / drivers / staging / rtl8723bs / 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  ******************************************************************************/
15 #ifndef __DRV_TYPES_SDIO_H__
16 #define __DRV_TYPES_SDIO_H__
17
18 /*  SDIO Header Files */
19         #include <linux/mmc/sdio_func.h>
20         #include <linux/mmc/sdio_ids.h>
21
22 #if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN)
23         #include <linux/mmc/host.h>
24         #include <linux/mmc/card.h>
25 #endif
26
27 typedef struct sdio_data
28 {
29         u8  func_number;
30
31         u8  tx_block_mode;
32         u8  rx_block_mode;
33         u32 block_transfer_len;
34
35         struct sdio_func         *func;
36         void *sys_sdio_irq_thd;
37 } SDIO_DATA, *PSDIO_DATA;
38
39 #endif