Lines Matching refs:ucontrol
182 struct snd_ctl_elem_value *ucontrol) in hsw_stream_volume_put() argument
203 hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); in hsw_stream_volume_put()
205 hsw_mixer_to_ipc(ucontrol->value.integer.value[1]); in hsw_stream_volume_put()
212 if (ucontrol->value.integer.value[0] == in hsw_stream_volume_put()
213 ucontrol->value.integer.value[1]) { in hsw_stream_volume_put()
214 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); in hsw_stream_volume_put()
218 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); in hsw_stream_volume_put()
220 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[1]); in hsw_stream_volume_put()
231 struct snd_ctl_elem_value *ucontrol) in hsw_stream_volume_get() argument
251 ucontrol->value.integer.value[0] = in hsw_stream_volume_get()
253 ucontrol->value.integer.value[1] = in hsw_stream_volume_get()
262 ucontrol->value.integer.value[0] = hsw_ipc_to_mixer(volume); in hsw_stream_volume_get()
264 ucontrol->value.integer.value[1] = hsw_ipc_to_mixer(volume); in hsw_stream_volume_get()
274 struct snd_ctl_elem_value *ucontrol) in hsw_volume_put() argument
283 if (ucontrol->value.integer.value[0] == in hsw_volume_put()
284 ucontrol->value.integer.value[1]) { in hsw_volume_put()
286 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); in hsw_volume_put()
290 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); in hsw_volume_put()
293 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[1]); in hsw_volume_put()
303 struct snd_ctl_elem_value *ucontrol) in hsw_volume_get() argument
312 ucontrol->value.integer.value[0] = hsw_ipc_to_mixer(volume); in hsw_volume_get()
315 ucontrol->value.integer.value[1] = hsw_ipc_to_mixer(volume); in hsw_volume_get()
323 struct snd_ctl_elem_value *ucontrol) in hsw_waves_switch_get() argument
330 ucontrol->value.integer.value[0] = in hsw_waves_switch_get()
337 struct snd_ctl_elem_value *ucontrol) in hsw_waves_switch_put() argument
344 bool switch_on = (bool)ucontrol->value.integer.value[0]; in hsw_waves_switch_put()
371 struct snd_ctl_elem_value *ucontrol) in hsw_waves_param_get() argument
378 return sst_hsw_load_param_line(hsw, ucontrol->value.bytes.data); in hsw_waves_param_get()
382 struct snd_ctl_elem_value *ucontrol) in hsw_waves_param_put() argument
389 int param_id = ucontrol->value.bytes.data[0]; in hsw_waves_param_put()
399 ret = sst_hsw_store_param_line(hsw, ucontrol->value.bytes.data); in hsw_waves_param_put()
405 param_size, ucontrol->value.bytes.data); in hsw_waves_param_put()