Merge branch 'for-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[deliverable/linux.git] / drivers / staging / rtl8712 / usb_ops.h
CommitLineData
0e54f609
AB
1/******************************************************************************
2 *
3 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17 *
b4f6209d
AB
18 * Modifications for inclusion into the Linux staging tree are
19 * Copyright(c) 2010 Larry Finger. All rights reserved.
20 *
21 * Contact information:
22 * WLAN FAE <wlanfae@realtek.com>
23 * Larry Finger <Larry.Finger@lwfinger.net>
0e54f609
AB
24 *
25 ******************************************************************************/
2865d42c
LF
26#ifndef __USB_OPS_H_
27#define __USB_OPS_H_
28
29#include "osdep_service.h"
30#include "drv_types.h"
31#include "osdep_intf.h"
32
33void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr,
34 u32 cnt, u8 *wmem);
35u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr,
36 u32 cnt, u8 *wmem);
37u32 r8712_usb_read_port(struct intf_hdl *pintfhdl, u32 addr,
38 u32 cnt, u8 *rmem);
39void r8712_usb_set_intf_option(u32 *poption);
40void r8712_usb_set_intf_funs(struct intf_hdl *pintf_hdl);
41uint r8712_usb_init_intf_priv(struct intf_priv *pintfpriv);
42void r8712_usb_unload_intf_priv(struct intf_priv *pintfpriv);
43void r8712_usb_set_intf_ops(struct _io_ops *pops);
44void r8712_usb_read_port_cancel(struct _adapter *padapter);
45void r8712_usb_write_port_cancel(struct _adapter *padapter);
46int r8712_usbctrl_vendorreq(struct intf_priv *pintfpriv, u8 request, u16 value,
47 u16 index, void *pdata, u16 len, u8 requesttype);
48
49#endif
50
This page took 0.599008 seconds and 5 git commands to generate.