1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __HISAX_ISAC_H__
3 #define __HISAX_ISAC_H__
5 #include <linux/kernel.h>
9 #define TIMER3_VALUE 7000
10 #define MAX_DFRAME_LEN_L1 300
18 struct hisax_d_if hisax_d_if;
20 struct FsmTimer timer;
25 u_char rcvbuf[MAX_DFRAME_LEN_L1];
28 struct sk_buff *tx_skb;
31 u_char (*read_isac) (struct isac *, u_char);
32 void (*write_isac) (struct isac *, u_char, u_char);
33 void (*read_isac_fifo) (struct isac *, u_char *, int);
34 void (*write_isac_fifo)(struct isac *, u_char *, int);
37 void isac_init(struct isac *isac);
38 void isac_d_l2l1(struct hisax_if *hisax_d_if, int pr, void *arg);
40 void isac_setup(struct isac *isac);
41 void isac_irq(struct isac *isac);
43 void isacsx_setup(struct isac *isac);
44 void isacsx_irq(struct isac *isac);