Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
control.h
Go to the documentation of this file.
1 /*
2  * Line6 Linux USB driver - 0.9.1beta
3  *
4  * Copyright (C) 2004-2010 Markus Grabner ([email protected])
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation, version 2.
9  *
10  */
11 
12 #ifndef LINE6_CONTROL_H
13 #define LINE6_CONTROL_H
14 
26 /* *INDENT-OFF* */
27 
28 enum {
29  POD_tweak = 1,
31  POD_compression_gain = 5, /* device: LINE6_BITS_PODXTALL */
34  POD_pan = 10,
36  POD_amp_model = 12, /* firmware: 2.0 */
37  POD_drive = 13,
38  POD_bass = 14,
39  POD_mid = 15, /* device: LINE6_BITS_PODXTALL */
40  POD_lowmid = 15, /* device: LINE6_BITS_BASSPODXTALL */
41  POD_treble = 16, /* device: LINE6_BITS_PODXTALL */
42  POD_highmid = 16, /* device: LINE6_BITS_BASSPODXTALL */
44  POD_reverb_mix = 18, /* device: LINE6_BITS_PODXTALL */
46  POD_band_1_frequency = 20, /* firmware: 2.0 */
47  POD_presence = 21, /* device: LINE6_BITS_PODXTALL */
48  POD_treble__bass = 21, /* device: LINE6_BITS_BASSPODXTALL */
59  POD_band_2_frequency__bass = 32, /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
63  POD_reverb_enable = 36, /* device: LINE6_BITS_PODXTALL */
64  POD_reverb_type = 37, /* device: LINE6_BITS_PODXTALL */
65  POD_reverb_decay = 38, /* device: LINE6_BITS_PODXTALL */
66  POD_reverb_tone = 39, /* device: LINE6_BITS_PODXTALL */
67  POD_reverb_pre_delay = 40, /* device: LINE6_BITS_PODXTALL */
68  POD_reverb_pre_post = 41, /* device: LINE6_BITS_PODXTALL */
69  POD_band_2_frequency = 42, /* device: LINE6_BITS_PODXTALL */ /* firmware: 2.0 */
70  POD_band_3_frequency__bass = 42, /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
72  POD_modulation_lo_cut = 44, /* device: LINE6_BITS_BASSPODXTALL */
73  POD_delay_reverb_lo_cut = 45, /* device: LINE6_BITS_BASSPODXTALL */
74  POD_volume_pedal_minimum = 46, /* device: LINE6_BITS_PODXTALL */ /* firmware: 2.0 */
75  POD_eq_pre_post = 46, /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
77  POD_di_model = 48, /* device: LINE6_BITS_BASSPODXTALL */
78  POD_di_delay = 49, /* device: LINE6_BITS_BASSPODXTALL */
84  POD_mod_param_5 = 55, /* device: LINE6_BITS_BASSPODXTALL */
88  POD_band_3_frequency = 60, /* device: LINE6_BITS_PODXTALL */ /* firmware: 2.0 */
89  POD_band_4_frequency__bass = 60, /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
92  POD_eq_enable = 63, /* firmware: 2.0 */
93  POD_tap = 64,
95  POD_band_5_frequency = 68, /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
96  POD_tuner = 69,
101  POD_band_4_frequency = 77, /* device: LINE6_BITS_PODXTALL */ /* firmware: 2.0 */
102  POD_band_6_frequency = 77, /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
109  POD_amp_switch_select = 84, /* device: LINE6_BITS_LIVE */
113  POD_delay_model = 88, /* device: LINE6_BITS_PODXTALL */
114  POD_delay_verb_model = 88, /* device: LINE6_BITS_BASSPODXTALL */
117  POD_wah_model = 91, /* firmware: 3.0 */
118  POD_bypass_volume = 105, /* firmware: 2.14 */
119  POD_fx_loop_on_off = 107, /* device: LINE6_BITS_PRO */
122  POD_band_1_gain = 114, /* firmware: 2.0 */
123  POD_band_2_gain__bass = 115, /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
124  POD_band_2_gain = 116, /* device: LINE6_BITS_PODXTALL */ /* firmware: 2.0 */
125  POD_band_3_gain__bass = 116, /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
126  POD_band_3_gain = 117, /* device: LINE6_BITS_PODXTALL */ /* firmware: 2.0 */
127  POD_band_4_gain__bass = 117, /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
128  POD_band_5_gain__bass = 118, /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
129  POD_band_4_gain = 119, /* device: LINE6_BITS_PODXTALL */ /* firmware: 2.0 */
130  POD_band_6_gain__bass = 119 /* device: LINE6_BITS_BASSPODXTALL */ /* firmware: 2.0 */
131 };
132 
136 enum {
138  VARIAX_pickup1_enable = 4, /* 0: enabled, 1: disabled */
140  VARIAX_pickup1_position = 9, /* type: 24 bit float */
141  VARIAX_pickup1_angle = 12, /* type: 24 bit float */
142  VARIAX_pickup1_level = 15, /* type: 24 bit float */
143  VARIAX_pickup2_enable = 18, /* 0: enabled, 1: disabled */
145  VARIAX_pickup2_position = 23, /* type: 24 bit float */
146  VARIAX_pickup2_angle = 26, /* type: 24 bit float */
147  VARIAX_pickup2_level = 29, /* type: 24 bit float */
148  VARIAX_pickup_phase = 32, /* 0: in phase, 1: out of phase */
149  VARIAX_capacitance = 33, /* type: 24 bit float */
150  VARIAX_tone_resistance = 36, /* type: 24 bit float */
151  VARIAX_volume_resistance = 39, /* type: 24 bit float */
152  VARIAX_taper = 42, /* 0: Linear, 1: Audio */
153  VARIAX_tone_dump = 43, /* type: 24 bit float */
155  VARIAX_volume_dump = 47, /* type: 24 bit float */
163  VARIAX_detune6 = 57, /* type: 24 bit float */
164  VARIAX_detune5 = 60, /* type: 24 bit float */
165  VARIAX_detune4 = 63, /* type: 24 bit float */
166  VARIAX_detune3 = 66, /* type: 24 bit float */
167  VARIAX_detune2 = 69, /* type: 24 bit float */
168  VARIAX_detune1 = 72, /* type: 24 bit float */
169  VARIAX_mix6 = 75, /* type: 24 bit float */
170  VARIAX_mix5 = 78, /* type: 24 bit float */
171  VARIAX_mix4 = 81, /* type: 24 bit float */
172  VARIAX_mix3 = 84, /* type: 24 bit float */
173  VARIAX_mix2 = 87, /* type: 24 bit float */
174  VARIAX_mix1 = 90, /* type: 24 bit float */
175  VARIAX_pickup_wiring = 96 /* 0: parallel, 1: series */
176 };
177 
181 enum {
184 };
185 
186 /* *INDENT-ON* */
187 
188 extern int line6_pod_create_files(int firmware, int type, struct device *dev);
189 extern void line6_pod_remove_files(int firmware, int type, struct device *dev);
190 extern int line6_variax_create_files(int firmware, int type,
191  struct device *dev);
192 extern void line6_variax_remove_files(int firmware, int type,
193  struct device *dev);
194 
195 #endif