Lines Matching refs:ucontrol
2990 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_get_volsw() argument
3019 ucontrol->value.integer.value[0] = max - val; in snd_soc_dapm_get_volsw()
3021 ucontrol->value.integer.value[0] = val; in snd_soc_dapm_get_volsw()
3037 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_put_volsw() argument
3058 val = (ucontrol->value.integer.value[0] & mask); in snd_soc_dapm_put_volsw()
3109 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_get_enum_double() argument
3129 ucontrol->value.enumerated.item[0] = snd_soc_enum_val_to_item(e, val); in snd_soc_dapm_get_enum_double()
3133 ucontrol->value.enumerated.item[1] = val; in snd_soc_dapm_get_enum_double()
3150 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_put_enum_double() argument
3155 unsigned int *item = ucontrol->value.enumerated.item; in snd_soc_dapm_put_enum_double()
3231 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_get_pin_switch() argument
3238 ucontrol->value.integer.value[0] = in snd_soc_dapm_get_pin_switch()
3254 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_put_pin_switch() argument
3259 if (ucontrol->value.integer.value[0]) in snd_soc_dapm_put_pin_switch()
3574 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_dai_link_get() argument
3578 ucontrol->value.enumerated.item[0] = w->params_select; in snd_soc_dapm_dai_link_get()
3584 struct snd_ctl_elem_value *ucontrol) in snd_soc_dapm_dai_link_put() argument
3592 if (ucontrol->value.enumerated.item[0] == w->params_select) in snd_soc_dapm_dai_link_put()
3595 if (ucontrol->value.enumerated.item[0] >= w->num_params) in snd_soc_dapm_dai_link_put()
3598 w->params_select = ucontrol->value.enumerated.item[0]; in snd_soc_dapm_dai_link_put()