Lines Matching refs:ucontrol

185 			struct snd_ctl_elem_value *ucontrol)  in maya_vol_get()  argument
189 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_vol_get()
193 ucontrol->value.integer.value[0] = wm->volumes[idx][0]; in maya_vol_get()
194 ucontrol->value.integer.value[1] = wm->volumes[idx][1]; in maya_vol_get()
200 struct snd_ctl_elem_value *ucontrol) in maya_vol_put() argument
204 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_vol_put()
212 val = ucontrol->value.integer.value[ch]; in maya_vol_put()
246 struct snd_ctl_elem_value *ucontrol) in maya_sw_get() argument
250 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_sw_get()
253 ucontrol->value.integer.value[0] = (wm->switch_bits >> idx) & 1; in maya_sw_get()
258 struct snd_ctl_elem_value *ucontrol) in maya_sw_put() argument
262 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_sw_put()
270 val = ucontrol->value.integer.value[0]; in maya_sw_put()
311 struct snd_ctl_elem_value *ucontrol) in maya_gpio_sw_get() argument
320 ucontrol->value.integer.value[0] = val; in maya_gpio_sw_get()
325 struct snd_ctl_elem_value *ucontrol) in maya_gpio_sw_put() argument
334 val = ucontrol->value.integer.value[0]; in maya_gpio_sw_put()
366 struct snd_ctl_elem_value *ucontrol) in maya_rec_src_get() argument
375 ucontrol->value.enumerated.item[0] = sel; in maya_rec_src_get()
380 struct snd_ctl_elem_value *ucontrol) in maya_rec_src_put() argument
383 int sel = ucontrol->value.enumerated.item[0]; in maya_rec_src_put()
417 struct snd_ctl_elem_value *ucontrol) in maya_pb_route_get() argument
420 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in maya_pb_route_get()
421 ucontrol->value.enumerated.item[0] = in maya_pb_route_get()
427 struct snd_ctl_elem_value *ucontrol) in maya_pb_route_put() argument
430 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in maya_pb_route_put()
432 ucontrol->value.enumerated.item[0], in maya_pb_route_put()