1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
6 * Modifications for inclusion into the Linux staging tree are
7 * Copyright(c) 2010 Larry Finger. All rights reserved.
13 ******************************************************************************/
17 #include "osdep_service.h"
18 #include "drv_types.h"
19 #include "osdep_intf.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,
27 void r8712_usb_set_intf_option(u32 *poption);
28 void r8712_usb_set_intf_funs(struct intf_hdl *pintf_hdl);
29 uint r8712_usb_init_intf_priv(struct intf_priv *pintfpriv);
30 void r8712_usb_unload_intf_priv(struct intf_priv *pintfpriv);
31 void r8712_usb_set_intf_ops(struct _io_ops *pops);
32 void r8712_usb_read_port_cancel(struct _adapter *padapter);
33 void r8712_usb_write_port_cancel(struct _adapter *padapter);
34 int r8712_usbctrl_vendorreq(struct intf_priv *pintfpriv, u8 request, u16 value,
35 u16 index, void *pdata, u16 len, u8 requesttype);