Home
last modified time | relevance | path

Searched refs:curr_ticks (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/sound/oss/
Dsys_timer.c25 static volatile unsigned long curr_ticks; variable
63 curr_ticks = ticks_offs + tmr2ticks(tmr_ctr); in poll_def_tmr()
65 if (curr_ticks >= next_event_time) { in poll_def_tmr()
84 curr_ticks = 0; in tmr_reset()
128 if (parm <= curr_ticks) /* It's the time */ in def_tmr_event()
181 return curr_ticks; in def_tmr_get_time()
244 return __put_user(curr_ticks, p); in def_tmr_ioctl()
259 time = curr_ticks + 1; in def_tmr_arm()
260 else if (time <= curr_ticks) /* It's the time */ in def_tmr_arm()
Dsound_timer.c23 static volatile unsigned long curr_ticks; variable
91 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()
Dmpu401.c1236 static volatile unsigned long curr_ticks, curr_clocks; variable
1282 curr_ticks = curr_clocks = 0; in tmr_reset()
1411 if (parm <= curr_ticks) /* It's the time */ in mpu_timer_event()
1474 return curr_ticks; in mpu_timer_get_time()
1580 if (put_user(curr_ticks, p)) in mpu_timer_ioctl()
1582 return curr_ticks; in mpu_timer_ioctl()
1598 time = curr_ticks + 1; in mpu_timer_arm()
1599 else if (time <= curr_ticks) /* It's the time */ in mpu_timer_arm()
1628 curr_ticks = clocks2ticks(curr_clocks); in mpu_timer_interrupt()
1630 if (curr_ticks >= next_event_time) in mpu_timer_interrupt()