Lines Matching refs:integer
166 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume()
167 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume()
178 ucontrol->value.integer.value, shift); in snd_pmac_burgundy_get_volume()
191 ucontrol->value.integer.value, shift); in snd_pmac_burgundy_put_volume()
193 return (nvoices[0] != ucontrol->value.integer.value[0] || in snd_pmac_burgundy_put_volume()
194 nvoices[1] != ucontrol->value.integer.value[1]); in snd_pmac_burgundy_put_volume()
242 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume_2b()
243 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume_2b()
254 ucontrol->value.integer.value, off); in snd_pmac_burgundy_get_volume_2b()
267 ucontrol->value.integer.value, off); in snd_pmac_burgundy_put_volume_2b()
269 return (nvoices[0] != ucontrol->value.integer.value[0] || in snd_pmac_burgundy_put_volume_2b()
270 nvoices[1] != ucontrol->value.integer.value[1]); in snd_pmac_burgundy_put_volume_2b()
289 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_gain()
290 uinfo->value.integer.max = 15; in snd_pmac_burgundy_info_gain()
306 ucontrol->value.integer.value[0] = oval & 0xf; in snd_pmac_burgundy_get_gain()
308 ucontrol->value.integer.value[1] = (oval >> 4) & 0xf; in snd_pmac_burgundy_get_gain()
324 val = ucontrol->value.integer.value[0]; in snd_pmac_burgundy_put_gain()
326 val |= ucontrol->value.integer.value[1] << 4; in snd_pmac_burgundy_put_gain()
328 val |= ucontrol->value.integer.value[0] << 4; in snd_pmac_burgundy_put_gain()
351 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_switch_w()
352 uinfo->value.integer.max = 1; in snd_pmac_burgundy_info_switch_w()
365 ucontrol->value.integer.value[0] = (val & lmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_w()
367 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_w()
382 if (ucontrol->value.integer.value[0]) in snd_pmac_burgundy_put_switch_w()
384 if (stereo && ucontrol->value.integer.value[1]) in snd_pmac_burgundy_put_switch_w()
407 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_switch_b()
408 uinfo->value.integer.max = 1; in snd_pmac_burgundy_info_switch_b()
421 ucontrol->value.integer.value[0] = (val & lmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_b()
423 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_b()
438 if (ucontrol->value.integer.value[0]) in snd_pmac_burgundy_put_switch_b()
440 if (stereo && ucontrol->value.integer.value[1]) in snd_pmac_burgundy_put_switch_b()