Lines Matching refs:integer
716 uinfo->value.integer.min = HR222_MICRO_CAPTURE_LEVEL_MIN; /* -98 dB */ in hr222_mic_vol_info()
718 uinfo->value.integer.max = HR222_MICRO_CAPTURE_LEVEL_MAX; /* +7 dB */ in hr222_mic_vol_info()
727 ucontrol->value.integer.value[0] = chip->mic_volume; in hr222_mic_vol_get()
738 if (chip->mic_volume != ucontrol->value.integer.value[0]) { in hr222_mic_vol_put()
740 chip->mic_volume = ucontrol->value.integer.value[0]; in hr222_mic_vol_put()
767 uinfo->value.integer.min = 0; /* 0 dB */ in hr222_mic_boost_info()
768 uinfo->value.integer.max = 3; /* 54 dB */ in hr222_mic_boost_info()
777 ucontrol->value.integer.value[0] = chip->mic_boost; in hr222_mic_boost_get()
788 if (chip->mic_boost != ucontrol->value.integer.value[0]) { in hr222_mic_boost_put()
790 chip->mic_boost = ucontrol->value.integer.value[0]; in hr222_mic_boost_put()
817 ucontrol->value.integer.value[0] = chip->phantom_power; in hr222_phantom_power_get()
829 power = !!ucontrol->value.integer.value[0]; in hr222_phantom_power_put()