1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
4  * All rights reserved.
5  *
6  * File: int.h
7  *
8  * Purpose:
9  *
10  * Author: Jerry Chen
11  *
12  * Date: Apr. 2, 2004
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 void vnt_int_start_interrupt(struct vnt_private *priv);
45 void vnt_int_process_data(struct vnt_private *priv);
46 
47 #endif /* __INT_H__ */
48