Lines Matching refs:ucontrol
300 struct snd_ctl_elem_value *ucontrol) in wm_pcm_mute_get() argument
305 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? in wm_pcm_mute_get()
312 struct snd_ctl_elem_value *ucontrol) in wm_pcm_mute_put() argument
320 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
343 struct snd_ctl_elem_value *ucontrol) in wm_master_vol_get() argument
349 ucontrol->value.integer.value[i] = spec->master[i] & in wm_master_vol_get()
355 struct snd_ctl_elem_value *ucontrol) in wm_master_vol_put() argument
363 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put()
490 struct snd_ctl_elem_value *ucontrol) in wm_vol_get() argument
499 ucontrol->value.integer.value[i] = in wm_vol_get()
505 struct snd_ctl_elem_value *ucontrol) in wm_vol_put() argument
517 vol = ucontrol->value.integer.value[i]; in wm_vol_put()
546 struct snd_ctl_elem_value *ucontrol) in wm_mute_get() argument
556 ucontrol->value.integer.value[i] = in wm_mute_get()
562 struct snd_ctl_elem_value *ucontrol) in wm_mute_put() argument
574 if (ucontrol->value.integer.value[i] != val) { in wm_mute_put()
577 ucontrol->value.integer.value[i] ? 0 : in wm_mute_put()
595 struct snd_ctl_elem_value *ucontrol) in wm_master_mute_get() argument
600 ucontrol->value.integer.value[0] = in wm_master_mute_get()
602 ucontrol->value.integer.value[1] = in wm_master_mute_get()
608 struct snd_ctl_elem_value *ucontrol) in wm_master_mute_put() argument
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()
650 struct snd_ctl_elem_value *ucontrol) in wm_pcm_vol_get() argument
658 ucontrol->value.integer.value[0] = val; in wm_pcm_vol_get()
664 struct snd_ctl_elem_value *ucontrol) in wm_pcm_vol_put() argument
670 nvol = ucontrol->value.integer.value[0]; in wm_pcm_vol_put()
692 struct snd_ctl_elem_value *ucontrol) in phase28_deemp_get() argument
695 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == in phase28_deemp_get()
701 struct snd_ctl_elem_value *ucontrol) in phase28_deemp_put() argument
707 if (ucontrol->value.integer.value[0]) in phase28_deemp_put()
730 struct snd_ctl_elem_value *ucontrol) in phase28_oversampling_get() argument
733 ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == in phase28_oversampling_get()
739 struct snd_ctl_elem_value *ucontrol) in phase28_oversampling_put() argument
747 if (ucontrol->value.enumerated.item[0]) in phase28_oversampling_put()