Lines Matching refs:value
496 int hr222_read_gpio(struct pcxhr_mgr *mgr, int is_gpi, int *value) in hr222_read_gpio() argument
500 *value = (int)(reg & PCXHR_STAT_GPI_MASK) >> in hr222_read_gpio()
503 *value = (int)(mgr->dsp_reset & PCXHR_DSP_RESET_GPO_MASK) >> in hr222_read_gpio()
510 int hr222_write_gpo(struct pcxhr_mgr *mgr, int value) in hr222_write_gpo() argument
514 reg |= (unsigned char)(value << PCXHR_DSP_RESET_GPO_OFFSET) & in hr222_write_gpo()
703 uinfo->value.integer.min = HR222_MICRO_CAPTURE_LEVEL_MIN; /* -98 dB */ in hr222_mic_vol_info()
705 uinfo->value.integer.max = HR222_MICRO_CAPTURE_LEVEL_MAX; /* +7 dB */ in hr222_mic_vol_info()
714 ucontrol->value.integer.value[0] = chip->mic_volume; in hr222_mic_vol_get()
725 if (chip->mic_volume != ucontrol->value.integer.value[0]) { in hr222_mic_vol_put()
727 chip->mic_volume = ucontrol->value.integer.value[0]; in hr222_mic_vol_put()
754 uinfo->value.integer.min = 0; /* 0 dB */ in hr222_mic_boost_info()
755 uinfo->value.integer.max = 3; /* 54 dB */ in hr222_mic_boost_info()
764 ucontrol->value.integer.value[0] = chip->mic_boost; in hr222_mic_boost_get()
775 if (chip->mic_boost != ucontrol->value.integer.value[0]) { in hr222_mic_boost_put()
777 chip->mic_boost = ucontrol->value.integer.value[0]; in hr222_mic_boost_put()
804 ucontrol->value.integer.value[0] = chip->phantom_power; in hr222_phantom_power_get()
816 power = !!ucontrol->value.integer.value[0]; in hr222_phantom_power_put()