Lines Matching defs:ucontrol
114 struct snd_ctl_elem_value *ucontrol)
127 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
134 ucontrol->value.integer.value[0] = (~val >> 7) & 0x1;
140 struct snd_ctl_elem_value *ucontrol)
150 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) |
158 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
164 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) |
191 struct snd_ctl_elem_value *ucontrol)
201 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
208 ucontrol->value.integer.value[0] = 0x7f - vol;
213 struct snd_ctl_elem_value *ucontrol)
222 nvol = ucontrol->value.integer.value[0] & 0x7f;
231 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
233 nvol = ucontrol->value.integer.value[0] & 0x7f;
258 struct snd_ctl_elem_value *ucontrol)
264 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
268 ucontrol->value.integer.value[i] = ~val>>7 & 0x1;
273 ucontrol->value.integer.value[i] = ~val>>7 & 0x1;
280 struct snd_ctl_elem_value *ucontrol)
287 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
292 new = (~ucontrol->value.integer.value[i]<<7&0x80) |
302 new = (~ucontrol->value.integer.value[i]<<7&0x80) |
326 struct snd_ctl_elem_value *ucontrol)
332 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
337 ucontrol->value.integer.value[i] = 0x0f - vol;
343 ucontrol->value.integer.value[i] = 0x0f - vol;
350 struct snd_ctl_elem_value *ucontrol)
357 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
361 nvol = ucontrol->value.integer.value[i] & 0x0f;
371 nvol = ucontrol->value.integer.value[i] & 0x0f;
395 struct snd_ctl_elem_value *ucontrol)
401 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
406 ucontrol->value.enumerated.item[0] = (val >> 7) & 0x1;
411 struct snd_ctl_elem_value *ucontrol)
417 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
422 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80);