Searched refs:sub_tv (Results 1 – 3 of 3) sorted by relevance
/freebsd/tools/tools/usbtest/ |
H A D | usb_control_ep_test.c | 240 struct timeval sub_tv; in usb_port_reset_test() local 275 gettimeofday(&sub_tv, 0); in usb_port_reset_test() 277 if (last_sec != sub_tv.tv_sec) { in usb_port_reset_test() 284 last_sec = sub_tv.tv_sec; in usb_port_reset_test() 286 timersub(&sub_tv, &ref_tv, &res_tv); in usb_port_reset_test() 382 struct timeval sub_tv; in usb_suspend_resume_test() local 434 gettimeofday(&sub_tv, 0); in usb_suspend_resume_test() 436 if (last_sec != sub_tv.tv_sec) { in usb_suspend_resume_test() 443 last_sec = sub_tv.tv_sec; in usb_suspend_resume_test() 445 timersub(&sub_tv, &ref_tv, &res_tv); in usb_suspend_resume_test()
|
H A D | usb_modem_test.c | 173 struct timeval sub_tv; in usb_modem_control_ep_test() local 198 gettimeofday(&sub_tv, 0); in usb_modem_control_ep_test() 200 if (last_sec != sub_tv.tv_sec) { in usb_modem_control_ep_test() 209 last_sec = sub_tv.tv_sec; in usb_modem_control_ep_test() 215 timersub(&sub_tv, &ref_tv, &res_tv); in usb_modem_control_ep_test() 270 struct timeval sub_tv; in usb_modem_data_stress_test() local 314 gettimeofday(&sub_tv, 0); in usb_modem_data_stress_test() 316 if (last_sec != sub_tv.tv_sec) { in usb_modem_data_stress_test() 329 last_sec = sub_tv.tv_sec; in usb_modem_data_stress_test() 333 timersub(&sub_tv, &ref_tv, &res_tv); in usb_modem_data_stress_test()
|
H A D | usb_msc_test.c | 496 struct timeval sub_tv; in usb_msc_test() local 812 gettimeofday(&sub_tv, 0); in usb_msc_test() 814 if (last_sec != sub_tv.tv_sec) { in usb_msc_test() 829 last_sec = sub_tv.tv_sec; in usb_msc_test() 832 timersub(&sub_tv, &ref_tv, &res_tv); in usb_msc_test()
|