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