• Home
  • Raw
  • Download

Lines Matching refs:value

229 	uinfo->value.integer.min = 0;  in tas_snd_vol_info()
230 uinfo->value.integer.max = 177; in tas_snd_vol_info()
240 ucontrol->value.integer.value[0] = tas->cached_volume_l; in tas_snd_vol_get()
241 ucontrol->value.integer.value[1] = tas->cached_volume_r; in tas_snd_vol_get()
251 if (ucontrol->value.integer.value[0] < 0 || in tas_snd_vol_put()
252 ucontrol->value.integer.value[0] > 177) in tas_snd_vol_put()
254 if (ucontrol->value.integer.value[1] < 0 || in tas_snd_vol_put()
255 ucontrol->value.integer.value[1] > 177) in tas_snd_vol_put()
259 if (tas->cached_volume_l == ucontrol->value.integer.value[0] in tas_snd_vol_put()
260 && tas->cached_volume_r == ucontrol->value.integer.value[1]) { in tas_snd_vol_put()
265 tas->cached_volume_l = ucontrol->value.integer.value[0]; in tas_snd_vol_put()
266 tas->cached_volume_r = ucontrol->value.integer.value[1]; in tas_snd_vol_put()
290 ucontrol->value.integer.value[0] = !tas->mute_l; in tas_snd_mute_get()
291 ucontrol->value.integer.value[1] = !tas->mute_r; in tas_snd_mute_get()
302 if (tas->mute_l == !ucontrol->value.integer.value[0] in tas_snd_mute_put()
303 && tas->mute_r == !ucontrol->value.integer.value[1]) { in tas_snd_mute_put()
308 tas->mute_l = !ucontrol->value.integer.value[0]; in tas_snd_mute_put()
309 tas->mute_r = !ucontrol->value.integer.value[1]; in tas_snd_mute_put()
330 uinfo->value.integer.min = 0; in tas_snd_mixer_info()
331 uinfo->value.integer.max = 177; in tas_snd_mixer_info()
342 ucontrol->value.integer.value[0] = tas->mixer_l[idx]; in tas_snd_mixer_get()
343 ucontrol->value.integer.value[1] = tas->mixer_r[idx]; in tas_snd_mixer_get()
356 if (tas->mixer_l[idx] == ucontrol->value.integer.value[0] in tas_snd_mixer_put()
357 && tas->mixer_r[idx] == ucontrol->value.integer.value[1]) { in tas_snd_mixer_put()
362 tas->mixer_l[idx] = ucontrol->value.integer.value[0]; in tas_snd_mixer_put()
363 tas->mixer_r[idx] = ucontrol->value.integer.value[1]; in tas_snd_mixer_put()
390 uinfo->value.integer.min = 0; in tas_snd_drc_range_info()
391 uinfo->value.integer.max = TAS3004_DRC_MAX; in tas_snd_drc_range_info()
401 ucontrol->value.integer.value[0] = tas->drc_range; in tas_snd_drc_range_get()
411 if (ucontrol->value.integer.value[0] < 0 || in tas_snd_drc_range_put()
412 ucontrol->value.integer.value[0] > TAS3004_DRC_MAX) in tas_snd_drc_range_put()
416 if (tas->drc_range == ucontrol->value.integer.value[0]) { in tas_snd_drc_range_put()
421 tas->drc_range = ucontrol->value.integer.value[0]; in tas_snd_drc_range_put()
445 ucontrol->value.integer.value[0] = tas->drc_enabled; in tas_snd_drc_switch_get()
456 if (tas->drc_enabled == ucontrol->value.integer.value[0]) { in tas_snd_drc_switch_put()
461 tas->drc_enabled = !!ucontrol->value.integer.value[0]; in tas_snd_drc_switch_put()
491 ucontrol->value.enumerated.item[0] = !!(tas->acr & TAS_ACR_INPUT_B); in tas_snd_capture_source_get()
502 if (ucontrol->value.enumerated.item[0] > 1) in tas_snd_capture_source_put()
513 if (ucontrol->value.enumerated.item[0]) in tas_snd_capture_source_put()
551 uinfo->value.integer.min = TAS3004_TREBLE_MIN; in tas_snd_treble_info()
552 uinfo->value.integer.max = TAS3004_TREBLE_MAX; in tas_snd_treble_info()
562 ucontrol->value.integer.value[0] = tas->treble; in tas_snd_treble_get()
572 if (ucontrol->value.integer.value[0] < TAS3004_TREBLE_MIN || in tas_snd_treble_put()
573 ucontrol->value.integer.value[0] > TAS3004_TREBLE_MAX) in tas_snd_treble_put()
576 if (tas->treble == ucontrol->value.integer.value[0]) { in tas_snd_treble_put()
581 tas->treble = ucontrol->value.integer.value[0]; in tas_snd_treble_put()
602 uinfo->value.integer.min = TAS3004_BASS_MIN; in tas_snd_bass_info()
603 uinfo->value.integer.max = TAS3004_BASS_MAX; in tas_snd_bass_info()
613 ucontrol->value.integer.value[0] = tas->bass; in tas_snd_bass_get()
623 if (ucontrol->value.integer.value[0] < TAS3004_BASS_MIN || in tas_snd_bass_put()
624 ucontrol->value.integer.value[0] > TAS3004_BASS_MAX) in tas_snd_bass_put()
627 if (tas->bass == ucontrol->value.integer.value[0]) { in tas_snd_bass_put()
632 tas->bass = ucontrol->value.integer.value[0]; in tas_snd_bass_put()