Lines Matching refs:value
34 u8 value;
180 uinfo->value.integer.min = 0;
181 uinfo->value.integer.max = 180;
198 if (rt->output_vol[ch] != ucontrol->value.integer.value[0]) {
199 rt->output_vol[ch] = ucontrol->value.integer.value[0];
203 if (rt->output_vol[ch + 1] != ucontrol->value.integer.value[1]) {
204 rt->output_vol[ch + 1] = ucontrol->value.integer.value[1];
227 ucontrol->value.integer.value[0] = rt->output_vol[ch];
228 ucontrol->value.integer.value[1] = rt->output_vol[ch + 1];
238 u8 value = 0;
247 if (ucontrol->value.integer.value[0])
248 value |= 1;
249 if (ucontrol->value.integer.value[1])
250 value |= 2;
251 rt->output_mute |= value << ch;
264 u8 value = rt->output_mute >> ch;
272 ucontrol->value.integer.value[0] = 1 & value;
273 value >>= 1;
274 ucontrol->value.integer.value[1] = 1 & value;
284 uinfo->value.integer.min = 0;
285 uinfo->value.integer.max = 30;
295 if (rt->input_vol[0] != ucontrol->value.integer.value[0]) {
296 rt->input_vol[0] = ucontrol->value.integer.value[0] - 15;
300 if (rt->input_vol[1] != ucontrol->value.integer.value[1]) {
301 rt->input_vol[1] = ucontrol->value.integer.value[1] - 15;
317 ucontrol->value.integer.value[0] = rt->input_vol[0] + 15;
318 ucontrol->value.integer.value[1] = rt->input_vol[1] + 15;
334 if (rt->line_phono_switch != ucontrol->value.integer.value[0]) {
335 rt->line_phono_switch = ucontrol->value.integer.value[0];
346 ucontrol->value.integer.value[0] = rt->line_phono_switch;
362 if (rt->opt_coax_switch != ucontrol->value.enumerated.item[0]) {
363 rt->opt_coax_switch = ucontrol->value.enumerated.item[0];
374 ucontrol->value.enumerated.item[0] = rt->opt_coax_switch;
384 if (rt->digital_thru_switch != ucontrol->value.integer.value[0]) {
385 rt->digital_thru_switch = ucontrol->value.integer.value[0];
396 ucontrol->value.integer.value[0] = rt->digital_thru_switch;
569 init_data[i].value);