/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_io.c | 38 _read8 = pintfhdl->io_ops._read8; in rtw_read8() 40 return _read8(pintfhdl, addr); in rtw_read8() 50 _read16 = pintfhdl->io_ops._read16; in rtw_read16() 52 return _read16(pintfhdl, addr); in rtw_read16() 62 _read32 = pintfhdl->io_ops._read32; in rtw_read32() 64 return _read32(pintfhdl, addr); in rtw_read32() 76 _write8 = pintfhdl->io_ops._write8; in rtw_write8() 78 ret = _write8(pintfhdl, addr, val); in rtw_write8() 90 _write16 = pintfhdl->io_ops._write16; in rtw_write16() 92 ret = _write16(pintfhdl, addr, val); in rtw_write16() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | sdio_ops_linux.c | 42 padapter = pintfhdl->padapter; in _sd_cmd52_read() 43 psdiodev = pintfhdl->pintf_dev; in _sd_cmd52_read() 74 padapter = pintfhdl->padapter; in sd_cmd52_read() 75 psdiodev = pintfhdl->pintf_dev; in sd_cmd52_read() 106 padapter = pintfhdl->padapter; in _sd_cmd52_write() 107 psdiodev = pintfhdl->pintf_dev; in _sd_cmd52_write() 138 padapter = pintfhdl->padapter; in sd_cmd52_write() 139 psdiodev = pintfhdl->pintf_dev; in sd_cmd52_write() 166 padapter = pintfhdl->padapter; in sd_read8() 193 padapter = pintfhdl->padapter; in sd_read32() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | sdio_ops_linux.h | 14 s32 _sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); 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); 19 u8 sd_read8(struct intf_hdl *pintfhdl, u32 addr, s32 *err); 20 u32 sd_read32(struct intf_hdl *pintfhdl, u32 addr, s32 *err); 21 s32 _sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); 22 s32 sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); 23 void sd_write8(struct intf_hdl *pintfhdl, u32 addr, u8 v, s32 *err); 24 void sd_write32(struct intf_hdl *pintfhdl, u32 addr, u32 v, s32 *err); 25 s32 _sd_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); [all …]
|
H A D | rtw_io.h | 80 u8 (*_read8)(struct intf_hdl *pintfhdl, u32 addr); 81 u16 (*_read16)(struct intf_hdl *pintfhdl, u32 addr); 82 u32 (*_read32)(struct intf_hdl *pintfhdl, u32 addr); 84 int (*_write8)(struct intf_hdl *pintfhdl, u32 addr, u8 val); 85 int (*_write16)(struct intf_hdl *pintfhdl, u32 addr, u16 val); 86 int (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); 98 u32 (*_read_interrupt)(struct intf_hdl *pintfhdl, u32 addr); 103 u32 (*_write_scsi)(struct intf_hdl *pintfhdl, u32 cnt, u8 *pmem); 105 void (*_read_port_cancel)(struct intf_hdl *pintfhdl); 106 void (*_write_port_cancel)(struct intf_hdl *pintfhdl); [all …]
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl871x_io.c | 77 static uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl) in register_intf_hdl() argument 81 pintfhdl->intf_option = 0; in register_intf_hdl() 82 pintfhdl->adapter = dev; in register_intf_hdl() 83 pintfhdl->intf_dev = (u8 *)&adapter->dvobjpriv; in register_intf_hdl() 84 if (!_init_intf_hdl(adapter, pintfhdl)) in register_intf_hdl() 91 static void unregister_intf_hdl(struct intf_hdl *pintfhdl) in unregister_intf_hdl() argument 93 _unload_intf_hdl(pintfhdl->pintfpriv); in unregister_intf_hdl() 94 memset((u8 *)pintfhdl, 0, sizeof(struct intf_hdl)); in unregister_intf_hdl()
|
H A D | rtl871x_io.h | 75 u8 (*_read8)(struct intf_hdl *pintfhdl, u32 addr); 76 u16 (*_read16)(struct intf_hdl *pintfhdl, u32 addr); 77 u32 (*_read32)(struct intf_hdl *pintfhdl, u32 addr); 87 void (*_write8)(struct intf_hdl *pintfhdl, u32 addr, u8 val); 88 void (*_write16)(struct intf_hdl *pintfhdl, u32 addr, u16 val); 89 void (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); 90 void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, 92 void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, 95 u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, 97 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt,
|
H A D | usb_ops.h | 21 void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr, 23 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, 25 u32 r8712_usb_read_port(struct intf_hdl *pintfhdl, u32 addr,
|
H A D | usb_ops_linux.c | 157 void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_mem() argument 160 struct _adapter *padapter = (struct _adapter *)pintfhdl->adapter; in r8712_usb_write_mem() 161 struct intf_priv *pintfpriv = pintfhdl->pintfpriv; in r8712_usb_write_mem() 242 u32 r8712_usb_read_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *rmem) in r8712_usb_read_port() argument 251 struct intf_priv *pintfpriv = pintfhdl->pintfpriv; in r8712_usb_read_port() 380 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_port() argument 387 struct _adapter *padapter = (struct _adapter *)pintfhdl->adapter; in r8712_usb_write_port()
|