1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 #ifndef __INT_H__
17 #define __INT_H__
18
19 #include "device.h"
20
21 struct vnt_interrupt_data {
22 u8 tsr0;
23 u8 pkt0;
24 u16 time0;
25 u8 tsr1;
26 u8 pkt1;
27 u16 time1;
28 u8 tsr2;
29 u8 pkt2;
30 u16 time2;
31 u8 tsr3;
32 u8 pkt3;
33 u16 time3;
34 __le64 tsf;
35 u8 isr0;
36 u8 isr1;
37 u8 rts_success;
38 u8 rts_fail;
39 u8 ack_fail;
40 u8 fcs_err;
41 u8 sw[2];
42 } __packed;
43
44 int vnt_int_start_interrupt(struct vnt_private *priv);
45 void vnt_int_process_data(struct vnt_private *priv);
46
47 #endif