ata: libata-core: fetch sense data for successful commands iff CDL enabled
[linux-2.6-block.git] / drivers / staging / rtl8712 / usb_ops.h
CommitLineData
e24c1f86 1/* SPDX-License-Identifier: GPL-2.0 */
0e54f609
AB
2/******************************************************************************
3 *
4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
5 *
b4f6209d
AB
6 * Modifications for inclusion into the Linux staging tree are
7 * Copyright(c) 2010 Larry Finger. All rights reserved.
8 *
9 * Contact information:
10 * WLAN FAE <wlanfae@realtek.com>
11 * Larry Finger <Larry.Finger@lwfinger.net>
0e54f609
AB
12 *
13 ******************************************************************************/
2865d42c
LF
14#ifndef __USB_OPS_H_
15#define __USB_OPS_H_
16
17#include "osdep_service.h"
18#include "drv_types.h"
19#include "osdep_intf.h"
20
21void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr,
22 u32 cnt, u8 *wmem);
23u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr,
d03f499e 24 u32 cnt, u8 *wmem);
2865d42c 25u32 r8712_usb_read_port(struct intf_hdl *pintfhdl, u32 addr,
d03f499e 26 u32 cnt, u8 *rmem);
2865d42c
LF
27void r8712_usb_set_intf_option(u32 *poption);
28void r8712_usb_set_intf_funs(struct intf_hdl *pintf_hdl);
29uint r8712_usb_init_intf_priv(struct intf_priv *pintfpriv);
30void r8712_usb_unload_intf_priv(struct intf_priv *pintfpriv);
31void r8712_usb_set_intf_ops(struct _io_ops *pops);
32void r8712_usb_read_port_cancel(struct _adapter *padapter);
33void r8712_usb_write_port_cancel(struct _adapter *padapter);
34int r8712_usbctrl_vendorreq(struct intf_priv *pintfpriv, u8 request, u16 value,
d03f499e 35 u16 index, void *pdata, u16 len, u8 requesttype);
2865d42c
LF
36
37#endif
38