1
2
3
4
5
6
7 #ifndef __SDIO_OPS_H__
8 #define __SDIO_OPS_H__
9
10
11 #include <sdio_ops_linux.h>
12
13 extern void sdio_set_intf_ops(struct adapter *padapter, struct _io_ops *pops);
14
15
16
17 extern u8 SdioLocalCmd52Read1Byte(struct adapter *padapter, u32 addr);
18 extern void SdioLocalCmd52Write1Byte(struct adapter *padapter, u32 addr, u8 v);
19 extern s32 sdio_local_read(struct adapter *padapter, u32 addr, u32 cnt, u8 *pbuf);
20 extern s32 sdio_local_write(struct adapter *padapter, u32 addr, u32 cnt, u8 *pbuf);
21
22 u32 _sdio_read32(struct adapter *padapter, u32 addr);
23 s32 _sdio_write32(struct adapter *padapter, u32 addr, u32 val);
24
25 extern void sd_int_hdl(struct adapter *padapter);
26 extern u8 CheckIPSStatus(struct adapter *padapter);
27
28 #if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN)
29 extern u8 RecvOnePkt(struct adapter *padapter, u32 size);
30 #endif
31 extern void InitInterrupt8723BSdio(struct adapter *padapter);
32 extern void InitSysInterrupt8723BSdio(struct adapter *padapter);
33 extern void EnableInterrupt8723BSdio(struct adapter *padapter);
34 extern void DisableInterrupt8723BSdio(struct adapter *padapter);
35 extern u8 HalQueryTxBufferStatus8723BSdio(struct adapter *padapter);
36 extern void HalQueryTxOQTBufferStatus8723BSdio(struct adapter *padapter);
37 #if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN)
38 extern void ClearInterrupt8723BSdio(struct adapter *padapter);
39 #endif
40
41 #endif