Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 12 of 12) sorted by relevance

/dpdk/drivers/net/hns3/
H A Dhns3_intr.c2652 ret, tv.tv_sec, tv.tv_usec); in hns3_reset_pre()
2656 tv.tv_sec, tv.tv_usec); in hns3_reset_pre()
2665 ret, tv.tv_sec, tv.tv_usec); in hns3_reset_pre()
2669 tv.tv_sec, tv.tv_usec); in hns3_reset_pre()
2706 tv.tv_sec, tv.tv_usec); in hns3_reset_post()
2725 tv.tv_sec, tv.tv_usec); in hns3_reset_post()
2755 tv.tv_sec, tv.tv_usec); in hns3_reset_post()
2800 tv.tv_sec, tv.tv_usec); in hns3_reset_fail_handle()
2853 tv.tv_sec, tv.tv_usec); in hns3_reset_process()
2863 tv.tv_sec, tv.tv_usec); in hns3_reset_process()
[all …]
H A Dhns3_common.c284 hns3_clock_gettime(struct timeval *tv) in hns3_clock_gettime() argument
296 tv->tv_sec = spec.tv_sec; in hns3_clock_gettime()
297 tv->tv_usec = spec.tv_nsec / NSEC_TO_USEC_DIV; in hns3_clock_gettime()
301 hns3_clock_calctime_ms(struct timeval *tv) in hns3_clock_calctime_ms() argument
303 return (uint64_t)tv->tv_sec * MSEC_PER_SEC + in hns3_clock_calctime_ms()
304 tv->tv_usec / USEC_PER_MSEC; in hns3_clock_calctime_ms()
310 struct timeval tv; in hns3_clock_gettime_ms() local
312 hns3_clock_gettime(&tv); in hns3_clock_gettime_ms()
313 return hns3_clock_calctime_ms(&tv); in hns3_clock_gettime_ms()
H A Dhns3_common.h38 void hns3_clock_gettime(struct timeval *tv);
39 uint64_t hns3_clock_calctime_ms(struct timeval *tv);
H A Dhns3_ethdev_vf.c1876 struct timeval tv; in hns3vf_wait_hardware_ready() local
1904 hns3_clock_gettime(&tv); in hns3vf_wait_hardware_ready()
1906 tv.tv_sec, tv.tv_usec); in hns3vf_wait_hardware_ready()
2148 struct timeval tv; in hns3vf_reset_service() local
2178 hns3_clock_gettime(&tv); in hns3vf_reset_service()
2179 timersub(&tv, &tv_start, &tv_delta); in hns3vf_reset_service()
2184 hw->reset.level, msec, tv.tv_sec, tv.tv_usec); in hns3vf_reset_service()
H A Dhns3_ethdev.c5627 struct timeval tv; in hns3_wait_hardware_ready() local
5632 hns3_clock_gettime(&tv); in hns3_wait_hardware_ready()
5634 tv.tv_sec, tv.tv_usec); in hns3_wait_hardware_ready()
5678 struct timeval tv; in hns3_msix_process() local
5681 hns3_clock_gettime(&tv); in hns3_msix_process()
5685 tv.tv_sec, tv.tv_usec); in hns3_msix_process()
5693 tv.tv_sec, tv.tv_usec); in hns3_msix_process()
5700 tv.tv_sec, tv.tv_usec); in hns3_msix_process()
5704 tv.tv_sec, tv.tv_usec); in hns3_msix_process()
5954 struct timeval tv; in hns3_reset_service() local
[all …]
H A Dhns3_rxtx.h227 uint16_t tv; member
/dpdk/drivers/net/hinic/base/
H A Dhinic_compat.h178 struct timespec tv; in clock_gettime_ms() local
180 (void)clock_gettime(CLOCK_TYPE, &tv); in clock_gettime_ms()
182 return (unsigned long)tv.tv_sec * 1000 + in clock_gettime_ms()
183 (unsigned long)tv.tv_nsec / 1000000; in clock_gettime_ms()
/dpdk/examples/ipsec-secgw/
H A Dsp4.c142 uint32_t tv; in parse_sp4_tokens() local
211 tv = atoi(tokens[ti]); in parse_sp4_tokens()
212 APP_CHECK(tv != DISCARD && tv != BYPASS, status, in parse_sp4_tokens()
216 rule_ipv4->data.userdata = tv; in parse_sp4_tokens()
H A Dsp6.c190 uint32_t tv; in parse_sp6_tokens() local
261 tv = atoi(tokens[ti]); in parse_sp6_tokens()
262 APP_CHECK(tv != DISCARD && tv != BYPASS, status, in parse_sp6_tokens()
266 rule_ipv6->data.userdata = tv; in parse_sp6_tokens()
/dpdk/examples/vm_power_manager/
H A Dchannel_manager.c225 struct timeval tv; in open_non_blocking_channel() local
264 tv.tv_sec = 2; in open_non_blocking_channel()
265 tv.tv_usec = 0; in open_non_blocking_channel()
268 if (select(info->fd+1, NULL, &soc_fd_set, NULL, &tv) > 0) { in open_non_blocking_channel()
H A Dchannel_monitor.c610 struct timeval tv; in apply_time_profile() local
615 gettimeofday(&tv, NULL); in apply_time_profile()
616 ptm = localtime(&tv.tv_sec); in apply_time_profile()
/dpdk/drivers/event/dpaa/
H A Ddpaa_eventdev.c142 struct timeval tv = { in dpaa_event_dequeue_wait() local
154 ret = select(nfds, &readset, NULL, NULL, &tv); in dpaa_event_dequeue_wait()