1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (c) 2003 by Karsten Wiese <annabellesgarden@yahoo.de>
42 unsigned char fader[9];
43 unsigned char transport;
44 unsigned char modifier;
45 unsigned char filters_elect;
48 unsigned char unknown;
49 unsigned char wswitch;
50 unsigned char wheel[5];
53 struct us428_set_byte {
64 unsigned char channel,
72 struct us428_set_byte light[7];
78 struct usx2y_volume vol;
79 struct us428_lights lights;
83 #define N_US428_CTL_BUFS 16
84 #define N_US428_P4OUT_BUFS 16
85 struct us428ctls_sharedmem {
86 struct us428_ctls ctl_snapshot[N_US428_CTL_BUFS];
87 int ctl_snapshot_differs_at[N_US428_CTL_BUFS];
88 int ctl_snapshot_last, ctl_snapshot_red;
89 struct us428_p4out p4out[N_US428_P4OUT_BUFS];
90 int p4out_last, p4out_sent;
93 #define US428_SHAREDMEM_PAGES PAGE_ALIGN(sizeof(struct us428ctls_sharedmem))