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];
vol167drivers/sound/gus_wave.cextern unsigned short gus_linear_vol (int vol, int mainvol);
vol403drivers/sound/gus_wave.cgus_voice_volume (unsigned int vol)
vol406drivers/sound/gus_wave.cgus_write16 (0x09, (unsigned short) (vol << 4));
vol510drivers/sound/gus_wave.cunsigned        vol, prev_vol, phase;
vol535drivers/sound/gus_wave.cvol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255;
vol548drivers/sound/gus_wave.cif (((vol - prev_vol) / 64) == 0)  /* No significant volume change */
vol555drivers/sound/gus_wave.cif (vol > prev_vol)
vol557drivers/sound/gus_wave.cif (vol >= (4096 - 64))
vol558drivers/sound/gus_wave.cvol = 4096 - 65;
vol559drivers/sound/gus_wave.cgus_ramp_range (0, vol);
vol564drivers/sound/gus_wave.cif (vol <= 64)
vol565drivers/sound/gus_wave.cvol = 65;
vol566drivers/sound/gus_wave.cgus_ramp_range (vol, 4030);
vol569drivers/sound/gus_wave.cvoices[voice].current_volume = vol;
vol2722drivers/sound/gus_wave.cint             vol = IOCTL_IN (arg) & 0xff;
vol2724drivers/sound/gus_wave.cif (vol < 0)
vol2725drivers/sound/gus_wave.cvol = 0;
vol2726drivers/sound/gus_wave.cif (vol > 100)
vol2727drivers/sound/gus_wave.cvol = 100;
vol2728drivers/sound/gus_wave.cgus_mic_vol = vol;
vol2730drivers/sound/gus_wave.creturn IOCTL_OUT (arg, vol | (vol << 8));
vol2736drivers/sound/gus_wave.cint             vol = IOCTL_IN (arg) & 0xff;
vol2738drivers/sound/gus_wave.cif (vol < 0)
vol2739drivers/sound/gus_wave.cvol = 0;
vol2740drivers/sound/gus_wave.cif (vol > 100)
vol2741drivers/sound/gus_wave.cvol = 100;
vol2742drivers/sound/gus_wave.cgus_line_vol = vol;
vol2744drivers/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;
vol856include/linux/soundcard.h#define SEQ_START_NOTE(dev, chn, note, vol) \
vol857include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
vol859include/linux/soundcard.h#define SEQ_STOP_NOTE(dev, chn, note, vol) \
vol860include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)