Lines Matching refs:amp_vol
27 unsigned char amp_vol[2][2]; member
284 if (do_check && amp->amp_vol[index][0] == lvol && in awacs_amp_set_vol()
285 amp->amp_vol[index][1] == rvol) in awacs_amp_set_vol()
289 amp->amp_vol[index][0] = lvol; in awacs_amp_set_vol()
290 amp->amp_vol[index][1] = rvol; in awacs_amp_set_vol()
338 ucontrol->value.integer.value[0] = 31 - (amp->amp_vol[index][0] & 31); in snd_pmac_awacs_get_volume_amp()
339 ucontrol->value.integer.value[1] = 31 - (amp->amp_vol[index][1] & 31); in snd_pmac_awacs_get_volume_amp()
352 | (amp->amp_vol[index][0] & 32); in snd_pmac_awacs_put_volume_amp()
354 | (amp->amp_vol[index][1] & 32); in snd_pmac_awacs_put_volume_amp()
365 ucontrol->value.integer.value[0] = (amp->amp_vol[index][0] & 32) in snd_pmac_awacs_get_switch_amp()
367 ucontrol->value.integer.value[1] = (amp->amp_vol[index][1] & 32) in snd_pmac_awacs_get_switch_amp()
381 | (amp->amp_vol[index][0] & 31); in snd_pmac_awacs_put_switch_amp()
383 | (amp->amp_vol[index][1] & 31); in snd_pmac_awacs_put_switch_amp()
761 amp->amp_vol[0][0], amp->amp_vol[0][1], 0); in snd_pmac_awacs_resume()
763 amp->amp_vol[1][0], amp->amp_vol[1][1], 0); in snd_pmac_awacs_resume()
797 vol[0] = amp->amp_vol[index][0] & 31; in toggle_amp_mute()
798 vol[1] = amp->amp_vol[index][1] & 31; in toggle_amp_mute()