Home
last modified time | relevance | path

Searched refs:tv1 (Results 1 – 5 of 5) sorted by relevance

/drivers/cpufreq/
Dspeedstep-lib.c389 struct timeval tv1, tv2; in speedstep_get_freqs() local
417 do_gettimeofday(&tv1); in speedstep_get_freqs()
444 *transition_latency = (tv2.tv_sec - tv1.tv_sec) * USEC_PER_SEC + in speedstep_get_freqs()
445 tv2.tv_usec - tv1.tv_usec; in speedstep_get_freqs()
/drivers/media/usb/cpia2/
Dcpia2_v4l.c895 struct timeval *tv1, *tv2; in find_earliest_filled_buffer() local
896 tv1 = &cam->buffers[i].timestamp; in find_earliest_filled_buffer()
898 if(tv1->tv_sec < tv2->tv_sec || in find_earliest_filled_buffer()
899 (tv1->tv_sec == tv2->tv_sec && in find_earliest_filled_buffer()
900 tv1->tv_usec < tv2->tv_usec)) in find_earliest_filled_buffer()
/drivers/staging/tidspbridge/rmgr/
Dproc.c1021 struct timeval tv1; in proc_load() local
1031 do_gettimeofday(&tv1); in proc_load()
1240 if (tv2.tv_usec < tv1.tv_usec) { in proc_load()
1245 tv2.tv_sec - tv1.tv_sec, tv2.tv_usec - tv1.tv_usec); in proc_load()
/drivers/staging/media/lirc/
Dlirc_sir.c512 static long delta(struct timeval *tv1, struct timeval *tv2) in delta() argument
516 deltv = tv2->tv_sec - tv1->tv_sec; in delta()
522 tv1->tv_usec; in delta()
/drivers/staging/bcm/
DBcmchar.c1269 struct timeval tv0, tv1; in bcm_char_ioctl() local
1271 memset(&tv1, 0, sizeof(struct timeval)); in bcm_char_ioctl()
1400 do_gettimeofday(&tv1); in bcm_char_ioctl()
1401 …BG, DBG_LVL_ALL, " timetaken by Write/read :%ld msec\n", (tv1.tv_sec - tv0.tv_sec)*1000 + (tv1.tv_… in bcm_char_ioctl()