Lines Matching refs:value
291 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? in wm_pcm_mute_get()
306 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
323 uinfo->value.integer.min = 0; in wm_master_vol_info()
324 uinfo->value.integer.max = WM_VOL_MAX; in wm_master_vol_info()
335 ucontrol->value.integer.value[i] = spec->master[i] & in wm_master_vol_get()
349 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put()
470 uinfo->value.integer.min = 0; /* mute (-101dB) */ in wm_vol_info()
471 uinfo->value.integer.max = 0x7F; /* 0dB */ in wm_vol_info()
485 ucontrol->value.integer.value[i] = in wm_vol_get()
503 vol = ucontrol->value.integer.value[i]; in wm_vol_put()
526 uinfo->value.integer.min = 0; in wm_mute_info()
527 uinfo->value.integer.max = 1; in wm_mute_info()
542 ucontrol->value.integer.value[i] = in wm_mute_get()
560 if (ucontrol->value.integer.value[i] != val) { in wm_mute_put()
563 ucontrol->value.integer.value[i] ? 0 : in wm_mute_put()
586 ucontrol->value.integer.value[0] = in wm_master_mute_get()
588 ucontrol->value.integer.value[1] = in wm_master_mute_get()
603 if (ucontrol->value.integer.value[i] != val) { in wm_master_mute_put()
607 ucontrol->value.integer.value[i] ? 0 : in wm_master_mute_put()
630 uinfo->value.integer.min = 0; /* mute (-64dB) */ in wm_pcm_vol_info()
631 uinfo->value.integer.max = PCM_RES; /* 0dB */ in wm_pcm_vol_info()
644 ucontrol->value.integer.value[0] = val; in wm_pcm_vol_get()
656 nvol = ucontrol->value.integer.value[0]; in wm_pcm_vol_put()
681 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == in phase28_deemp_get()
693 if (ucontrol->value.integer.value[0]) in phase28_deemp_put()
719 ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == in phase28_oversampling_get()
733 if (ucontrol->value.enumerated.item[0]) in phase28_oversampling_put()