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 | 167 | drivers/sound/gus_wave.c | extern unsigned short gus_linear_vol (int vol, int mainvol); |
vol | 403 | drivers/sound/gus_wave.c | gus_voice_volume (unsigned int vol) |
vol | 406 | drivers/sound/gus_wave.c | gus_write16 (0x09, (unsigned short) (vol << 4)); |
vol | 510 | drivers/sound/gus_wave.c | unsigned vol, prev_vol, phase; |
vol | 535 | drivers/sound/gus_wave.c | vol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255; |
vol | 548 | drivers/sound/gus_wave.c | if (((vol - prev_vol) / 64) == 0) /* No significant volume change */ |
vol | 555 | drivers/sound/gus_wave.c | if (vol > prev_vol) |
vol | 557 | drivers/sound/gus_wave.c | if (vol >= (4096 - 64)) |
vol | 558 | drivers/sound/gus_wave.c | vol = 4096 - 65; |
vol | 559 | drivers/sound/gus_wave.c | gus_ramp_range (0, vol); |
vol | 564 | drivers/sound/gus_wave.c | if (vol <= 64) |
vol | 565 | drivers/sound/gus_wave.c | vol = 65; |
vol | 566 | drivers/sound/gus_wave.c | gus_ramp_range (vol, 4030); |
vol | 569 | drivers/sound/gus_wave.c | voices[voice].current_volume = vol; |
vol | 2722 | drivers/sound/gus_wave.c | int vol = IOCTL_IN (arg) & 0xff; |
vol | 2724 | drivers/sound/gus_wave.c | if (vol < 0) |
vol | 2725 | drivers/sound/gus_wave.c | vol = 0; |
vol | 2726 | drivers/sound/gus_wave.c | if (vol > 100) |
vol | 2727 | drivers/sound/gus_wave.c | vol = 100; |
vol | 2728 | drivers/sound/gus_wave.c | gus_mic_vol = vol; |
vol | 2730 | drivers/sound/gus_wave.c | return IOCTL_OUT (arg, vol | (vol << 8)); |
vol | 2736 | drivers/sound/gus_wave.c | int vol = IOCTL_IN (arg) & 0xff; |
vol | 2738 | drivers/sound/gus_wave.c | if (vol < 0) |
vol | 2739 | drivers/sound/gus_wave.c | vol = 0; |
vol | 2740 | drivers/sound/gus_wave.c | if (vol > 100) |
vol | 2741 | drivers/sound/gus_wave.c | vol = 100; |
vol | 2742 | drivers/sound/gus_wave.c | gus_line_vol = vol; |
vol | 2744 | 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 | 856 | include/linux/soundcard.h | #define SEQ_START_NOTE(dev, chn, note, vol) \ |
vol | 857 | include/linux/soundcard.h | _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol) |
vol | 859 | include/linux/soundcard.h | #define SEQ_STOP_NOTE(dev, chn, note, vol) \ |
vol | 860 | include/linux/soundcard.h | _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol) |