• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 // Copyright (c) 1996-2004 Winbond Electronic Corporation
3 //
4 //  Module Name:
5 //    wbusb_s.h
6 //
7 //  Abstract:
8 //    Linux driver.
9 //
10 //  Author:
11 //
12 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13 
14 #ifndef __WINBOND_WBUSB_S_H
15 #define __WINBOND_WBUSB_S_H
16 
17 #include <linux/types.h>
18 
19 //---------------------------------------------------------------------------
20 //  RW_CONTEXT --
21 //
22 //  Used to track driver-generated io irps
23 //---------------------------------------------------------------------------
24 typedef struct _RW_CONTEXT
25 {
26 	void*			pHwData;
27 	struct urb		*urb;
28 	void*			pCallBackFunctionParameter;
29 } RW_CONTEXT, *PRW_CONTEXT;
30 
31 typedef struct _WBUSB {
32 	u32	IsUsb20;
33 	struct usb_device *udev;
34 	u32	DetectCount;
35 } WBUSB, *PWBUSB;
36 
37 #endif
38