Lines Matching refs:ucontrol

1364 				 struct snd_ctl_elem_value *ucontrol)  in snd_hda_mixer_amp_volume_get()  argument
1372 long *valp = ucontrol->value.integer.value; in snd_hda_mixer_amp_volume_get()
1391 struct snd_ctl_elem_value *ucontrol) in snd_hda_mixer_amp_volume_put() argument
1399 long *valp = ucontrol->value.integer.value; in snd_hda_mixer_amp_volume_put()
1770 struct snd_ctl_elem_value *ucontrol; in put_kctl_with_value() local
1771 ucontrol = kzalloc(sizeof(*ucontrol), GFP_KERNEL); in put_kctl_with_value()
1772 if (!ucontrol) in put_kctl_with_value()
1774 ucontrol->value.integer.value[0] = val; in put_kctl_with_value()
1775 ucontrol->value.integer.value[1] = val; in put_kctl_with_value()
1776 kctl->put(kctl, ucontrol); in put_kctl_with_value()
1777 kfree(ucontrol); in put_kctl_with_value()
1878 struct snd_ctl_elem_value *ucontrol) in vmaster_mute_mode_get() argument
1881 ucontrol->value.enumerated.item[0] = hook->mute_mode; in vmaster_mute_mode_get()
1886 struct snd_ctl_elem_value *ucontrol) in vmaster_mute_mode_put() argument
1891 hook->mute_mode = ucontrol->value.enumerated.item[0]; in vmaster_mute_mode_put()
1999 struct snd_ctl_elem_value *ucontrol) in snd_hda_mixer_amp_switch_get() argument
2006 long *valp = ucontrol->value.integer.value; in snd_hda_mixer_amp_switch_get()
2027 struct snd_ctl_elem_value *ucontrol) in snd_hda_mixer_amp_switch_put() argument
2034 long *valp = ucontrol->value.integer.value; in snd_hda_mixer_amp_switch_put()
2070 struct snd_ctl_elem_value *ucontrol) in snd_hda_mixer_bind_switch_get() argument
2079 err = snd_hda_mixer_amp_switch_get(kcontrol, ucontrol); in snd_hda_mixer_bind_switch_get()
2095 struct snd_ctl_elem_value *ucontrol) in snd_hda_mixer_bind_switch_put() argument
2107 err = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); in snd_hda_mixer_bind_switch_put()
2152 struct snd_ctl_elem_value *ucontrol) in snd_hda_mixer_bind_ctls_get() argument
2161 err = c->ops->get(kcontrol, ucontrol); in snd_hda_mixer_bind_ctls_get()
2177 struct snd_ctl_elem_value *ucontrol) in snd_hda_mixer_bind_ctls_put() argument
2188 err = c->ops->put(kcontrol, ucontrol); in snd_hda_mixer_bind_ctls_put()
2255 struct snd_ctl_elem_value *ucontrol) in snd_hda_spdif_cmask_get() argument
2257 ucontrol->value.iec958.status[0] = IEC958_AES0_PROFESSIONAL | in snd_hda_spdif_cmask_get()
2261 ucontrol->value.iec958.status[1] = IEC958_AES1_CON_CATEGORY | in snd_hda_spdif_cmask_get()
2267 struct snd_ctl_elem_value *ucontrol) in snd_hda_spdif_pmask_get() argument
2269 ucontrol->value.iec958.status[0] = IEC958_AES0_PROFESSIONAL | in snd_hda_spdif_pmask_get()
2276 struct snd_ctl_elem_value *ucontrol) in snd_hda_spdif_default_get() argument
2284 ucontrol->value.iec958.status[0] = spdif->status & 0xff; in snd_hda_spdif_default_get()
2285 ucontrol->value.iec958.status[1] = (spdif->status >> 8) & 0xff; in snd_hda_spdif_default_get()
2286 ucontrol->value.iec958.status[2] = (spdif->status >> 16) & 0xff; in snd_hda_spdif_default_get()
2287 ucontrol->value.iec958.status[3] = (spdif->status >> 24) & 0xff; in snd_hda_spdif_default_get()
2380 struct snd_ctl_elem_value *ucontrol) in snd_hda_spdif_default_put() argument
2392 spdif->status = ucontrol->value.iec958.status[0] | in snd_hda_spdif_default_put()
2393 ((unsigned int)ucontrol->value.iec958.status[1] << 8) | in snd_hda_spdif_default_put()
2394 ((unsigned int)ucontrol->value.iec958.status[2] << 16) | in snd_hda_spdif_default_put()
2395 ((unsigned int)ucontrol->value.iec958.status[3] << 24); in snd_hda_spdif_default_put()
2409 struct snd_ctl_elem_value *ucontrol) in snd_hda_spdif_out_switch_get() argument
2417 ucontrol->value.integer.value[0] = spdif->ctls & AC_DIG1_ENABLE; in snd_hda_spdif_out_switch_get()
2434 struct snd_ctl_elem_value *ucontrol) in snd_hda_spdif_out_switch_put() argument
2447 if (ucontrol->value.integer.value[0]) in snd_hda_spdif_out_switch_put()
2625 struct snd_ctl_elem_value *ucontrol) in spdif_share_sw_get() argument
2628 ucontrol->value.integer.value[0] = mout->share_spdif; in spdif_share_sw_get()
2633 struct snd_ctl_elem_value *ucontrol) in spdif_share_sw_put() argument
2636 mout->share_spdif = !!ucontrol->value.integer.value[0]; in spdif_share_sw_put()
2676 struct snd_ctl_elem_value *ucontrol) in snd_hda_spdif_in_switch_get() argument
2680 ucontrol->value.integer.value[0] = codec->spdif_in_enable; in snd_hda_spdif_in_switch_get()
2685 struct snd_ctl_elem_value *ucontrol) in snd_hda_spdif_in_switch_put() argument
2689 unsigned int val = !!ucontrol->value.integer.value[0]; in snd_hda_spdif_in_switch_put()
2704 struct snd_ctl_elem_value *ucontrol) in snd_hda_spdif_in_status_get() argument
2714 ucontrol->value.iec958.status[0] = sbits; in snd_hda_spdif_in_status_get()
2715 ucontrol->value.iec958.status[1] = sbits >> 8; in snd_hda_spdif_in_status_get()
2716 ucontrol->value.iec958.status[2] = sbits >> 16; in snd_hda_spdif_in_status_get()
2717 ucontrol->value.iec958.status[3] = sbits >> 24; in snd_hda_spdif_in_status_get()
3526 struct snd_ctl_elem_value *ucontrol, in snd_hda_input_mux_put() argument
3534 idx = ucontrol->value.enumerated.item[0]; in snd_hda_input_mux_put()