Home
last modified time | relevance | path

Searched refs:NSEC_PER_MSEC (Results 1 – 25 of 104) sorted by relevance

12345

/linux/drivers/usb/host/
H A Dehci-timer.c61 1 * NSEC_PER_MSEC, /* EHCI_HRTIMER_POLL_ASS */
62 1 * NSEC_PER_MSEC, /* EHCI_HRTIMER_POLL_PSS */
63 1 * NSEC_PER_MSEC, /* EHCI_HRTIMER_POLL_DEAD */
65 2 * NSEC_PER_MSEC, /* EHCI_HRTIMER_FREE_ITDS */
66 2 * NSEC_PER_MSEC, /* EHCI_HRTIMER_ACTIVE_UNLINK */
67 5 * NSEC_PER_MSEC, /* EHCI_HRTIMER_START_UNLINK_INTR */
68 6 * NSEC_PER_MSEC, /* EHCI_HRTIMER_ASYNC_UNLINKS */
69 10 * NSEC_PER_MSEC, /* EHCI_HRTIMER_IAA_WATCHDOG */
70 10 * NSEC_PER_MSEC, /* EHCI_HRTIMER_DISABLE_PERIODIC */
71 15 * NSEC_PER_MSEC, /* EHCI_HRTIMER_DISABLE_ASYNC */
[all …]
/linux/include/linux/
H A Dktime.h164 return ktime_divns(kt, NSEC_PER_MSEC); in ktime_to_ms()
184 return ktime_add_ns(kt, msec * NSEC_PER_MSEC); in ktime_add_ms()
194 return ktime_sub_ns(kt, msec * NSEC_PER_MSEC); in ktime_sub_ms()
232 return ms * NSEC_PER_MSEC; in ms_to_ktime()
/linux/tools/testing/selftests/intel_pstate/
H A Daperf.c17 #define NSEC_PER_MSEC 1000000L macro
86 start = before.tv_sec*MSEC_PER_SEC + before.tv_nsec/NSEC_PER_MSEC; in main()
87 finish = after.tv_sec*MSEC_PER_SEC + after.tv_nsec/NSEC_PER_MSEC; in main()
/linux/include/net/
H A Dpie.h91 params->target = PSCHED_NS2TICKS(15 * NSEC_PER_MSEC); /* 15 ms */ in pie_params_init()
103 vars->burst_time = PSCHED_NS2TICKS(150 * NSEC_PER_MSEC); /* 150 ms */ in pie_vars_init()
H A Dcodel.h63 #define MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT)
/linux/tools/include/linux/
H A Dtime64.h8 #define NSEC_PER_MSEC 1000000L macro
/linux/include/vdso/
H A Dtime64.h9 #define NSEC_PER_MSEC 1000000L macro
/linux/include/uapi/linux/
H A Dmap_benchmark.h14 #define DMA_MAP_MAX_TRANS_DELAY (10 * NSEC_PER_MSEC)
/linux/fs/exfat/
H A Dmisc.c81 ts->tv_nsec = (time_cs % 100) * 10 * NSEC_PER_MSEC; in exfat_get_entry_time()
109 ts->tv_nsec / (10 * NSEC_PER_MSEC); in exfat_set_entry_time()
/linux/kernel/power/
H A Dwakelock.c239 u64 timeout_ms = timeout_ns + NSEC_PER_MSEC - 1; in pm_wake_lock()
241 do_div(timeout_ms, NSEC_PER_MSEC); in pm_wake_lock()
/linux/tools/perf/util/
H A Dbpf-trace-summary.c152 double total = (double)(stat->total_time) / NSEC_PER_MSEC; in print_common_stats()
153 double min = (double)(stat->min_time) / NSEC_PER_MSEC; in print_common_stats()
154 double max = (double)(stat->max_time) / NSEC_PER_MSEC; in print_common_stats()
/linux/drivers/phy/amlogic/
H A Dphy-meson-axg-mipi-dphy.c270 DIV_ROUND_UP(priv->config.init * NSEC_PER_MSEC, temp)); in phy_meson_axg_mipi_dphy_power_on()
272 DIV_ROUND_UP(priv->config.wakeup * NSEC_PER_MSEC, temp)); in phy_meson_axg_mipi_dphy_power_on()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_fence.c266 unsigned long sleep_time = NSEC_PER_MSEC / 1000; in nouveau_fence_wait_legacy()
285 if (sleep_time > NSEC_PER_MSEC) in nouveau_fence_wait_legacy()
286 sleep_time = NSEC_PER_MSEC; in nouveau_fence_wait_legacy()
/linux/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy.c69 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc()
70 lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); in msm_dsi_dphy_timing_calc()
180 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v2()
288 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v3()
396 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v4()
484 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_cphy_timing_calc_v4()
/linux/kernel/trace/
H A Dring_buffer_benchmark.c350 avg = NSEC_PER_MSEC / hit; in ring_buffer_producer()
368 avg = NSEC_PER_MSEC / (hit + missed); in ring_buffer_producer()
/linux/drivers/usb/chipidea/
H A Dotg_fsm.c228 timer_nsec = (otg_timer_ms[t] % MSEC_PER_SEC) * NSEC_PER_MSEC; in ci_otg_add_timer()
237 ci->hr_timeouts[t], NSEC_PER_MSEC, in ci_otg_add_timer()
279 ci->hr_timeouts[next_timer], NSEC_PER_MSEC, in ci_otg_del_timer()
413 NSEC_PER_MSEC, HRTIMER_MODE_ABS); in ci_otg_hrtimer_func()
/linux/tools/dma/
H A Ddma_map_benchmark.c15 #define NSEC_PER_MSEC 1000000L macro
/linux/tools/perf/ui/browsers/
H A Dres_sample.c17 static u64 context_len = 10 * NSEC_PER_MSEC;
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_clock.c30 return (u64)DIV_ROUND_CLOSEST_ULL(timespec64_to_ns(ts), NSEC_PER_MSEC); in timespec_to_ms()
/linux/tools/perf/
H A Dbuiltin-kwork.c781 (double)(sample->time - atom->time) / NSEC_PER_MSEC); in timehist_print_event()
788 (double)(atom->time - atom->prev->time) / NSEC_PER_MSEC); in timehist_print_event()
1379 (double)work->total_runtime / NSEC_PER_MSEC); in report_print_work()
1384 work->nr_atoms / NSEC_PER_MSEC); in report_print_work()
1404 (double)work->max_runtime / NSEC_PER_MSEC, in report_print_work()
1420 (double)work->max_latency / NSEC_PER_MSEC, in report_print_work()
1507 (double)kwork->all_runtime / NSEC_PER_MSEC, in print_summary()
1510 (double)time / NSEC_PER_MSEC); in print_summary()
1603 (double)cpus_total_time / NSEC_PER_MSEC, in top_print_cpu_usage()
1668 (double)work->total_runtime / NSEC_PER_MSEC); in top_print_work()
H A Dbuiltin-sched.c779 printf("#%-3ld: %0.3f, ", sched->nr_runs, (double)delta / NSEC_PER_MSEC); in run_one_test()
781 printf("ravg: %0.2f, ", (double)sched->run_avg / NSEC_PER_MSEC); in run_one_test()
784 (double)sched->cpu_usage / NSEC_PER_MSEC, (double)sched->runavg_cpu_usage / NSEC_PER_MSEC); in run_one_test()
792 (double)sched->parent_cpu_usage / NSEC_PER_MSEC, in run_one_test()
793 (double)sched->runavg_parent_cpu_usage / NSEC_PER_MSEC); in run_one_test()
808 burn_nsecs(sched, NSEC_PER_MSEC); in test_calibrations()
814 sleep_nsecs(NSEC_PER_MSEC); in test_calibrations()
1379 (double)work_list->total_runtime / NSEC_PER_MSEC, in output_lat_thread()
1380 work_list->nb_atoms, (double)avg / NSEC_PER_MSEC, in output_lat_thread()
1381 (double)work_list->max_lat / NSEC_PER_MSEC, in output_lat_thread()
[all …]
/linux/kernel/sched/
H A Dcpufreq_schedutil.c668 .sched_runtime = NSEC_PER_MSEC, in sugov_kthread_create()
669 .sched_deadline = 10 * NSEC_PER_MSEC, in sugov_kthread_create()
670 .sched_period = 10 * NSEC_PER_MSEC, in sugov_kthread_create()
/linux/arch/powerpc/perf/
H A Dvpa-dtl.c299 period = max_t(u64, NSEC_PER_MSEC, event->hw.sample_period); in vpa_dtl_hrtimer_handle()
310 period = max_t(u64, NSEC_PER_MSEC, hwc->sample_period); in vpa_dtl_start_hrtimer()
/linux/kernel/time/
H A Dclocksource-wdtest.c68 ret = ret + sign * 100 * NSEC_PER_MSEC; in wdtest_ktime_read()
H A Djiffies.c35 .uncertainty_margin = 32 * NSEC_PER_MSEC,

12345