Lines Matching refs:integer

140 	uinfo->value.integer.min = 0;  in snd_pmac_awacs_info_volume()
141 uinfo->value.integer.max = 15; in snd_pmac_awacs_info_volume()
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()
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()
226 ucontrol->value.integer.value[0] = val; in snd_pmac_awacs_get_switch()
243 if (ucontrol->value.integer.value[0] != invert) in snd_pmac_awacs_put_switch()
338 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume_amp()
339 uinfo->value.integer.max = 31; in snd_pmac_awacs_info_volume_amp()
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()
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()
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()
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()
404 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_tone_amp()
405 uinfo->value.integer.max = 14; in snd_pmac_awacs_info_tone_amp()
416 ucontrol->value.integer.value[0] = amp->amp_tone[index]; in snd_pmac_awacs_get_tone_amp()
428 val = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_tone_amp()
444 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_master_amp()
445 uinfo->value.integer.max = 99; in snd_pmac_awacs_info_master_amp()
455 ucontrol->value.integer.value[0] = amp->amp_master; in snd_pmac_awacs_get_master_amp()
466 val = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_master_amp()
546 uinfo->value.integer.min = 0; in snd_pmac_screamer_mic_boost_info()
547 uinfo->value.integer.max = 3; in snd_pmac_screamer_mic_boost_info()
564 ucontrol->value.integer.value[0] = val; in snd_pmac_screamer_mic_boost_get()
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()