Lines Matching refs:ucontrol
286 struct snd_ctl_elem_value *ucontrol) in wm_pcm_mute_get() argument
291 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? in wm_pcm_mute_get()
298 struct snd_ctl_elem_value *ucontrol) in wm_pcm_mute_put() argument
306 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
329 struct snd_ctl_elem_value *ucontrol) in wm_master_vol_get() argument
335 ucontrol->value.integer.value[i] = spec->master[i] & in wm_master_vol_get()
341 struct snd_ctl_elem_value *ucontrol) in wm_master_vol_put() argument
349 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put()
476 struct snd_ctl_elem_value *ucontrol) in wm_vol_get() argument
485 ucontrol->value.integer.value[i] = in wm_vol_get()
491 struct snd_ctl_elem_value *ucontrol) in wm_vol_put() argument
503 vol = ucontrol->value.integer.value[i]; in wm_vol_put()
532 struct snd_ctl_elem_value *ucontrol) in wm_mute_get() argument
542 ucontrol->value.integer.value[i] = in wm_mute_get()
548 struct snd_ctl_elem_value *ucontrol) in wm_mute_put() argument
560 if (ucontrol->value.integer.value[i] != val) { in wm_mute_put()
563 ucontrol->value.integer.value[i] ? 0 : in wm_mute_put()
581 struct snd_ctl_elem_value *ucontrol) in wm_master_mute_get() argument
586 ucontrol->value.integer.value[0] = in wm_master_mute_get()
588 ucontrol->value.integer.value[1] = in wm_master_mute_get()
594 struct snd_ctl_elem_value *ucontrol) in wm_master_mute_put() argument
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()
636 struct snd_ctl_elem_value *ucontrol) in wm_pcm_vol_get() argument
644 ucontrol->value.integer.value[0] = val; in wm_pcm_vol_get()
650 struct snd_ctl_elem_value *ucontrol) in wm_pcm_vol_put() argument
656 nvol = ucontrol->value.integer.value[0]; in wm_pcm_vol_put()
678 struct snd_ctl_elem_value *ucontrol) in phase28_deemp_get() argument
681 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == in phase28_deemp_get()
687 struct snd_ctl_elem_value *ucontrol) in phase28_deemp_put() argument
693 if (ucontrol->value.integer.value[0]) in phase28_deemp_put()
716 struct snd_ctl_elem_value *ucontrol) in phase28_oversampling_get() argument
719 ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == in phase28_oversampling_get()
725 struct snd_ctl_elem_value *ucontrol) in phase28_oversampling_put() argument
733 if (ucontrol->value.enumerated.item[0]) in phase28_oversampling_put()