Lines Matching refs:ucontrol
95 struct snd_ctl_elem_value *ucontrol) in headset_get_switch() argument
97 ucontrol->value.integer.value[0] = hs_switch; in headset_get_switch()
102 struct snd_ctl_elem_value *ucontrol) in headset_set_switch() argument
107 if (ucontrol->value.integer.value[0] == hs_switch) in headset_set_switch()
112 if (ucontrol->value.integer.value[0]) { in headset_set_switch()
126 hs_switch = ucontrol->value.integer.value[0]; in headset_set_switch()
149 struct snd_ctl_elem_value *ucontrol) in lo_get_switch() argument
151 ucontrol->value.integer.value[0] = lo_dac; in lo_get_switch()
156 struct snd_ctl_elem_value *ucontrol) in lo_set_switch() argument
161 if (ucontrol->value.integer.value[0] == lo_dac) in lo_set_switch()
171 switch (ucontrol->value.integer.value[0]) { in lo_set_switch()
205 lo_dac = ucontrol->value.integer.value[0]; in lo_set_switch()