Lines Matching refs:ucontrol

266 			      struct snd_ctl_elem_value *ucontrol)  in ak4396_dac_vol_get()  argument
273 ucontrol->value.integer.value[i] = spec->vol[i]; in ak4396_dac_vol_get()
278 static int ak4396_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in ak4396_dac_vol_put() argument
287 if (ucontrol->value.integer.value[i] != spec->vol[i]) { in ak4396_dac_vol_put()
288 spec->vol[i] = ucontrol->value.integer.value[i]; in ak4396_dac_vol_put()
394 struct snd_ctl_elem_value *ucontrol) in wm_dac_vol_get() argument
401 ucontrol->value.integer.value[i] = in wm_dac_vol_get()
406 static int wm_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_dac_vol_put() argument
414 if (ucontrol->value.integer.value[i] != spec->vol[2 + i]) { in wm_dac_vol_put()
417 spec->vol[2 + i] |= ucontrol->value.integer.value[i]; in wm_dac_vol_put()
442 struct snd_ctl_elem_value *ucontrol) in wm8766_vol_get() argument
451 ucontrol->value.integer.value[i] = spec->vol[ofs + i]; in wm8766_vol_get()
455 static int wm8766_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm8766_vol_put() argument
466 if (ucontrol->value.integer.value[i] != spec->vol[ofs + i]) { in wm8766_vol_put()
469 spec->vol[ofs + i] |= ucontrol->value.integer.value[i]; in wm8766_vol_put()
493 struct snd_ctl_elem_value *ucontrol) in wm_master_vol_get() argument
499 ucontrol->value.integer.value[i] = spec->master[i]; in wm_master_vol_get()
504 struct snd_ctl_elem_value *ucontrol) in wm_master_vol_put() argument
512 if (ucontrol->value.integer.value[ch] != spec->master[ch]) { in wm_master_vol_put()
513 spec->master[ch] = ucontrol->value.integer.value[ch]; in wm_master_vol_put()
567 struct snd_ctl_elem_value *ucontrol) in wm_adc_mux_enum_get() argument
572 ucontrol->value.integer.value[0] = wm_get(ice, WM_ADC_MUX) & 0x1f; in wm_adc_mux_enum_get()
578 struct snd_ctl_elem_value *ucontrol) in wm_adc_mux_enum_put() argument
586 nval = (oval & 0xe0) | ucontrol->value.integer.value[0]; in wm_adc_mux_enum_put()
616 struct snd_ctl_elem_value *ucontrol) in wm_adc_vol_get() argument
626 ucontrol->value.integer.value[i] = val; in wm_adc_vol_get()
633 struct snd_ctl_elem_value *ucontrol) in wm_adc_vol_put() argument
641 nvol = ucontrol->value.integer.value[i]; in wm_adc_vol_put()
660 struct snd_ctl_elem_value *ucontrol) in wm_adc_mux_get() argument
666 ucontrol->value.integer.value[0] = in wm_adc_mux_get()
673 struct snd_ctl_elem_value *ucontrol) in wm_adc_mux_put() argument
682 if (ucontrol->value.integer.value[0]) in wm_adc_mux_put()
700 struct snd_ctl_elem_value *ucontrol) in wm_bypass_get() argument
705 ucontrol->value.integer.value[0] = in wm_bypass_get()
712 struct snd_ctl_elem_value *ucontrol) in wm_bypass_put() argument
720 if (ucontrol->value.integer.value[0]) in wm_bypass_put()
738 struct snd_ctl_elem_value *ucontrol) in wm_chswap_get() argument
743 ucontrol->value.integer.value[0] = in wm_chswap_get()
750 struct snd_ctl_elem_value *ucontrol) in wm_chswap_put() argument
759 if (ucontrol->value.integer.value[0]) in wm_chswap_put()