root/drivers/staging/rtl8723bs/include/sdio_ops.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 /******************************************************************************
   3  *
   4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
   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 /* extern void sdio_func1cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *rmem); */
  16 /* extern void sdio_func1cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem); */
  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 /*  CONFIG_WOWLAN */
  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 /* CONFIG_WOWLAN */
  40 
  41 #endif /*  !__SDIO_OPS_H__ */

/* [<][>][^][v][top][bottom][index][help] */