net: wireless: rockchip_wlan: add rtl8723bs support
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / rtl8723bs / include / sdio_ops_ce.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  ******************************************************************************/\r
20 #ifndef _SDIO_OPS_WINCE_H_\r
21 #define _SDIO_OPS_WINCE_H_\r
22 \r
23 #include <drv_conf.h>\r
24 #include <osdep_service.h>\r
25 #include <drv_types.h>\r
26 #include <osdep_intf.h>\r
27 \r
28 \r
29 #ifdef PLATFORM_OS_CE\r
30 \r
31 \r
32 extern u8 sdbus_cmd52r_ce(struct intf_priv *pintfpriv, u32 addr);\r
33 \r
34 \r
35 extern void sdbus_cmd52w_ce(struct intf_priv *pintfpriv, u32 addr,u8 val8);\r
36 \r
37 \r
38 uint sdbus_read_blocks_to_membuf_ce(struct intf_priv *pintfpriv, u32 addr, u32 cnt, u8 *pbuf);\r
39 \r
40 extern uint sdbus_read_bytes_to_membuf_ce(struct intf_priv *pintfpriv, u32 addr, u32 cnt, u8 *pbuf);\r
41 \r
42 \r
43 extern uint sdbus_write_blocks_from_membuf_ce(struct intf_priv *pintfpriv, u32 addr, u32 cnt, u8 *pbuf,u8 async);\r
44 \r
45 extern uint sdbus_write_bytes_from_membuf_ce(struct intf_priv *pintfpriv, u32 addr, u32 cnt, u8 *pbuf);\r
46 extern u8 sdbus_func1cmd52r_ce(struct intf_priv *pintfpriv, u32 addr);\r
47 extern void sdbus_func1cmd52w_ce(struct intf_priv *pintfpriv, u32 addr, u8 val8);\r
48 extern uint sdbus_read_reg(struct intf_priv *pintfpriv, u32 addr, u32 cnt,void *pdata);\r
49 extern uint sdbus_write_reg(struct intf_priv *pintfpriv, u32 addr, u32 cnt,void *pdata);\r
50 extern void sdio_read_int(_adapter *padapter, u32 addr,u8 sz,void *pdata);\r
51 \r
52 #endif\r
53 \r
54 #endif\r
55 \r