tag | line | file | source code |
vol | 1755 | drivers/cdrom/mcdx.c | struct cdrom_volctrl* vol, |
vol | 1760 | drivers/cdrom/mcdx.c | cmd[1] = vol->channel0; |
vol | 1762 | drivers/cdrom/mcdx.c | cmd[3] = vol->channel1; |
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) / 127) * mixer_mainvol) / 100]; |
vol | 179 | drivers/sound/gus_wave.c | extern unsigned short gus_linear_vol (int vol, int mainvol); |
vol | 424 | drivers/sound/gus_wave.c | gus_voice_volume (unsigned int vol) |
vol | 427 | drivers/sound/gus_wave.c | gus_write16 (0x09, (unsigned short) (vol << 4)); |
vol | 534 | drivers/sound/gus_wave.c | unsigned vol, prev_vol, phase; |
vol | 560 | drivers/sound/gus_wave.c | vol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255; |
vol | 574 | drivers/sound/gus_wave.c | if (((vol - prev_vol) / 64) == 0) /* No significant volume change */ |
vol | 581 | drivers/sound/gus_wave.c | if (vol > prev_vol) |
vol | 583 | drivers/sound/gus_wave.c | if (vol >= (4096 - 64)) |
vol | 584 | drivers/sound/gus_wave.c | vol = 4096 - 65; |
vol | 585 | drivers/sound/gus_wave.c | gus_ramp_range (0, vol); |
vol | 590 | drivers/sound/gus_wave.c | if (vol <= 64) |
vol | 591 | drivers/sound/gus_wave.c | vol = 65; |
vol | 592 | drivers/sound/gus_wave.c | gus_ramp_range (vol, 4030); |
vol | 595 | drivers/sound/gus_wave.c | voices[voice].current_volume = vol; |
vol | 2845 | drivers/sound/gus_wave.c | int vol = get_fs_long ((long *) arg) & 0xff; |
vol | 2847 | drivers/sound/gus_wave.c | if (vol < 0) |
vol | 2848 | drivers/sound/gus_wave.c | vol = 0; |
vol | 2849 | drivers/sound/gus_wave.c | if (vol > 100) |
vol | 2850 | drivers/sound/gus_wave.c | vol = 100; |
vol | 2851 | drivers/sound/gus_wave.c | gus_mic_vol = vol; |
vol | 2853 | drivers/sound/gus_wave.c | return snd_ioctl_return ((int *) arg, vol | (vol << 8)); |
vol | 2859 | drivers/sound/gus_wave.c | int vol = get_fs_long ((long *) arg) & 0xff; |
vol | 2861 | drivers/sound/gus_wave.c | if (vol < 0) |
vol | 2862 | drivers/sound/gus_wave.c | vol = 0; |
vol | 2863 | drivers/sound/gus_wave.c | if (vol > 100) |
vol | 2864 | drivers/sound/gus_wave.c | vol = 100; |
vol | 2865 | drivers/sound/gus_wave.c | gus_line_vol = vol; |
vol | 2867 | drivers/sound/gus_wave.c | return snd_ioctl_return ((int *) arg, vol | (vol << 8)); |
vol | 49 | 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 | 78 | drivers/sound/ics2101.c | write_mix (int dev, int chn, int vol) |
vol | 85 | drivers/sound/ics2101.c | vol = scale_vol (vol); |
vol | 105 | drivers/sound/ics2101.c | outb ((unsigned char) vol, u_MixData); |
vol | 110 | drivers/sound/ics2101.c | set_volumes (int dev, int vol) |
vol | 112 | drivers/sound/ics2101.c | int left = vol & 0x00ff; |
vol | 113 | drivers/sound/ics2101.c | int right = (vol >> 8) & 0x00ff; |
vol | 127 | drivers/sound/ics2101.c | vol = left + (right << 8); |
vol | 128 | drivers/sound/ics2101.c | volumes[dev] = vol; |
vol | 129 | drivers/sound/ics2101.c | return vol; |
vol | 997 | include/linux/soundcard.h | #define SEQ_START_NOTE(dev, chn, note, vol) \ |
vol | 998 | include/linux/soundcard.h | _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol) |
vol | 1000 | include/linux/soundcard.h | #define SEQ_STOP_NOTE(dev, chn, note, vol) \ |
vol | 1001 | include/linux/soundcard.h | _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol) |