Lines Matching refs:integer
335 uinfo->value.integer.min = MIXART_ANALOG_PLAYBACK_LEVEL_MIN; /* -96 dB */ in mixart_analog_vol_info()
336 uinfo->value.integer.max = MIXART_ANALOG_PLAYBACK_LEVEL_MAX; /* 0 dB */ in mixart_analog_vol_info()
338 uinfo->value.integer.min = MIXART_ANALOG_CAPTURE_LEVEL_MIN; /* -96 dB */ in mixart_analog_vol_info()
339 uinfo->value.integer.max = MIXART_ANALOG_CAPTURE_LEVEL_MAX; /* 31.5 dB */ in mixart_analog_vol_info()
349 ucontrol->value.integer.value[0] = chip->analog_playback_volume[0]; in mixart_analog_vol_get()
350 ucontrol->value.integer.value[1] = chip->analog_playback_volume[1]; in mixart_analog_vol_get()
352 ucontrol->value.integer.value[0] = chip->analog_capture_volume[0]; in mixart_analog_vol_get()
353 ucontrol->value.integer.value[1] = chip->analog_capture_volume[1]; in mixart_analog_vol_get()
368 int new_volume = ucontrol->value.integer.value[i]; in mixart_analog_vol_put()
413 ucontrol->value.integer.value[0] = chip->analog_playback_active[0]; in mixart_audio_sw_get()
414 ucontrol->value.integer.value[1] = chip->analog_playback_active[1]; in mixart_audio_sw_get()
426 ucontrol->value.integer.value[i]) { in mixart_audio_sw_put()
428 !!ucontrol->value.integer.value[i]; in mixart_audio_sw_put()
813 uinfo->value.integer.min = MIXART_DIGITAL_LEVEL_MIN; /* -109.5 dB */ in mixart_digital_vol_info()
814 uinfo->value.integer.max = MIXART_DIGITAL_LEVEL_MAX; /* 18.0 dB */ in mixart_digital_vol_info()
837 ucontrol->value.integer.value[0] = stored_volume[0]; in mixart_pcm_vol_get()
838 ucontrol->value.integer.value[1] = stored_volume[1]; in mixart_pcm_vol_get()
866 int vol = ucontrol->value.integer.value[i]; in mixart_pcm_vol_put()
909 ucontrol->value.integer.value[0] = chip->digital_playback_active[idx][0]; in mixart_pcm_sw_get()
910 ucontrol->value.integer.value[1] = chip->digital_playback_active[idx][1]; in mixart_pcm_sw_get()
929 ucontrol->value.integer.value[i]) { in mixart_pcm_sw_put()
931 !!ucontrol->value.integer.value[i]; in mixart_pcm_sw_put()
989 ucontrol->value.integer.value[0] = chip->monitoring_volume[0]; in mixart_monitor_vol_get()
990 ucontrol->value.integer.value[1] = chip->monitoring_volume[1]; in mixart_monitor_vol_get()
1003 ucontrol->value.integer.value[i]) { in mixart_monitor_vol_put()
1005 !!ucontrol->value.integer.value[i]; in mixart_monitor_vol_put()
1033 ucontrol->value.integer.value[0] = chip->monitoring_active[0]; in mixart_monitor_sw_get()
1034 ucontrol->value.integer.value[1] = chip->monitoring_active[1]; in mixart_monitor_sw_get()
1047 ucontrol->value.integer.value[i]) { in mixart_monitor_sw_put()
1049 !!ucontrol->value.integer.value[i]; in mixart_monitor_sw_put()