Searched refs:rvol (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/sound/isa/gus/ |
H A D | gus_volume.c | 47 unsigned int rvol; 54 rvol = 1 << e; 56 return rvol | (m << (e - 8)); 57 return rvol | (m >> (8 - e));
|
/openbmc/qemu/hw/audio/ |
H A D | ac97.c | 391 int *mute, uint8_t *lvol, uint8_t *rvol) in get_volume() argument 394 *rvol = (255 * (vol & mask)) / mask; in get_volume() 398 *rvol = 255 - *rvol; in get_volume() 405 uint8_t lvol, rvol, plvol, prvol; in update_combined_volume_out() local 409 &mute, &lvol, &rvol); in update_combined_volume_out() 415 rvol = (rvol * prvol) / 255; in update_combined_volume_out() 417 AUD_set_volume_out(s->voice_po, mute, lvol, rvol); in update_combined_volume_out() 422 uint8_t lvol, rvol; in update_volume_in() local 426 &mute, &lvol, &rvol); in update_volume_in() 428 AUD_set_volume_in(s->voice_pi, mute, lvol, rvol); in update_volume_in()
|
H A D | via-ac97.c | 46 int lvol, rvol, mute; in codec_volume_set_out() local 51 rvol = 255 - CODEC_VOL(CODEC_REG(s, AC97_Master_Volume_Mute), 0x1f); in codec_volume_set_out() 52 rvol *= 255 - CODEC_VOL(CODEC_REG(s, AC97_PCM_Out_Volume_Mute), 0x1f); in codec_volume_set_out() 53 rvol /= 255; in codec_volume_set_out() 56 AUD_set_volume_out(s->vo, mute, lvol, rvol); in codec_volume_set_out()
|
/openbmc/qemu/audio/ |
H A D | audio.h | 125 void AUD_set_volume_out (SWVoiceOut *sw, int mute, uint8_t lvol, uint8_t rvol); 126 void AUD_set_volume_in (SWVoiceIn *sw, int mute, uint8_t lvol, uint8_t rvol);
|
H A D | audio.c | 1946 void AUD_set_volume_out (SWVoiceOut *sw, int mute, uint8_t lvol, uint8_t rvol) in AUD_set_volume_out() argument 1948 Volume vol = { .mute = mute, .channels = 2, .vol = { lvol, rvol } }; in AUD_set_volume_out() 1968 void AUD_set_volume_in (SWVoiceIn *sw, int mute, uint8_t lvol, uint8_t rvol) in AUD_set_volume_in() argument 1970 Volume vol = { .mute = mute, .channels = 2, .vol = { lvol, rvol } }; in AUD_set_volume_in()
|
/openbmc/linux/sound/ppc/ |
H A D | awacs.c | 282 int lvol, int rvol, int do_check) in awacs_amp_set_vol() argument 285 amp->amp_vol[index][1] == rvol) in awacs_amp_set_vol() 288 awacs_set_cuda(5 + index, rvol); in awacs_amp_set_vol() 290 amp->amp_vol[index][1] = rvol; in awacs_amp_set_vol()
|
/openbmc/linux/sound/pci/trident/ |
H A D | trident.h | 334 unsigned char rvol; /* rear volume */ member
|
H A D | trident_main.c | 935 voice->RVol = mix->rvol; in snd_trident_playback_prepare() 1440 voice->RVol = mix->rvol; in snd_trident_spdif_prepare() 2751 ucontrol->value.integer.value[0] = 127 - mix->rvol; in snd_trident_pcm_rvol_control_get() 2765 change = val != mix->rvol; in snd_trident_pcm_rvol_control_put() 2766 mix->rvol = val; in snd_trident_pcm_rvol_control_put() 2882 tmix->rvol = T4D_DEFAULT_PCM_RVOL; in snd_trident_pcm_mixer_build() 3592 tmix->rvol = T4D_DEFAULT_PCM_RVOL; in snd_trident_create()
|