tag | line | file | source code |
vol | 120 | drivers/sound/gus_vol.c | gus_linear_vol (int vol, int mainvol) |
vol | 124 | drivers/sound/gus_vol.c | if (vol <= 0) |
vol | 125 | drivers/sound/gus_vol.c | vol = 0; |
vol | 126 | drivers/sound/gus_vol.c | else if (vol >= 127) |
vol | 127 | drivers/sound/gus_vol.c | vol = 127; |
vol | 144 | drivers/sound/gus_vol.c | return gus_linearvol[(((vol * mainvol) / 128) * mixer_mainvol) / 100]; |
vol | 171 | drivers/sound/gus_wave.c | extern unsigned short gus_linear_vol (int vol, int mainvol); |
vol | 407 | drivers/sound/gus_wave.c | gus_voice_volume (unsigned int vol) |
vol | 410 | drivers/sound/gus_wave.c | gus_write16 (0x09, (unsigned short) (vol << 4)); |
vol | 516 | drivers/sound/gus_wave.c | unsigned vol, prev_vol, phase; |
vol | 541 | drivers/sound/gus_wave.c | vol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255; |
vol | 554 | drivers/sound/gus_wave.c | if (((vol - prev_vol) / 64) == 0) /* No significant volume change */ |
vol | 561 | drivers/sound/gus_wave.c | if (vol > prev_vol) |
vol | 563 | drivers/sound/gus_wave.c | if (vol >= (4096 - 64)) |
vol | 564 | drivers/sound/gus_wave.c | vol = 4096 - 65; |
vol | 565 | drivers/sound/gus_wave.c | gus_ramp_range (0, vol); |
vol | 570 | drivers/sound/gus_wave.c | if (vol <= 64) |
vol | 571 | drivers/sound/gus_wave.c | vol = 65; |
vol | 572 | drivers/sound/gus_wave.c | gus_ramp_range (vol, 4030); |
vol | 575 | drivers/sound/gus_wave.c | voices[voice].current_volume = vol; |
vol | 2805 | drivers/sound/gus_wave.c | int vol = IOCTL_IN (arg) & 0xff; |
vol | 2807 | drivers/sound/gus_wave.c | if (vol < 0) |
vol | 2808 | drivers/sound/gus_wave.c | vol = 0; |
vol | 2809 | drivers/sound/gus_wave.c | if (vol > 100) |
vol | 2810 | drivers/sound/gus_wave.c | vol = 100; |
vol | 2811 | drivers/sound/gus_wave.c | gus_mic_vol = vol; |
vol | 2813 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, vol | (vol << 8)); |
vol | 2819 | drivers/sound/gus_wave.c | int vol = IOCTL_IN (arg) & 0xff; |
vol | 2821 | drivers/sound/gus_wave.c | if (vol < 0) |
vol | 2822 | drivers/sound/gus_wave.c | vol = 0; |
vol | 2823 | drivers/sound/gus_wave.c | if (vol > 100) |
vol | 2824 | drivers/sound/gus_wave.c | vol = 100; |
vol | 2825 | drivers/sound/gus_wave.c | gus_line_vol = vol; |
vol | 2827 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, vol | (vol << 8)); |
vol | 48 | drivers/sound/ics2101.c | scale_vol (int vol) |
vol | 58 | drivers/sound/ics2101.c | if (vol < 0) |
vol | 59 | drivers/sound/ics2101.c | vol = 0; |
vol | 60 | drivers/sound/ics2101.c | if (vol > 100) |
vol | 61 | drivers/sound/ics2101.c | vol = 100; |
vol | 62 | drivers/sound/ics2101.c | vol = (31 * vol + 50) / 100; |
vol | 64 | drivers/sound/ics2101.c | if (vol) |
vol | 66 | drivers/sound/ics2101.c | while (vol < 16) |
vol | 68 | drivers/sound/ics2101.c | vol <<= 1; |
vol | 71 | drivers/sound/ics2101.c | vol -= 16; |
vol | 74 | drivers/sound/ics2101.c | return ((e << 4) + vol); |
vol | 76 | drivers/sound/ics2101.c | return ((vol * 127) + 50) / 100; |
vol | 81 | drivers/sound/ics2101.c | write_mix (int dev, int chn, int vol) |
vol | 88 | 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 | 947 | include/linux/soundcard.h | #define SEQ_START_NOTE(dev, chn, note, vol) \ |
vol | 948 | include/linux/soundcard.h | _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol) |
vol | 950 | include/linux/soundcard.h | #define SEQ_STOP_NOTE(dev, chn, note, vol) \ |
vol | 951 | include/linux/soundcard.h | _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol) |