Lines Matching refs:integer
305 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? in wm_pcm_mute_get()
320 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
337 uinfo->value.integer.min = 0; in wm_master_vol_info()
338 uinfo->value.integer.max = WM_VOL_MAX; in wm_master_vol_info()
349 ucontrol->value.integer.value[i] = spec->master[i] & in wm_master_vol_get()
363 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put()
484 uinfo->value.integer.min = 0; /* mute (-101dB) */ in wm_vol_info()
485 uinfo->value.integer.max = 0x7F; /* 0dB */ in wm_vol_info()
499 ucontrol->value.integer.value[i] = in wm_vol_get()
517 vol = ucontrol->value.integer.value[i]; in wm_vol_put()
540 uinfo->value.integer.min = 0; in wm_mute_info()
541 uinfo->value.integer.max = 1; in wm_mute_info()
556 ucontrol->value.integer.value[i] = in wm_mute_get()
574 if (ucontrol->value.integer.value[i] != val) { in wm_mute_put()
577 ucontrol->value.integer.value[i] ? 0 : in wm_mute_put()
600 ucontrol->value.integer.value[0] = in wm_master_mute_get()
602 ucontrol->value.integer.value[1] = in wm_master_mute_get()
617 if (ucontrol->value.integer.value[i] != val) { in wm_master_mute_put()
621 ucontrol->value.integer.value[i] ? 0 : in wm_master_mute_put()
644 uinfo->value.integer.min = 0; /* mute (-64dB) */ in wm_pcm_vol_info()
645 uinfo->value.integer.max = PCM_RES; /* 0dB */ in wm_pcm_vol_info()
658 ucontrol->value.integer.value[0] = val; in wm_pcm_vol_get()
670 nvol = ucontrol->value.integer.value[0]; in wm_pcm_vol_put()
695 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == in phase28_deemp_get()
707 if (ucontrol->value.integer.value[0]) in phase28_deemp_put()