| /dpdk/drivers/net/hns3/ |
| H A D | hns3_intr.c | 2652 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 D | hns3_common.c | 284 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 D | hns3_common.h | 38 void hns3_clock_gettime(struct timeval *tv); 39 uint64_t hns3_clock_calctime_ms(struct timeval *tv);
|
| H A D | hns3_ethdev_vf.c | 1876 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 D | hns3_ethdev.c | 5627 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 D | hns3_rxtx.h | 227 uint16_t tv; member
|
| /dpdk/drivers/net/hinic/base/ |
| H A D | hinic_compat.h | 178 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 D | sp4.c | 142 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 D | sp6.c | 190 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 D | channel_manager.c | 225 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 D | channel_monitor.c | 610 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 D | dpaa_eventdev.c | 142 struct timeval tv = { in dpaa_event_dequeue_wait() local 154 ret = select(nfds, &readset, NULL, NULL, &tv); in dpaa_event_dequeue_wait()
|