xref: /haiku/src/add-ons/kernel/drivers/graphics/et6x00/acl.h (revision 21258e2674226d6aa732321b6f8494841895af5f)
1 /*****************************************************************************\
2  * Tseng Labs ET6000, ET6100 and ET6300 graphics driver for BeOS 5.
3  * Copyright (c) 2003-2004, Evgeniy Vladimirovich Bobkov.
4 \*****************************************************************************/
5 #ifndef _ET6000ACL_H_
6 #define _ET6000ACL_H_
7 
8 
9 /*****************************************************************************/
10 __inline void et6000aclMasterInterruptEnable(void *base);
11 __inline void et6000aclMasterInterruptDisable(void *base);
12 __inline void et6000aclReadInterruptEnable(void *base);
13 __inline void et6000aclReadInterruptDisable(void *base);
14 __inline void et6000aclWriteInterruptEnable(void *base);
15 __inline void et6000aclWriteInterruptDisable(void *base);
16 __inline void et6000aclReadInterruptClear(void *base);
17 __inline void et6000aclWriteInterruptClear(void *base);
18 __inline char et6000aclInterruptCause(void *base);
19 /*****************************************************************************/
20 #define ET6000_ACL_INT_CAUSE_NONE 0
21 #define ET6000_ACL_INT_CAUSE_READ 2
22 #define ET6000_ACL_INT_CAUSE_WRITE 1
23 #define ET6000_ACL_INT_CAUSE_BOTH 3
24 /*****************************************************************************/
25 
26 
27 #endif /* _ET6000ACL_H_ */
28