Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 6 of 6) sorted by relevance

/sound/oss/
Dsys_timer.c41 unsigned long scale; in tmr2ticks() local
46 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ in tmr2ticks()
47 return (tmp + scale / 2) / scale; in tmr2ticks()
Dsound_timer.c38 unsigned long scale; in tmr2ticks() local
41 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ in tmr2ticks()
42 return (tmp + (scale / 2)) / scale; in tmr2ticks()
/sound/isa/gus/
Dgus_volume.c197 int scale = 0;
200 scale++;
209 while (scale--)
/sound/pci/ctxfi/
Dctamixer.h64 int (*set_scale)(struct amixer *amixer, unsigned int scale);
71 unsigned int scale, struct sum *sum);
Dctamixer.c180 unsigned int scale, struct sum *sum) in amixer_setup() argument
183 amixer_set_y(amixer, scale); in amixer_setup()
/sound/usb/
Dmixer.c518 DECLARE_TLV_DB_MINMAX(scale, 0, 0); in snd_usb_mixer_vol_tlv()
520 if (size < sizeof(scale)) in snd_usb_mixer_vol_tlv()
522 scale[2] = cval->dBmin; in snd_usb_mixer_vol_tlv()
523 scale[3] = cval->dBmax; in snd_usb_mixer_vol_tlv()
524 if (copy_to_user(_tlv, scale, sizeof(scale))) in snd_usb_mixer_vol_tlv()