GNU Linux-libre 4.9.337-gnu1
[releases.git] / drivers / staging / vt6656 / int.h
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  *
16  * File: int.h
17  *
18  * Purpose:
19  *
20  * Author: Jerry Chen
21  *
22  * Date: Apr. 2, 2004
23  *
24  */
25
26 #ifndef __INT_H__
27 #define __INT_H__
28
29 #include "device.h"
30
31 struct vnt_interrupt_data {
32         u8 tsr0;
33         u8 pkt0;
34         u16 time0;
35         u8 tsr1;
36         u8 pkt1;
37         u16 time1;
38         u8 tsr2;
39         u8 pkt2;
40         u16 time2;
41         u8 tsr3;
42         u8 pkt3;
43         u16 time3;
44         __le64 tsf;
45         u8 isr0;
46         u8 isr1;
47         u8 rts_success;
48         u8 rts_fail;
49         u8 ack_fail;
50         u8 fcs_err;
51         u8 sw[2];
52 } __packed;
53
54 void vnt_int_start_interrupt(struct vnt_private *);
55 void vnt_int_process_data(struct vnt_private *);
56
57 #endif /* __INT_H__ */