Lines Matching refs:value
246 uinfo->value.integer.min = 0; /* mute */ in ak4396_dac_vol_info()
247 uinfo->value.integer.max = 0xFF; /* linear */ in ak4396_dac_vol_info()
259 ucontrol->value.integer.value[i] = spec->vol[i]; in ak4396_dac_vol_get()
273 if (ucontrol->value.integer.value[i] != spec->vol[i]) { in ak4396_dac_vol_put()
274 spec->vol[i] = ucontrol->value.integer.value[i]; in ak4396_dac_vol_put()
355 uinfo->value.integer.min = 0; /* mute */ in wm_dac_vol_info()
356 uinfo->value.integer.max = DAC_RES; /* 0dB, 0.5dB step */ in wm_dac_vol_info()
368 ucontrol->value.integer.value[i] = in wm_dac_vol_get()
381 if (ucontrol->value.integer.value[i] != spec->vol[2 + i]) { in wm_dac_vol_put()
384 spec->vol[2 + i] |= ucontrol->value.integer.value[i]; in wm_dac_vol_put()
403 uinfo->value.integer.min = 0; /* mute */ in wm8766_vol_info()
404 uinfo->value.integer.max = DAC_RES; /* 0dB */ in wm8766_vol_info()
418 ucontrol->value.integer.value[i] = spec->vol[ofs + i]; in wm8766_vol_get()
433 if (ucontrol->value.integer.value[i] != spec->vol[ofs + i]) { in wm8766_vol_put()
436 spec->vol[ofs + i] |= ucontrol->value.integer.value[i]; in wm8766_vol_put()
454 uinfo->value.integer.min = 0; in wm_master_vol_info()
455 uinfo->value.integer.max = DAC_RES; in wm_master_vol_info()
466 ucontrol->value.integer.value[i] = spec->master[i]; in wm_master_vol_get()
479 if (ucontrol->value.integer.value[ch] != spec->master[ch]) { in wm_master_vol_put()
480 spec->master[ch] = ucontrol->value.integer.value[ch]; in wm_master_vol_put()
539 ucontrol->value.enumerated.item[0] = wm_get(ice, WM_ADC_MUX) & 0x1f; in wm_adc_mux_enum_get()
553 nval = (oval & 0xe0) | ucontrol->value.enumerated.item[0]; in wm_adc_mux_enum_put()
577 uinfo->value.integer.min = 0; /* mute (-64dB) */ in wm_adc_vol_info()
578 uinfo->value.integer.max = ADC_RES; /* 0dB, 0.5dB step */ in wm_adc_vol_info()
593 ucontrol->value.integer.value[i] = val; in wm_adc_vol_get()
608 nvol = ucontrol->value.integer.value[i]; in wm_adc_vol_put()
633 ucontrol->value.integer.value[0] = in wm_adc_mux_get()
649 if (ucontrol->value.integer.value[0]) in wm_adc_mux_put()
672 ucontrol->value.integer.value[0] = in wm_bypass_get()
687 if (ucontrol->value.integer.value[0]) in wm_bypass_put()
710 ucontrol->value.integer.value[0] = in wm_chswap_get()
726 if (ucontrol->value.integer.value[0]) in wm_chswap_put()