Staging: Add pristine upstream vt6656 driver sources to drivers/staging/vt6656.
[firewire-audio.git] / drivers / staging / vt6656 / int.h
blobbfbf667eac916574f32d0d7a63bd3e86ab780655
1 /*
2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3 * All rights reserved.
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.
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.
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.
20 * File: int.h
22 * Purpose:
24 * Author: Jerry Chen
26 * Date: Apr. 2, 2004
31 #ifndef __INT_H__
32 #define __INT_H__
34 #if !defined(__TTYPE_H__)
35 #include "ttype.h"
36 #endif
37 #if !defined(__DEVICE_H__)
38 #include "device.h"
39 #endif
43 /*--------------------- Export Definitions -------------------------*/
44 #pragma pack(1)
45 typedef struct tagSINTData {
46 BYTE byTSR0;
47 BYTE byPkt0;
48 WORD wTime0;
49 BYTE byTSR1;
50 BYTE byPkt1;
51 WORD wTime1;
52 BYTE byTSR2;
53 BYTE byPkt2;
54 WORD wTime2;
55 BYTE byTSR3;
56 BYTE byPkt3;
57 WORD wTime3;
58 DWORD dwLoTSF;
59 DWORD dwHiTSF;
60 BYTE byISR0;
61 BYTE byISR1;
62 BYTE byRTSSuccess;
63 BYTE byRTSFail;
64 BYTE byACKFail;
65 BYTE byFCSErr;
66 BYTE abySW[2];
67 }__attribute__ ((__packed__))
68 SINTData, DEF* PSINTData;
71 /*--------------------- Export Classes ----------------------------*/
73 /*--------------------- Export Variables --------------------------*/
75 /*--------------------- Export Functions --------------------------*/
76 #ifdef __cplusplus
77 extern "C" { /* Assume C declarations for C++ */
78 #endif /* __cplusplus */
80 VOID
81 INTvWorkItem(
82 PVOID Context
85 NTSTATUS
86 INTnsProcessData(
87 IN PSDevice pDevice
91 #ifdef __cplusplus
92 } /* End of extern "C" { */
93 #endif /* __cplusplus */
98 #endif // __INT_H__