treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / staging / vt6656 / int.h
blob8a6d60569ceb55b668ecc82b5920ef667eb4b626
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
4 * All rights reserved.
6 * File: int.h
8 * Purpose:
10 * Author: Jerry Chen
12 * Date: Apr. 2, 2004
16 #ifndef __INT_H__
17 #define __INT_H__
19 #include "device.h"
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;
44 int vnt_int_start_interrupt(struct vnt_private *priv);
45 void vnt_int_process_data(struct vnt_private *priv);
47 #endif /* __INT_H__ */