Searched refs:scale (Results 1 – 6 of 6) sorted by relevance
41 unsigned long scale; in tmr2ticks() local46 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ in tmr2ticks()47 return (tmp + scale / 2) / scale; in tmr2ticks()
38 unsigned long scale; in tmr2ticks() local41 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ in tmr2ticks()42 return (tmp + (scale / 2)) / scale; in tmr2ticks()
197 int scale = 0;200 scale++;209 while (scale--)
64 int (*set_scale)(struct amixer *amixer, unsigned int scale);71 unsigned int scale, struct sum *sum);
180 unsigned int scale, struct sum *sum) in amixer_setup() argument183 amixer_set_y(amixer, scale); in amixer_setup()
518 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()