/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_io.c | 43 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_read8() local 44 u8 (*_read8)(struct intf_hdl *pintfhdl, u32 addr); in _rtw_read8() 46 _read8 = pintfhdl->io_ops._read8; in _rtw_read8() 48 r_val = _read8(pintfhdl, addr); in _rtw_read8() 57 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_read16() local 58 u16 (*_read16)(struct intf_hdl *pintfhdl, u32 addr); in _rtw_read16() 60 _read16 = pintfhdl->io_ops._read16; in _rtw_read16() 62 r_val = _read16(pintfhdl, addr); in _rtw_read16() 71 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_read32() local 72 u32 (*_read32)(struct intf_hdl *pintfhdl, u32 addr); in _rtw_read32() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | sdio_ops_linux.c | 29 u8 sd_f0_read8(struct intf_hdl *pintfhdl, u32 addr, s32 *err) in sd_f0_read8() argument 39 padapter = pintfhdl->padapter; in sd_f0_read8() 40 psdiodev = pintfhdl->pintf_dev; in sd_f0_read8() 66 s32 _sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata) in _sd_cmd52_read() argument 75 padapter = pintfhdl->padapter; in _sd_cmd52_read() 76 psdiodev = pintfhdl->pintf_dev; in _sd_cmd52_read() 101 s32 sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata) in sd_cmd52_read() argument 111 padapter = pintfhdl->padapter; in sd_cmd52_read() 112 psdiodev = pintfhdl->pintf_dev; in sd_cmd52_read() 125 err = _sd_cmd52_read(pintfhdl, addr, cnt, pdata); in sd_cmd52_read() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/include/ |
D | sdio_ops_linux.h | 14 u8 sd_f0_read8(struct intf_hdl *pintfhdl, u32 addr, s32 *err); 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); 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); [all …]
|
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); 87 int (*_writeN)(struct intf_hdl *pintfhdl, u32 addr, u32 length, u8 *pdata); 89 int (*_write8_async)(struct intf_hdl *pintfhdl, u32 addr, u8 val); 90 int (*_write16_async)(struct intf_hdl *pintfhdl, u32 addr, u16 val); 91 int (*_write32_async)(struct intf_hdl *pintfhdl, u32 addr, u32 val); [all …]
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | usb_ops.c | 37 static u8 usb_read8(struct intf_hdl *pintfhdl, u32 addr) in usb_read8() argument 45 struct intf_priv *pintfpriv = pintfhdl->pintfpriv; in usb_read8() 57 static u16 usb_read16(struct intf_hdl *pintfhdl, u32 addr) in usb_read16() argument 65 struct intf_priv *pintfpriv = pintfhdl->pintfpriv; in usb_read16() 77 static u32 usb_read32(struct intf_hdl *pintfhdl, u32 addr) in usb_read32() argument 85 struct intf_priv *pintfpriv = pintfhdl->pintfpriv; in usb_read32() 97 static void usb_write8(struct intf_hdl *pintfhdl, u32 addr, u8 val) in usb_write8() argument 105 struct intf_priv *pintfpriv = pintfhdl->pintfpriv; in usb_write8() 117 static void usb_write16(struct intf_hdl *pintfhdl, u32 addr, u16 val) in usb_write16() argument 125 struct intf_priv *pintfpriv = pintfhdl->pintfpriv; in usb_write16() [all …]
|
D | rtl871x_io.c | 89 static uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl) in register_intf_hdl() argument 93 pintfhdl->intf_option = 0; in register_intf_hdl() 94 pintfhdl->adapter = dev; in register_intf_hdl() 95 pintfhdl->intf_dev = (u8 *)&(adapter->dvobjpriv); in register_intf_hdl() 96 if (!_init_intf_hdl(adapter, pintfhdl)) in register_intf_hdl() 103 static void unregister_intf_hdl(struct intf_hdl *pintfhdl) in unregister_intf_hdl() argument 105 _unload_intf_hdl(pintfhdl->pintfpriv); in unregister_intf_hdl() 106 memset((u8 *)pintfhdl, 0, sizeof(struct intf_hdl)); in unregister_intf_hdl()
|
D | rtl871x_io.h | 87 u8 (*_read8)(struct intf_hdl *pintfhdl, u32 addr); 88 u16 (*_read16)(struct intf_hdl *pintfhdl, u32 addr); 89 u32 (*_read32)(struct intf_hdl *pintfhdl, u32 addr); 99 void (*_write8)(struct intf_hdl *pintfhdl, u32 addr, u8 val); 100 void (*_write16)(struct intf_hdl *pintfhdl, u32 addr, u16 val); 101 void (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); 102 void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, 104 void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, 107 u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, 109 u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt,
|
D | usb_ops.h | 33 void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr, 35 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, 37 u32 r8712_usb_read_port(struct intf_hdl *pintfhdl, u32 addr,
|
D | usb_ops_linux.c | 169 void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_mem() argument 172 struct _adapter *padapter = (struct _adapter *)pintfhdl->adapter; in r8712_usb_write_mem() 173 struct intf_priv *pintfpriv = pintfhdl->pintfpriv; in r8712_usb_write_mem() 254 u32 r8712_usb_read_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *rmem) in r8712_usb_read_port() argument 263 struct intf_priv *pintfpriv = pintfhdl->pintfpriv; in r8712_usb_read_port() 391 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_port() argument 398 struct _adapter *padapter = (struct _adapter *)pintfhdl->adapter; in r8712_usb_write_port()
|
D | usb_halinit.c | 299 struct intf_hdl *pintfhdl = &padapter->pio_queue->intf; in r8712_usb_inirp_init() local 306 if (r8712_usb_read_port(pintfhdl, precvpriv->ff_hwaddr, 0, in r8712_usb_inirp_init()
|