root/drivers/staging/rtl8723bs/include/sdio_ops_linux.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_LINUX_H__
   8 #define __SDIO_OPS_LINUX_H__
   9 
  10 #define SDIO_ERR_VAL8   0xEA
  11 #define SDIO_ERR_VAL16  0xEAEA
  12 #define SDIO_ERR_VAL32  0xEAEAEAEA
  13 
  14 u8 sd_f0_read8(struct intf_hdl *pintfhdl, u32 addr, s32 *err);
  15 
  16 s32 _sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata);
  17 s32 _sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata);
  18 s32 sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata);
  19 s32 sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata);
  20 
  21 u8 sd_read8(struct intf_hdl *pintfhdl, u32 addr, s32 *err);
  22 u32 sd_read32(struct intf_hdl *pintfhdl, u32 addr, s32 *err);
  23 s32 _sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata);
  24 s32 sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata);
  25 void sd_write8(struct intf_hdl *pintfhdl, u32 addr, u8 v, s32 *err);
  26 void sd_write32(struct intf_hdl *pintfhdl, u32 addr, u32 v, s32 *err);
  27 s32 _sd_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata);
  28 s32 sd_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata);
  29 
  30 
  31 void rtw_sdio_set_irq_thd(struct dvobj_priv *dvobj, void *thd_hdl);
  32 #endif

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