Linux 4.19.133
[linux/fpc-iii.git] / drivers / staging / vt6656 / usbpipe.h
blob5d7708fcf5578ab0b089a6a01a133d042fd9eca0
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
4 * All rights reserved.
6 * File: usbpipe.h
8 * Purpose:
10 * Author: Warren Hsu
12 * Date: Mar. 30, 2005
16 #ifndef __USBPIPE_H__
17 #define __USBPIPE_H__
19 #include "device.h"
21 int vnt_control_out(struct vnt_private *priv, u8 request, u16 value,
22 u16 index, u16 length, u8 *buffer);
23 int vnt_control_in(struct vnt_private *priv, u8 request, u16 value,
24 u16 index, u16 length, u8 *buffer);
26 void vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 ref_off, u8 data);
27 void vnt_control_in_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 *data);
29 int vnt_start_interrupt_urb(struct vnt_private *priv);
30 int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb);
31 int vnt_tx_context(struct vnt_private *priv,
32 struct vnt_usb_send_context *context);
34 #endif /* __USBPIPE_H__ */