Lines Matching refs:ucontrol

146 				     struct snd_ctl_elem_value *ucontrol)  in snd_pmac_awacs_get_volume()  argument
163 ucontrol->value.integer.value[0] = vol[0]; in snd_pmac_awacs_get_volume()
164 ucontrol->value.integer.value[1] = vol[1]; in snd_pmac_awacs_get_volume()
169 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_put_volume() argument
179 vol[0] = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_volume()
180 vol[1] = ucontrol->value.integer.value[1]; in snd_pmac_awacs_put_volume()
212 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_get_switch() argument
226 ucontrol->value.integer.value[0] = val; in snd_pmac_awacs_get_switch()
231 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_put_switch() argument
243 if (ucontrol->value.integer.value[0] != invert) in snd_pmac_awacs_put_switch()
344 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_get_volume_amp() argument
350 ucontrol->value.integer.value[0] = 31 - (amp->amp_vol[index][0] & 31); in snd_pmac_awacs_get_volume_amp()
351 ucontrol->value.integer.value[1] = 31 - (amp->amp_vol[index][1] & 31); in snd_pmac_awacs_get_volume_amp()
356 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_put_volume_amp() argument
363 vol[0] = (31 - (ucontrol->value.integer.value[0] & 31)) in snd_pmac_awacs_put_volume_amp()
365 vol[1] = (31 - (ucontrol->value.integer.value[1] & 31)) in snd_pmac_awacs_put_volume_amp()
371 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_get_switch_amp() argument
377 ucontrol->value.integer.value[0] = (amp->amp_vol[index][0] & 32) in snd_pmac_awacs_get_switch_amp()
379 ucontrol->value.integer.value[1] = (amp->amp_vol[index][1] & 32) in snd_pmac_awacs_get_switch_amp()
385 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_put_switch_amp() argument
392 vol[0] = (ucontrol->value.integer.value[0] ? 0 : 32) in snd_pmac_awacs_put_switch_amp()
394 vol[1] = (ucontrol->value.integer.value[1] ? 0 : 32) in snd_pmac_awacs_put_switch_amp()
410 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_get_tone_amp() argument
416 ucontrol->value.integer.value[0] = amp->amp_tone[index]; in snd_pmac_awacs_get_tone_amp()
421 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_put_tone_amp() argument
428 val = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_tone_amp()
450 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_get_master_amp() argument
455 ucontrol->value.integer.value[0] = amp->amp_master; in snd_pmac_awacs_get_master_amp()
460 struct snd_ctl_elem_value *ucontrol) in snd_pmac_awacs_put_master_amp() argument
466 val = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_master_amp()
552 struct snd_ctl_elem_value *ucontrol) in snd_pmac_screamer_mic_boost_get() argument
564 ucontrol->value.integer.value[0] = val; in snd_pmac_screamer_mic_boost_get()
569 struct snd_ctl_elem_value *ucontrol) in snd_pmac_screamer_mic_boost_put() argument
579 if (ucontrol->value.integer.value[0] & 1) in snd_pmac_screamer_mic_boost_put()
581 if (ucontrol->value.integer.value[0] & 2) in snd_pmac_screamer_mic_boost_put()