taglinefilesource code
vol120drivers/sound/gus_vol.cgus_linear_vol (int vol, int mainvol)
vol124drivers/sound/gus_vol.cif (vol <= 0)
vol125drivers/sound/gus_vol.cvol = 0;
vol126drivers/sound/gus_vol.celse if (vol >= 127)
vol127drivers/sound/gus_vol.cvol = 127;
vol144drivers/sound/gus_vol.creturn gus_linearvol[(((vol * mainvol) / 128) * mixer_mainvol) / 100];
vol171drivers/sound/gus_wave.cextern unsigned short gus_linear_vol (int vol, int mainvol);
vol407drivers/sound/gus_wave.cgus_voice_volume (unsigned int vol)
vol410drivers/sound/gus_wave.cgus_write16 (0x09, (unsigned short) (vol << 4));
vol516drivers/sound/gus_wave.cunsigned        vol, prev_vol, phase;
vol541drivers/sound/gus_wave.cvol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255;
vol554drivers/sound/gus_wave.cif (((vol - prev_vol) / 64) == 0)  /* No significant volume change */
vol561drivers/sound/gus_wave.cif (vol > prev_vol)
vol563drivers/sound/gus_wave.cif (vol >= (4096 - 64))
vol564drivers/sound/gus_wave.cvol = 4096 - 65;
vol565drivers/sound/gus_wave.cgus_ramp_range (0, vol);
vol570drivers/sound/gus_wave.cif (vol <= 64)
vol571drivers/sound/gus_wave.cvol = 65;
vol572drivers/sound/gus_wave.cgus_ramp_range (vol, 4030);
vol575drivers/sound/gus_wave.cvoices[voice].current_volume = vol;
vol2805drivers/sound/gus_wave.cint             vol = IOCTL_IN (arg) & 0xff;
vol2807drivers/sound/gus_wave.cif (vol < 0)
vol2808drivers/sound/gus_wave.cvol = 0;
vol2809drivers/sound/gus_wave.cif (vol > 100)
vol2810drivers/sound/gus_wave.cvol = 100;
vol2811drivers/sound/gus_wave.cgus_mic_vol = vol;
vol2813drivers/sound/gus_wave.creturn IOCTL_OUT (arg, vol | (vol << 8));
vol2819drivers/sound/gus_wave.cint             vol = IOCTL_IN (arg) & 0xff;
vol2821drivers/sound/gus_wave.cif (vol < 0)
vol2822drivers/sound/gus_wave.cvol = 0;
vol2823drivers/sound/gus_wave.cif (vol > 100)
vol2824drivers/sound/gus_wave.cvol = 100;
vol2825drivers/sound/gus_wave.cgus_line_vol = vol;
vol2827drivers/sound/gus_wave.creturn IOCTL_OUT (arg, vol | (vol << 8));
vol48drivers/sound/ics2101.cscale_vol (int vol)
vol58drivers/sound/ics2101.cif (vol < 0)
vol59drivers/sound/ics2101.cvol = 0;
vol60drivers/sound/ics2101.cif (vol > 100)
vol61drivers/sound/ics2101.cvol = 100;
vol62drivers/sound/ics2101.cvol = (31 * vol + 50) / 100;
vol64drivers/sound/ics2101.cif (vol)
vol66drivers/sound/ics2101.cwhile (vol < 16)
vol68drivers/sound/ics2101.cvol <<= 1;
vol71drivers/sound/ics2101.cvol -= 16;
vol74drivers/sound/ics2101.creturn ((e << 4) + vol);
vol76drivers/sound/ics2101.creturn ((vol * 127) + 50) / 100;
vol81drivers/sound/ics2101.cwrite_mix (int dev, int chn, int vol)
vol88drivers/sound/ics2101.cvol = scale_vol (vol);
vol107drivers/sound/ics2101.cOUTB ((unsigned char) vol, u_MixData);
vol112drivers/sound/ics2101.cset_volumes (int dev, int vol)
vol114drivers/sound/ics2101.cint             left = vol & 0x00ff;
vol115drivers/sound/ics2101.cint             right = (vol >> 8) & 0x00ff;
vol129drivers/sound/ics2101.cvol = left + (right << 8);
vol130drivers/sound/ics2101.cvolumes[dev] = vol;
vol131drivers/sound/ics2101.creturn vol;
vol947include/linux/soundcard.h#define SEQ_START_NOTE(dev, chn, note, vol) \
vol948include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
vol950include/linux/soundcard.h#define SEQ_STOP_NOTE(dev, chn, note, vol) \
vol951include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)