Lines Matching refs:ucontrol

185 					struct snd_ctl_elem_value *ucontrol)  in snd_pmac_burgundy_get_volume()  argument
191 ucontrol->value.integer.value, shift); in snd_pmac_burgundy_get_volume()
196 struct snd_ctl_elem_value *ucontrol) in snd_pmac_burgundy_put_volume() argument
204 ucontrol->value.integer.value, shift); in snd_pmac_burgundy_put_volume()
206 return (nvoices[0] != ucontrol->value.integer.value[0] || in snd_pmac_burgundy_put_volume()
207 nvoices[1] != ucontrol->value.integer.value[1]); in snd_pmac_burgundy_put_volume()
261 struct snd_ctl_elem_value *ucontrol) in snd_pmac_burgundy_get_volume_2b() argument
267 ucontrol->value.integer.value, off); in snd_pmac_burgundy_get_volume_2b()
272 struct snd_ctl_elem_value *ucontrol) in snd_pmac_burgundy_put_volume_2b() argument
280 ucontrol->value.integer.value, off); in snd_pmac_burgundy_put_volume_2b()
282 return (nvoices[0] != ucontrol->value.integer.value[0] || in snd_pmac_burgundy_put_volume_2b()
283 nvoices[1] != ucontrol->value.integer.value[1]); in snd_pmac_burgundy_put_volume_2b()
308 struct snd_ctl_elem_value *ucontrol) in snd_pmac_burgundy_get_gain() argument
319 ucontrol->value.integer.value[0] = oval & 0xf; in snd_pmac_burgundy_get_gain()
321 ucontrol->value.integer.value[1] = (oval >> 4) & 0xf; in snd_pmac_burgundy_get_gain()
326 struct snd_ctl_elem_value *ucontrol) in snd_pmac_burgundy_put_gain() argument
337 val = ucontrol->value.integer.value[0]; in snd_pmac_burgundy_put_gain()
339 val |= ucontrol->value.integer.value[1] << 4; in snd_pmac_burgundy_put_gain()
341 val |= ucontrol->value.integer.value[0] << 4; in snd_pmac_burgundy_put_gain()
370 struct snd_ctl_elem_value *ucontrol) in snd_pmac_burgundy_get_switch_w() argument
378 ucontrol->value.integer.value[0] = (val & lmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_w()
380 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_w()
385 struct snd_ctl_elem_value *ucontrol) in snd_pmac_burgundy_put_switch_w() argument
395 if (ucontrol->value.integer.value[0]) in snd_pmac_burgundy_put_switch_w()
397 if (stereo && ucontrol->value.integer.value[1]) in snd_pmac_burgundy_put_switch_w()
426 struct snd_ctl_elem_value *ucontrol) in snd_pmac_burgundy_get_switch_b() argument
434 ucontrol->value.integer.value[0] = (val & lmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_b()
436 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_b()
441 struct snd_ctl_elem_value *ucontrol) in snd_pmac_burgundy_put_switch_b() argument
451 if (ucontrol->value.integer.value[0]) in snd_pmac_burgundy_put_switch_b()
453 if (stereo && ucontrol->value.integer.value[1]) in snd_pmac_burgundy_put_switch_b()