tag | line | file | source code |
vol | 1843 | drivers/cdrom/mcdx.c | struct cdrom_volctrl* vol, |
vol | 1848 | drivers/cdrom/mcdx.c | cmd[1] = vol->channel0; |
vol | 1850 | drivers/cdrom/mcdx.c | cmd[3] = vol->channel1; |
vol | 143 | drivers/sound/gus_vol.c | gus_linear_vol (int vol, int mainvol) |
vol | 147 | drivers/sound/gus_vol.c | if (vol <= 0) |
vol | 148 | drivers/sound/gus_vol.c | vol = 0; |
vol | 149 | drivers/sound/gus_vol.c | else if (vol >= 127) |
vol | 150 | drivers/sound/gus_vol.c | vol = 127; |
vol | 167 | drivers/sound/gus_vol.c | return gus_linearvol[(((vol * mainvol) / 127) * mixer_mainvol) / 100]; |
vol | 184 | drivers/sound/gus_wave.c | extern unsigned short gus_linear_vol (int vol, int mainvol); |
vol | 429 | drivers/sound/gus_wave.c | gus_voice_volume (unsigned int vol) |
vol | 432 | drivers/sound/gus_wave.c | gus_write16 (0x09, (unsigned short) (vol << 4)); |
vol | 539 | drivers/sound/gus_wave.c | unsigned vol, prev_vol, phase; |
vol | 565 | drivers/sound/gus_wave.c | vol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255; |
vol | 579 | drivers/sound/gus_wave.c | if (((vol - prev_vol) / 64) == 0) /* No significant volume change */ |
vol | 586 | drivers/sound/gus_wave.c | if (vol > prev_vol) |
vol | 588 | drivers/sound/gus_wave.c | if (vol >= (4096 - 64)) |
vol | 589 | drivers/sound/gus_wave.c | vol = 4096 - 65; |
vol | 590 | drivers/sound/gus_wave.c | gus_ramp_range (0, vol); |
vol | 595 | drivers/sound/gus_wave.c | if (vol <= 64) |
vol | 596 | drivers/sound/gus_wave.c | vol = 65; |
vol | 597 | drivers/sound/gus_wave.c | gus_ramp_range (vol, 4030); |
vol | 600 | drivers/sound/gus_wave.c | voices[voice].current_volume = vol; |
vol | 2849 | drivers/sound/gus_wave.c | int vol = get_fs_long ((long *) arg) & 0xff; |
vol | 2851 | drivers/sound/gus_wave.c | if (vol < 0) |
vol | 2852 | drivers/sound/gus_wave.c | vol = 0; |
vol | 2853 | drivers/sound/gus_wave.c | if (vol > 100) |
vol | 2854 | drivers/sound/gus_wave.c | vol = 100; |
vol | 2855 | drivers/sound/gus_wave.c | gus_mic_vol = vol; |
vol | 2857 | drivers/sound/gus_wave.c | return snd_ioctl_return ((int *) arg, vol | (vol << 8)); |
vol | 2863 | drivers/sound/gus_wave.c | int vol = get_fs_long ((long *) arg) & 0xff; |
vol | 2865 | drivers/sound/gus_wave.c | if (vol < 0) |
vol | 2866 | drivers/sound/gus_wave.c | vol = 0; |
vol | 2867 | drivers/sound/gus_wave.c | if (vol > 100) |
vol | 2868 | drivers/sound/gus_wave.c | vol = 100; |
vol | 2869 | drivers/sound/gus_wave.c | gus_line_vol = vol; |
vol | 2871 | drivers/sound/gus_wave.c | return snd_ioctl_return ((int *) arg, vol | (vol << 8)); |
vol | 51 | drivers/sound/ics2101.c | scale_vol (int vol) |
vol | 60 | drivers/sound/ics2101.c | if (vol < 0) |
vol | 61 | drivers/sound/ics2101.c | vol = 0; |
vol | 62 | drivers/sound/ics2101.c | if (vol > 100) |
vol | 63 | drivers/sound/ics2101.c | vol = 100; |
vol | 64 | drivers/sound/ics2101.c | vol = (31 * vol + 50) / 100; |
vol | 66 | drivers/sound/ics2101.c | if (vol) |
vol | 68 | drivers/sound/ics2101.c | while (vol < 16) |
vol | 70 | drivers/sound/ics2101.c | vol <<= 1; |
vol | 73 | drivers/sound/ics2101.c | vol -= 16; |
vol | 76 | drivers/sound/ics2101.c | return ((e << 4) + vol); |
vol | 80 | drivers/sound/ics2101.c | write_mix (int dev, int chn, int vol) |
vol | 87 | drivers/sound/ics2101.c | vol = scale_vol (vol); |
vol | 107 | drivers/sound/ics2101.c | outb ((unsigned char) vol, u_MixData); |
vol | 112 | drivers/sound/ics2101.c | set_volumes (int dev, int vol) |
vol | 114 | drivers/sound/ics2101.c | int left = vol & 0x00ff; |
vol | 115 | drivers/sound/ics2101.c | int right = (vol >> 8) & 0x00ff; |
vol | 129 | drivers/sound/ics2101.c | vol = left + (right << 8); |
vol | 130 | drivers/sound/ics2101.c | volumes[dev] = vol; |
vol | 131 | drivers/sound/ics2101.c | return vol; |
vol | 1000 | include/linux/soundcard.h | #define SEQ_START_NOTE(dev, chn, note, vol) \ |
vol | 1001 | include/linux/soundcard.h | _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol) |
vol | 1003 | include/linux/soundcard.h | #define SEQ_STOP_NOTE(dev, chn, note, vol) \ |
vol | 1004 | include/linux/soundcard.h | _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol) |