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