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];
vol229drivers/sound/gus_wave.cextern unsigned short gus_linear_vol (int vol, int mainvol);
vol472drivers/sound/gus_wave.cgus_voice_volume (unsigned int vol)
vol477drivers/sound/gus_wave.cgus_write16 (0x09, (unsigned short) (vol << 4));
vol592drivers/sound/gus_wave.cunsigned        vol, prev_vol, phase;
vol620drivers/sound/gus_wave.cvol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255;
vol635drivers/sound/gus_wave.cif (((vol - prev_vol) / 64) == 0)  /*
vol646drivers/sound/gus_wave.cif (vol > prev_vol)
vol648drivers/sound/gus_wave.cif (vol >= (4096 - 64))
vol649drivers/sound/gus_wave.cvol = 4096 - 65;
vol650drivers/sound/gus_wave.cgus_ramp_range (0, vol);
vol657drivers/sound/gus_wave.cif (vol <= 64)
vol658drivers/sound/gus_wave.cvol = 65;
vol659drivers/sound/gus_wave.cgus_ramp_range (vol, 4030);
vol664drivers/sound/gus_wave.cvoices[voice].current_volume = vol;
vol3079drivers/sound/gus_wave.cint             vol = IOCTL_IN (arg) & 0xff;
vol3081drivers/sound/gus_wave.cif (vol < 0)
vol3082drivers/sound/gus_wave.cvol = 0;
vol3083drivers/sound/gus_wave.cif (vol > 100)
vol3084drivers/sound/gus_wave.cvol = 100;
vol3085drivers/sound/gus_wave.cgus_mic_vol = vol;
vol3087drivers/sound/gus_wave.creturn IOCTL_OUT (arg, vol | (vol << 8));
vol3093drivers/sound/gus_wave.cint             vol = IOCTL_IN (arg) & 0xff;
vol3095drivers/sound/gus_wave.cif (vol < 0)
vol3096drivers/sound/gus_wave.cvol = 0;
vol3097drivers/sound/gus_wave.cif (vol > 100)
vol3098drivers/sound/gus_wave.cvol = 100;
vol3099drivers/sound/gus_wave.cgus_line_vol = vol;
vol3101drivers/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) {
vol65drivers/sound/ics2101.cwhile (vol < 16) {
vol66drivers/sound/ics2101.cvol <<= 1;
vol69drivers/sound/ics2101.cvol -= 16;
vol72drivers/sound/ics2101.creturn ((e << 4) + vol);
vol74drivers/sound/ics2101.creturn ((vol*127)+50)/100;
vol79drivers/sound/ics2101.cwrite_mix (int dev, int chn, int vol)
vol86drivers/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;
vol667include/linux/soundcard.h#define SEQ_START_NOTE(dev, voice, note, vol)  {_SEQ_NEEDBUF(8);\
vol673include/linux/soundcard.h_seqbuf[_seqbufptr+5] = (vol);\
vol678include/linux/soundcard.h#define SEQ_STOP_NOTE(dev, voice, note, vol)  {_SEQ_NEEDBUF(8);\
vol684include/linux/soundcard.h_seqbuf[_seqbufptr+5] = (vol);\