#include <drv_types.h>
#include <rtw_debug.h>
#include <rtl8723b_hal.h>
static void hal_sdio_get_cmd_addr_8723b(
struct adapter *adapter,
u8 device_id,
u32 addr,
u32 *cmdaddr
)
{ … }
static u8 get_deviceid(u32 addr)
{ … }
static u32 _cvrt2ftaddr(const u32 addr, u8 *pdevice_id, u16 *poffset)
{ … }
static u8 sdio_read8(struct intf_hdl *intfhdl, u32 addr)
{ … }
static u16 sdio_read16(struct intf_hdl *intfhdl, u32 addr)
{ … }
static u32 sdio_read32(struct intf_hdl *intfhdl, u32 addr)
{ … }
static s32 sdio_readN(struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *buf)
{ … }
static s32 sdio_write8(struct intf_hdl *intfhdl, u32 addr, u8 val)
{ … }
static s32 sdio_write16(struct intf_hdl *intfhdl, u32 addr, u16 val)
{ … }
static s32 sdio_write32(struct intf_hdl *intfhdl, u32 addr, u32 val)
{ … }
static s32 sdio_writeN(struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *buf)
{ … }
static void sdio_read_mem(
struct intf_hdl *intfhdl,
u32 addr,
u32 cnt,
u8 *rmem
)
{ … }
static void sdio_write_mem(
struct intf_hdl *intfhdl,
u32 addr,
u32 cnt,
u8 *wmem
)
{ … }
static u32 sdio_read_port(
struct intf_hdl *intfhdl,
u32 addr,
u32 cnt,
u8 *mem
)
{ … }
static u32 sdio_write_port(
struct intf_hdl *intfhdl,
u32 addr,
u32 cnt,
u8 *mem
)
{ … }
void sdio_set_intf_ops(struct adapter *adapter, struct _io_ops *ops)
{ … }
static s32 _sdio_local_read(
struct adapter *adapter,
u32 addr,
u32 cnt,
u8 *buf
)
{ … }
s32 sdio_local_read(
struct adapter *adapter,
u32 addr,
u32 cnt,
u8 *buf
)
{ … }
s32 sdio_local_write(
struct adapter *adapter,
u32 addr,
u32 cnt,
u8 *buf
)
{ … }
u8 SdioLocalCmd52Read1Byte(struct adapter *adapter, u32 addr)
{ … }
static u16 sdio_local_cmd52_read2byte(struct adapter *adapter, u32 addr)
{ … }
static u32 sdio_local_cmd53_read4byte(struct adapter *adapter, u32 addr)
{ … }
void SdioLocalCmd52Write1Byte(struct adapter *adapter, u32 addr, u8 v)
{ … }
static void sdio_local_cmd52_write4byte(struct adapter *adapter, u32 addr, u32 v)
{ … }
static s32 read_interrupt_8723b_sdio(struct adapter *adapter, u32 *phisr)
{ … }
void InitInterrupt8723BSdio(struct adapter *adapter)
{ … }
void InitSysInterrupt8723BSdio(struct adapter *adapter)
{ … }
void EnableInterrupt8723BSdio(struct adapter *adapter)
{ … }
void DisableInterrupt8723BSdio(struct adapter *adapter)
{ … }
u8 CheckIPSStatus(struct adapter *adapter)
{ … }
static struct recv_buf *sd_recv_rxfifo(struct adapter *adapter, u32 size)
{ … }
static void sd_rxhandler(struct adapter *adapter, struct recv_buf *recvbuf)
{ … }
void sd_int_dpc(struct adapter *adapter)
{ … }
void sd_int_hdl(struct adapter *adapter)
{ … }
u8 HalQueryTxBufferStatus8723BSdio(struct adapter *adapter)
{ … }
void HalQueryTxOQTBufferStatus8723BSdio(struct adapter *adapter)
{ … }