Lines Matching refs:ucontrol
171 struct snd_ctl_elem_value *ucontrol) in maya_vol_get() argument
175 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_vol_get()
179 ucontrol->value.integer.value[0] = wm->volumes[idx][0]; in maya_vol_get()
180 ucontrol->value.integer.value[1] = wm->volumes[idx][1]; in maya_vol_get()
186 struct snd_ctl_elem_value *ucontrol) in maya_vol_put() argument
190 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_vol_put()
198 val = ucontrol->value.integer.value[ch]; in maya_vol_put()
232 struct snd_ctl_elem_value *ucontrol) in maya_sw_get() argument
236 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_sw_get()
239 ucontrol->value.integer.value[0] = (wm->switch_bits >> idx) & 1; in maya_sw_get()
244 struct snd_ctl_elem_value *ucontrol) in maya_sw_put() argument
248 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_sw_put()
256 val = ucontrol->value.integer.value[0]; in maya_sw_put()
297 struct snd_ctl_elem_value *ucontrol) in maya_gpio_sw_get() argument
306 ucontrol->value.integer.value[0] = val; in maya_gpio_sw_get()
311 struct snd_ctl_elem_value *ucontrol) in maya_gpio_sw_put() argument
320 val = ucontrol->value.integer.value[0]; in maya_gpio_sw_put()
352 struct snd_ctl_elem_value *ucontrol) in maya_rec_src_get() argument
361 ucontrol->value.enumerated.item[0] = sel; in maya_rec_src_get()
366 struct snd_ctl_elem_value *ucontrol) in maya_rec_src_put() argument
369 int sel = ucontrol->value.enumerated.item[0]; in maya_rec_src_put()
403 struct snd_ctl_elem_value *ucontrol) in maya_pb_route_get() argument
406 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in maya_pb_route_get()
407 ucontrol->value.enumerated.item[0] = in maya_pb_route_get()
413 struct snd_ctl_elem_value *ucontrol) in maya_pb_route_put() argument
416 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in maya_pb_route_put()
418 ucontrol->value.enumerated.item[0], in maya_pb_route_put()