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) / 127) * mixer_mainvol) / 100];
vol179drivers/sound/gus_wave.cextern unsigned short gus_linear_vol (int vol, int mainvol);
vol424drivers/sound/gus_wave.cgus_voice_volume (unsigned int vol)
vol427drivers/sound/gus_wave.cgus_write16 (0x09, (unsigned short) (vol << 4));
vol534drivers/sound/gus_wave.cunsigned        vol, prev_vol, phase;
vol560drivers/sound/gus_wave.cvol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255;
vol574drivers/sound/gus_wave.cif (((vol - prev_vol) / 64) == 0)  /* No significant volume change */
vol581drivers/sound/gus_wave.cif (vol > prev_vol)
vol583drivers/sound/gus_wave.cif (vol >= (4096 - 64))
vol584drivers/sound/gus_wave.cvol = 4096 - 65;
vol585drivers/sound/gus_wave.cgus_ramp_range (0, vol);
vol590drivers/sound/gus_wave.cif (vol <= 64)
vol591drivers/sound/gus_wave.cvol = 65;
vol592drivers/sound/gus_wave.cgus_ramp_range (vol, 4030);
vol595drivers/sound/gus_wave.cvoices[voice].current_volume = vol;
vol2845drivers/sound/gus_wave.cint             vol = get_fs_long ((long *) arg) & 0xff;
vol2847drivers/sound/gus_wave.cif (vol < 0)
vol2848drivers/sound/gus_wave.cvol = 0;
vol2849drivers/sound/gus_wave.cif (vol > 100)
vol2850drivers/sound/gus_wave.cvol = 100;
vol2851drivers/sound/gus_wave.cgus_mic_vol = vol;
vol2853drivers/sound/gus_wave.creturn snd_ioctl_return ((int *) arg, vol | (vol << 8));
vol2859drivers/sound/gus_wave.cint             vol = get_fs_long ((long *) arg) & 0xff;
vol2861drivers/sound/gus_wave.cif (vol < 0)
vol2862drivers/sound/gus_wave.cvol = 0;
vol2863drivers/sound/gus_wave.cif (vol > 100)
vol2864drivers/sound/gus_wave.cvol = 100;
vol2865drivers/sound/gus_wave.cgus_line_vol = vol;
vol2867drivers/sound/gus_wave.creturn snd_ioctl_return ((int *) arg, vol | (vol << 8));
vol49drivers/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);
vol78drivers/sound/ics2101.cwrite_mix (int dev, int chn, int vol)
vol85drivers/sound/ics2101.cvol = scale_vol (vol);
vol105drivers/sound/ics2101.coutb ((unsigned char) vol, u_MixData);
vol110drivers/sound/ics2101.cset_volumes (int dev, int vol)
vol112drivers/sound/ics2101.cint             left = vol & 0x00ff;
vol113drivers/sound/ics2101.cint             right = (vol >> 8) & 0x00ff;
vol127drivers/sound/ics2101.cvol = left + (right << 8);
vol128drivers/sound/ics2101.cvolumes[dev] = vol;
vol129drivers/sound/ics2101.creturn vol;
vol997include/linux/soundcard.h#define SEQ_START_NOTE(dev, chn, note, vol) \
vol998include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
vol1000include/linux/soundcard.h#define SEQ_STOP_NOTE(dev, chn, note, vol) \
vol1001include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)