x86/xen: resume timer irqs early
[linux/fpc-iii.git] / drivers / staging / frontier / alphatrack.h
blob418c6053c027ace6c357b41266f0288696d01ce7
1 struct alphatrack_icmd {
2 unsigned char cmd[12];
3 };
5 struct alphatrack_ocmd {
6 unsigned char cmd[8];
7 };
9 /*
10 * These are unused by the present driver but provide documentation for the
11 * userspace API.
13 enum LightID {
14 LIGHT_EQ = 0,
15 LIGHT_OUT,
16 LIGHT_F2,
17 LIGHT_SEND,
18 LIGHT_IN,
19 LIGHT_F1,
20 LIGHT_PAN,
21 LIGHT_UNDEF1,
22 LIGHT_UNDEF2,
23 LIGHT_SHIFT,
24 LIGHT_TRACKMUTE,
25 LIGHT_TRACKSOLO,
26 LIGHT_TRACKREC,
27 LIGHT_READ,
28 LIGHT_WRITE,
29 LIGHT_ANYSOLO,
30 LIGHT_AUTO,
31 LIGHT_F4,
32 LIGHT_RECORD,
33 LIGHT_WINDOW,
34 LIGHT_PLUGIN,
35 LIGHT_F3,
36 LIGHT_LOOP
39 #define BUTTONMASK_BATTERY 0x00004000
40 #define BUTTONMASK_BACKLIGHT 0x00008000
41 #define BUTTONMASK_FASTFORWARD 0x04000000
42 #define BUTTONMASK_TRACKMUTE 0x00040000
43 #define BUTTONMASK_TRACKSOLO 0x00800000
44 #define BUTTONMASK_TRACKLEFT 0x80000000
45 #define BUTTONMASK_RECORD 0x02000000
46 #define BUTTONMASK_SHIFT 0x20000000
47 #define BUTTONMASK_PUNCH 0x00800000
48 #define BUTTONMASK_TRACKRIGHT 0x00020000
49 #define BUTTONMASK_REWIND 0x01000000
50 #define BUTTONMASK_STOP 0x10000000
51 #define BUTTONMASK_LOOP 0x00010000
52 #define BUTTONMASK_TRACKREC 0x00001000
53 #define BUTTONMASK_PLAY 0x08000000
54 #define BUTTONMASK_TOUCH1 0x00000008
55 #define BUTTONMASK_TOUCH2 0x00000010
56 #define BUTTONMASK_TOUCH3 0x00000020
58 #define BUTTONMASK_PRESS1 0x00000009
59 #define BUTTONMASK_PRESS2 0x00008010
60 #define BUTTONMASK_PRESS3 0x00002020
63 * last 3 bytes are the slider position
64 * 40 is the actual slider moving, the most sig bits, and 3 lsb
67 #define BUTTONMASK_FLIP 0x40000000
68 #define BUTTONMASK_F1 0x00100000
69 #define BUTTONMASK_F2 0x00400000
70 #define BUTTONMASK_F3 0x00200000
71 #define BUTTONMASK_F4 0x00080000
72 #define BUTTONMASK_PAN 0x00000200
73 #define BUTTONMASK_SEND 0x00000800
74 #define BUTTONMASK_EQ 0x00004000
75 #define BUTTONMASK_PLUGIN 0x00000400
76 #define BUTTONMASK_AUTO 0x00000100
78 /* #define BUTTONMASK_FOOTSWITCH FIXME */