Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /******************************************************************************
0003  *
0004  * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
0005  *
0006  * Modifications for inclusion into the Linux staging tree are
0007  * Copyright(c) 2010 Larry Finger. All rights reserved.
0008  *
0009  * Contact information:
0010  * WLAN FAE <wlanfae@realtek.com>
0011  * Larry Finger <Larry.Finger@lwfinger.net>
0012  *
0013  ******************************************************************************/
0014 #ifndef __USB_OPS_H_
0015 #define __USB_OPS_H_
0016 
0017 #include "osdep_service.h"
0018 #include "drv_types.h"
0019 #include "osdep_intf.h"
0020 
0021 void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr,
0022              u32 cnt, u8 *wmem);
0023 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr,
0024              u32 cnt, u8 *wmem);
0025 u32 r8712_usb_read_port(struct intf_hdl *pintfhdl, u32 addr,
0026             u32 cnt, u8 *rmem);
0027 void r8712_usb_set_intf_option(u32 *poption);
0028 void r8712_usb_set_intf_funs(struct intf_hdl *pintf_hdl);
0029 uint r8712_usb_init_intf_priv(struct intf_priv *pintfpriv);
0030 void r8712_usb_unload_intf_priv(struct intf_priv *pintfpriv);
0031 void r8712_usb_set_intf_ops(struct _io_ops *pops);
0032 void r8712_usb_read_port_cancel(struct _adapter *padapter);
0033 void r8712_usb_write_port_cancel(struct _adapter *padapter);
0034 int r8712_usbctrl_vendorreq(struct intf_priv *pintfpriv, u8 request, u16 value,
0035                 u16 index, void *pdata, u16 len, u8 requesttype);
0036 
0037 #endif
0038