Lines Matching refs:integer
127 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume()
128 uinfo->value.integer.max = 15; in snd_pmac_awacs_info_volume()
150 ucontrol->value.integer.value[0] = vol[0]; in snd_pmac_awacs_get_volume()
151 ucontrol->value.integer.value[1] = vol[1]; in snd_pmac_awacs_get_volume()
166 vol[0] = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_volume()
167 vol[1] = ucontrol->value.integer.value[1]; in snd_pmac_awacs_put_volume()
213 ucontrol->value.integer.value[0] = val; in snd_pmac_awacs_get_switch()
230 if (ucontrol->value.integer.value[0] != invert) in snd_pmac_awacs_put_switch()
325 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume_amp()
326 uinfo->value.integer.max = 31; in snd_pmac_awacs_info_volume_amp()
337 ucontrol->value.integer.value[0] = 31 - (amp->amp_vol[index][0] & 31); in snd_pmac_awacs_get_volume_amp()
338 ucontrol->value.integer.value[1] = 31 - (amp->amp_vol[index][1] & 31); in snd_pmac_awacs_get_volume_amp()
350 vol[0] = (31 - (ucontrol->value.integer.value[0] & 31)) in snd_pmac_awacs_put_volume_amp()
352 vol[1] = (31 - (ucontrol->value.integer.value[1] & 31)) in snd_pmac_awacs_put_volume_amp()
364 ucontrol->value.integer.value[0] = (amp->amp_vol[index][0] & 32) in snd_pmac_awacs_get_switch_amp()
366 ucontrol->value.integer.value[1] = (amp->amp_vol[index][1] & 32) in snd_pmac_awacs_get_switch_amp()
379 vol[0] = (ucontrol->value.integer.value[0] ? 0 : 32) in snd_pmac_awacs_put_switch_amp()
381 vol[1] = (ucontrol->value.integer.value[1] ? 0 : 32) in snd_pmac_awacs_put_switch_amp()
391 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_tone_amp()
392 uinfo->value.integer.max = 14; in snd_pmac_awacs_info_tone_amp()
403 ucontrol->value.integer.value[0] = amp->amp_tone[index]; in snd_pmac_awacs_get_tone_amp()
415 val = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_tone_amp()
431 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_master_amp()
432 uinfo->value.integer.max = 99; in snd_pmac_awacs_info_master_amp()
442 ucontrol->value.integer.value[0] = amp->amp_master; in snd_pmac_awacs_get_master_amp()
453 val = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_master_amp()
533 uinfo->value.integer.min = 0; in snd_pmac_screamer_mic_boost_info()
534 uinfo->value.integer.max = 3; in snd_pmac_screamer_mic_boost_info()
551 ucontrol->value.integer.value[0] = val; in snd_pmac_screamer_mic_boost_get()
566 if (ucontrol->value.integer.value[0] & 1) in snd_pmac_screamer_mic_boost_put()
568 if (ucontrol->value.integer.value[0] & 2) in snd_pmac_screamer_mic_boost_put()