Searched refs:curr_timebase (Results 1 – 3 of 3) sorted by relevance
22 static volatile int curr_tempo, curr_timebase; variable41 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ in tmr2ticks()57 usecs_per_tick = (60 * 1000000) / (curr_tempo * curr_timebase); in reprogram_timer()101 curr_timebase = 100; in timer_open()214 curr_timebase = val; in timer_ioctl()216 val = curr_timebase; in timer_ioctl()242 val = ((curr_tempo * curr_timebase) + 30) / 60; in timer_ioctl()
24 static volatile int curr_tempo, curr_timebase; variable46 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ in tmr2ticks()101 curr_timebase = 100; in def_tmr_open()220 curr_timebase = val; in def_tmr_ioctl()222 return __put_user(curr_timebase, p); in def_tmr_ioctl()245 val = ((curr_tempo * curr_timebase) + 30) / 60; in def_tmr_ioctl()
1235 static volatile int curr_tempo, curr_timebase, hw_timebase; variable1250 return ((clocks * curr_timebase) + (hw_timebase / 2)) / hw_timebase; in clocks2ticks()1273 curr_timebase = val; in set_timebase()1375 curr_timebase = hw_timebase = 120; in mpu_timer_open()1533 if (put_user(curr_timebase, p)) in mpu_timer_ioctl()1535 return curr_timebase; in mpu_timer_ioctl()1574 val = ((curr_tempo * curr_timebase) + 30)/60; in mpu_timer_ioctl()