1 /*****************************************************************************\ 2 * Tseng Labs ET6000, ET6100 and ET6300 graphics driver for BeOS 5. 3 * Copyright (c) 2003-2004, Evgeniy Vladimirovich Bobkov. 4 \*****************************************************************************/ 5 #ifndef _ET6000BITS_H_ 6 #define _ET6000BITS_H_ 7 8 9 /*****************************************************************************/ 10 __inline void set8(volatile char *addr, char mask, char val); 11 __inline void set16(volatile short *addr, short mask, short val); 12 __inline void set32(volatile int *addr, int mask, int val); 13 __inline void ioSet8(short port, char mask, char val); 14 __inline char ioGet8(short port); 15 /*****************************************************************************/ 16 17 18 #endif /* _ET6000BITS_H_ */ 19