Lines Matching refs:value
179 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume()
180 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume()
191 ucontrol->value.integer.value, shift); in snd_pmac_burgundy_get_volume()
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()
255 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume_2b()
256 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume_2b()
267 ucontrol->value.integer.value, off); in snd_pmac_burgundy_get_volume_2b()
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()
302 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_gain()
303 uinfo->value.integer.max = 15; in snd_pmac_burgundy_info_gain()
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()
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()
364 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_switch_w()
365 uinfo->value.integer.max = 1; in snd_pmac_burgundy_info_switch_w()
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()
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()
420 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_switch_b()
421 uinfo->value.integer.max = 1; in snd_pmac_burgundy_info_switch_b()
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()
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()