Home
last modified time | relevance | path

Searched refs:tv2 (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/arch/x86/kernel/cpu/cpufreq/
Dspeedstep-lib.c391 struct timeval tv1, tv2; in speedstep_get_freqs() local
426 do_gettimeofday(&tv2); in speedstep_get_freqs()
446 *transition_latency = (tv2.tv_sec - tv1.tv_sec) * USEC_PER_SEC + in speedstep_get_freqs()
447 tv2.tv_usec - tv1.tv_usec; in speedstep_get_freqs()
/linux-2.6.39/include/net/
Dpkt_sched.h57 psched_tdiff_bounded(psched_time_t tv1, psched_time_t tv2, psched_time_t bound) in psched_tdiff_bounded() argument
59 return min(tv1 - tv2, bound); in psched_tdiff_bounded()
/linux-2.6.39/include/net/sctp/
Dsctp.h569 #define TIMEVAL_ADD(tv1, tv2) \ argument
571 suseconds_t usecs = (tv2).tv_usec + (tv1).tv_usec; \
572 time_t secs = (tv2).tv_sec + (tv1).tv_sec; \
578 (tv2).tv_sec = secs; \
579 (tv2).tv_usec = usecs; \
/linux-2.6.39/kernel/
Dtimer.c81 struct tvec tv2; member
344 vec = base->tv2.vec + i; in internal_add_timer()
1107 (!cascade(base, &base->tv2, INDEX(0))) && in __run_timers()
1173 varray[0] = &base->tv2; in __next_timer_interrupt()
1643 INIT_LIST_HEAD(base->tv2.vec + j); in init_timers_cpu()
1690 migrate_timer_list(new_base, old_base->tv2.vec + i); in migrate_timers()
/linux-2.6.39/arch/cris/arch-v32/kernel/
Dfasttimer.c702 struct fasttime_t tv, tv0, tv1, tv2; in fast_timer_test() local
759 do_gettimeofday_fast(&tv2); in fast_timer_test()
765 tv2.tv_jiff, tv2.tv_usec); in fast_timer_test()
/linux-2.6.39/arch/cris/arch-v10/kernel/
Dfasttimer.c731 struct fasttime_t tv, tv0, tv1, tv2; in fast_timer_test() local
790 do_gettimeofday_fast(&tv2); in fast_timer_test()
796 tv2.tv_jiff, tv2.tv_usec); in fast_timer_test()
/linux-2.6.39/drivers/staging/tidspbridge/rmgr/
Dproc.c1106 struct timeval tv2; in proc_load() local
1338 do_gettimeofday(&tv2); in proc_load()
1339 if (tv2.tv_usec < tv1.tv_usec) { in proc_load()
1340 tv2.tv_usec += 1000000; in proc_load()
1341 tv2.tv_sec--; in proc_load()
1344 tv2.tv_sec - tv1.tv_sec, tv2.tv_usec - tv1.tv_usec); in proc_load()
/linux-2.6.39/drivers/media/video/cpia2/
Dcpia2_v4l.c1236 struct timeval *tv1, *tv2; in find_earliest_filled_buffer() local
1238 tv2 = &cam->buffers[found].timestamp; in find_earliest_filled_buffer()
1239 if(tv1->tv_sec < tv2->tv_sec || in find_earliest_filled_buffer()
1240 (tv1->tv_sec == tv2->tv_sec && in find_earliest_filled_buffer()
1241 tv1->tv_usec < tv2->tv_usec)) in find_earliest_filled_buffer()
/linux-2.6.39/drivers/staging/lirc/
Dlirc_sir.c508 static long delta(struct timeval *tv1, struct timeval *tv2) in delta() argument
512 deltv = tv2->tv_sec - tv1->tv_sec; in delta()
517 tv2->tv_usec - in delta()