Lines Matching refs:integer
128 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume()
129 uinfo->value.integer.max = 15; in snd_pmac_awacs_info_volume()
149 ucontrol->value.integer.value[0] = vol[0]; in snd_pmac_awacs_get_volume()
150 ucontrol->value.integer.value[1] = vol[1]; in snd_pmac_awacs_get_volume()
164 vol[0] = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_volume()
165 vol[1] = ucontrol->value.integer.value[1]; in snd_pmac_awacs_put_volume()
208 ucontrol->value.integer.value[0] = val; in snd_pmac_awacs_get_switch()
224 if (ucontrol->value.integer.value[0] != invert) in snd_pmac_awacs_put_switch()
318 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume_amp()
319 uinfo->value.integer.max = 31; in snd_pmac_awacs_info_volume_amp()
330 ucontrol->value.integer.value[0] = 31 - (amp->amp_vol[index][0] & 31); in snd_pmac_awacs_get_volume_amp()
331 ucontrol->value.integer.value[1] = 31 - (amp->amp_vol[index][1] & 31); in snd_pmac_awacs_get_volume_amp()
343 vol[0] = (31 - (ucontrol->value.integer.value[0] & 31)) in snd_pmac_awacs_put_volume_amp()
345 vol[1] = (31 - (ucontrol->value.integer.value[1] & 31)) in snd_pmac_awacs_put_volume_amp()
357 ucontrol->value.integer.value[0] = (amp->amp_vol[index][0] & 32) in snd_pmac_awacs_get_switch_amp()
359 ucontrol->value.integer.value[1] = (amp->amp_vol[index][1] & 32) in snd_pmac_awacs_get_switch_amp()
372 vol[0] = (ucontrol->value.integer.value[0] ? 0 : 32) in snd_pmac_awacs_put_switch_amp()
374 vol[1] = (ucontrol->value.integer.value[1] ? 0 : 32) in snd_pmac_awacs_put_switch_amp()
384 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_tone_amp()
385 uinfo->value.integer.max = 14; in snd_pmac_awacs_info_tone_amp()
396 ucontrol->value.integer.value[0] = amp->amp_tone[index]; in snd_pmac_awacs_get_tone_amp()
408 val = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_tone_amp()
424 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_master_amp()
425 uinfo->value.integer.max = 99; in snd_pmac_awacs_info_master_amp()
435 ucontrol->value.integer.value[0] = amp->amp_master; in snd_pmac_awacs_get_master_amp()
446 val = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_master_amp()
526 uinfo->value.integer.min = 0; in snd_pmac_screamer_mic_boost_info()
527 uinfo->value.integer.max = 3; in snd_pmac_screamer_mic_boost_info()
542 ucontrol->value.integer.value[0] = val; in snd_pmac_screamer_mic_boost_get()
556 if (ucontrol->value.integer.value[0] & 1) in snd_pmac_screamer_mic_boost_put()
558 if (ucontrol->value.integer.value[0] & 2) in snd_pmac_screamer_mic_boost_put()