Lines Matching refs:ucontrol
2792 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_get_volsw() argument
2821 ucontrol->value.integer.value[0] = max - val; in snd_soc_dapm_get_volsw()
2823 ucontrol->value.integer.value[0] = val; in snd_soc_dapm_get_volsw()
2839 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_put_volsw() argument
2860 val = (ucontrol->value.integer.value[0] & mask); in snd_soc_dapm_put_volsw()
2911 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_get_enum_double() argument
2926 ucontrol->value.enumerated.item[0] = snd_soc_enum_val_to_item(e, val); in snd_soc_dapm_get_enum_double()
2930 ucontrol->value.enumerated.item[1] = val; in snd_soc_dapm_get_enum_double()
2947 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_put_enum_double() argument
2952 unsigned int *item = ucontrol->value.enumerated.item; in snd_soc_dapm_put_enum_double()
3027 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_get_pin_switch() argument
3034 ucontrol->value.integer.value[0] = in snd_soc_dapm_get_pin_switch()
3050 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_put_pin_switch() argument
3055 if (ucontrol->value.integer.value[0]) in snd_soc_dapm_put_pin_switch()
3323 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_dai_link_get() argument
3327 ucontrol->value.enumerated.item[0] = w->params_select; in snd_soc_dapm_dai_link_get()
3333 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_dai_link_put() argument
3341 if (ucontrol->value.enumerated.item[0] == w->params_select) in snd_soc_dapm_dai_link_put()
3344 if (ucontrol->value.enumerated.item[0] >= w->num_params) in snd_soc_dapm_dai_link_put()
3347 w->params_select = ucontrol->value.enumerated.item[0]; in snd_soc_dapm_dai_link_put()