aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/usbpipe.h
diff options
context:
space:
mode:
authorForest Bond <forest@alittletooquiet.net>2009-06-13 07:38:31 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 15:01:32 -0400
commit92b96797118e5836294a6d42a5a8e10b86f50e3f (patch)
tree1eceb1d70adc634da006f38c951a515de746e2c2 /drivers/staging/vt6656/usbpipe.h
parent36c7928c3e948cf8862d4b5c3df27c5a841cb503 (diff)
Staging: Add pristine upstream vt6656 driver sources to drivers/staging/vt6656.
Add pristine upstream vt6656 driver sources to drivers/staging/vt6656. These files were copied from the driver directory in the upstream source archive, available here: http://www.viaarena.com/Driver/VT6656_Linux_src_v1.19_12_x86.zip After copying, trailing whitespace was stripped. This is GPL-licensed code. Signed-off-by: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/usbpipe.h')
-rw-r--r--drivers/staging/vt6656/usbpipe.h116
1 files changed, 116 insertions, 0 deletions
diff --git a/drivers/staging/vt6656/usbpipe.h b/drivers/staging/vt6656/usbpipe.h
new file mode 100644
index 00000000000..729edadb491
--- /dev/null
+++ b/drivers/staging/vt6656/usbpipe.h
@@ -0,0 +1,116 @@
1/*
2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3 * All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 *
20 * File: usbpipe.h
21 *
22 * Purpose:
23 *
24 * Author: Warren Hsu
25 *
26 * Date: Mar. 30, 2005
27 *
28 */
29
30
31#ifndef __USBPIPE_H__
32#define __USBPIPE_H__
33
34#if !defined(__TTYPE_H__)
35#include "ttype.h"
36#endif
37#if !defined(__DEVICE_H__)
38#include "device.h"
39#endif
40
41
42
43/*--------------------- Export Definitions -------------------------*/
44
45/*--------------------- Export Classes ----------------------------*/
46
47/*--------------------- Export Variables --------------------------*/
48
49/*--------------------- Export Functions --------------------------*/
50#ifdef __cplusplus
51extern "C" { /* Assume C declarations for C++ */
52#endif /* __cplusplus */
53
54NTSTATUS
55PIPEnsControlOut(
56 IN PSDevice pDevice,
57 IN BYTE byRequest,
58 IN WORD wValue,
59 IN WORD wIndex,
60 IN WORD wLength,
61 IN PBYTE pbyBuffer
62 );
63
64
65
66NTSTATUS
67PIPEnsControlOutAsyn(
68 IN PSDevice pDevice,
69 IN BYTE byRequest,
70 IN WORD wValue,
71 IN WORD wIndex,
72 IN WORD wLength,
73 IN PBYTE pbyBuffer
74 );
75
76NTSTATUS
77PIPEnsControlIn(
78 IN PSDevice pDevice,
79 IN BYTE byRequest,
80 IN WORD wValue,
81 IN WORD wIndex,
82 IN WORD wLength,
83 IN OUT PBYTE pbyBuffer
84 );
85
86
87
88
89NTSTATUS
90PIPEnsInterruptRead(
91 IN PSDevice pDevice
92 );
93
94NTSTATUS
95PIPEnsBulkInUsbRead(
96 IN PSDevice pDevice,
97 IN PRCB pRCB
98 );
99
100NTSTATUS
101PIPEnsSendBulkOut(
102 IN PSDevice pDevice,
103 IN PUSB_SEND_CONTEXT pContext
104 );
105
106#ifdef __cplusplus
107} /* End of extern "C" { */
108#endif /* __cplusplus */
109
110
111
112
113#endif // __USBPIPE_H__
114
115
116