Searched refs:curr_ticks (Results 1 – 3 of 3) sorted by relevance
25 static volatile unsigned long curr_ticks; variable66 curr_ticks = ticks_offs + tmr2ticks(tmr_ctr); in poll_def_tmr()68 if (curr_ticks >= next_event_time) in poll_def_tmr()89 curr_ticks = 0; in tmr_reset()133 if (parm <= curr_ticks) /* It's the time */ in def_tmr_event()186 return curr_ticks; in def_tmr_get_time()249 return __put_user(curr_ticks, p); in def_tmr_ioctl()264 time = curr_ticks + 1; in def_tmr_arm()265 else if (time <= curr_ticks) /* It's the time */ in def_tmr_arm()
23 static volatile unsigned long curr_ticks; variable91 curr_ticks = 0; in tmr_reset()127 if (parm <= curr_ticks) /* It's the time */ in timer_event()178 return curr_ticks; in timer_get_time()246 val = curr_ticks; in timer_ioctl()259 time = curr_ticks + 1; in timer_arm()260 else if (time <= curr_ticks) /* It's the time */ in timer_arm()295 curr_ticks = ticks_offs + tmr2ticks(tmr_ctr); in sound_timer_interrupt()297 if (curr_ticks >= next_event_time) in sound_timer_interrupt()
1238 static volatile unsigned long curr_ticks, curr_clocks; variable1284 curr_ticks = curr_clocks = 0; in tmr_reset()1413 if (parm <= curr_ticks) /* It's the time */ in mpu_timer_event()1476 return curr_ticks; in mpu_timer_get_time()1582 if (put_user(curr_ticks, p)) in mpu_timer_ioctl()1584 return curr_ticks; in mpu_timer_ioctl()1600 time = curr_ticks + 1; in mpu_timer_arm()1601 else if (time <= curr_ticks) /* It's the time */ in mpu_timer_arm()1630 curr_ticks = clocks2ticks(curr_clocks); in mpu_timer_interrupt()1632 if (curr_ticks >= next_event_time) in mpu_timer_interrupt()