Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus
[linux-btrfs-devel.git] / drivers / staging / rtl8712 / usb_ops.h
blobdc0611a2a0dfb5985b029336bc669f3f99b5e1aa
1 #ifndef __USB_OPS_H_
2 #define __USB_OPS_H_
4 #include "osdep_service.h"
5 #include "drv_types.h"
6 #include "osdep_intf.h"
8 void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr,
9 u32 cnt, u8 *wmem);
10 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr,
11 u32 cnt, u8 *wmem);
12 u32 r8712_usb_read_port(struct intf_hdl *pintfhdl, u32 addr,
13 u32 cnt, u8 *rmem);
14 void r8712_usb_set_intf_option(u32 *poption);
15 void r8712_usb_set_intf_funs(struct intf_hdl *pintf_hdl);
16 uint r8712_usb_init_intf_priv(struct intf_priv *pintfpriv);
17 void r8712_usb_unload_intf_priv(struct intf_priv *pintfpriv);
18 void r8712_usb_set_intf_ops(struct _io_ops *pops);
19 void r8712_usb_read_port_cancel(struct _adapter *padapter);
20 void r8712_usb_write_port_cancel(struct _adapter *padapter);
21 int r8712_usbctrl_vendorreq(struct intf_priv *pintfpriv, u8 request, u16 value,
22 u16 index, void *pdata, u16 len, u8 requesttype);
24 #endif