Home
last modified time | relevance | path

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

12345

/Linux-v5.15/drivers/usb/host/
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-v5.15/include/linux/
Dktime.h166 return ktime_divns(kt, NSEC_PER_MSEC); in ktime_to_ms()
186 return ktime_add_ns(kt, msec * NSEC_PER_MSEC); in ktime_add_ms()
196 return ktime_sub_ns(kt, msec * NSEC_PER_MSEC); in ktime_sub_ms()
229 return ms * NSEC_PER_MSEC; in ms_to_ktime()
/Linux-v5.15/tools/testing/selftests/intel_pstate/
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-v5.15/include/net/
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()
Dcodel.h65 #define MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT)
/Linux-v5.15/tools/testing/selftests/dma/
Ddma_map_benchmark.c15 #define NSEC_PER_MSEC 1000000L macro
20 #define DMA_MAP_MAX_TRANS_DELAY (10 * NSEC_PER_MSEC)
/Linux-v5.15/block/
Dgenhd.c907 (unsigned int)div_u64(stat.nsecs[STAT_READ], NSEC_PER_MSEC), in part_stat_show()
911 (unsigned int)div_u64(stat.nsecs[STAT_WRITE], NSEC_PER_MSEC), in part_stat_show()
918 NSEC_PER_MSEC), in part_stat_show()
922 (unsigned int)div_u64(stat.nsecs[STAT_DISCARD], NSEC_PER_MSEC), in part_stat_show()
924 (unsigned int)div_u64(stat.nsecs[STAT_FLUSH], NSEC_PER_MSEC)); in part_stat_show()
1168 NSEC_PER_MSEC), in diskstats_show()
1173 NSEC_PER_MSEC), in diskstats_show()
1180 NSEC_PER_MSEC), in diskstats_show()
1185 NSEC_PER_MSEC), in diskstats_show()
1188 NSEC_PER_MSEC) in diskstats_show()
Dblk-iolatency.c155 #define BLKIOLATENCY_MIN_WIN_SIZE (100 * NSEC_PER_MSEC)
517 #define BLKIOLATENCY_MIN_ADJUST_TIME (500 * NSEC_PER_MSEC)
932 cur_win = div64_u64(iolat->cur_win_nsec, NSEC_PER_MSEC); in iolatency_pd_stat()
987 iolat->cur_win_nsec = 100 * NSEC_PER_MSEC; in iolatency_pd_init()
/Linux-v5.15/tools/include/linux/
Dtime64.h8 #define NSEC_PER_MSEC 1000000L macro
/Linux-v5.15/include/vdso/
Dtime64.h9 #define NSEC_PER_MSEC 1000000L macro
/Linux-v5.15/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_ring.c33 (NSEC_PER_MSEC * (100 - INV_MPU6050_TS_PERIOD_JITTER)) / 100; in inv_mpu6050_update_period()
35 (NSEC_PER_MSEC * (100 + INV_MPU6050_TS_PERIOD_JITTER)) / 100; in inv_mpu6050_update_period()
/Linux-v5.15/fs/exfat/
Dmisc.c90 ts->tv_nsec = (time_cs % 100) * 10 * NSEC_PER_MSEC; in exfat_get_entry_time()
119 ts->tv_nsec / (10 * NSEC_PER_MSEC); in exfat_set_entry_time()
/Linux-v5.15/kernel/time/
Dtimekeeping_debug.c53 (s64)t->tv_sec, t->tv_nsec / NSEC_PER_MSEC); in tk_debug_account_sleep_time()
Djiffies.c35 .uncertainty_margin = 32 * NSEC_PER_MSEC,
Dclocksource-wdtest.c67 ret = ret + sign * 100 * NSEC_PER_MSEC; in wdtest_ktime_read()
/Linux-v5.15/kernel/power/
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-v5.15/drivers/gpu/drm/nouveau/
Dnouveau_fence.c268 unsigned long sleep_time = NSEC_PER_MSEC / 1000; in nouveau_fence_wait_legacy()
287 if (sleep_time > NSEC_PER_MSEC) in nouveau_fence_wait_legacy()
288 sleep_time = NSEC_PER_MSEC; in nouveau_fence_wait_legacy()
/Linux-v5.15/drivers/phy/amlogic/
Dphy-meson-axg-mipi-dphy.c269 DIV_ROUND_UP(priv->config.init * NSEC_PER_MSEC, temp)); in phy_meson_axg_mipi_dphy_power_on()
271 DIV_ROUND_UP(priv->config.wakeup * NSEC_PER_MSEC, temp)); in phy_meson_axg_mipi_dphy_power_on()
/Linux-v5.15/kernel/trace/
Dring_buffer_benchmark.c348 avg = NSEC_PER_MSEC / hit; in ring_buffer_producer()
366 avg = NSEC_PER_MSEC / (hit + missed); in ring_buffer_producer()
/Linux-v5.15/drivers/usb/chipidea/
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()
277 ci->hr_timeouts[next_timer], NSEC_PER_MSEC, in ci_otg_del_timer()
411 NSEC_PER_MSEC, HRTIMER_MODE_ABS); in ci_otg_hrtimer_func()
/Linux-v5.15/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c67 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc()
68 lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); in msm_dsi_dphy_timing_calc()
178 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v2()
286 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v3()
392 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v4()
478 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_cphy_timing_calc_v4()
/Linux-v5.15/tools/perf/ui/browsers/
Dres_sample.c17 static u64 context_len = 10 * NSEC_PER_MSEC;
/Linux-v5.15/kernel/
Dtorture.c115 ktime_t baset_ns = baset_ms * NSEC_PER_MSEC; in torture_hrtimeout_ms()
148 if ((u32)~0U / NSEC_PER_MSEC < fuzzt_ms) in torture_hrtimeout_s()
151 fuzzt_ns = fuzzt_ms * NSEC_PER_MSEC; in torture_hrtimeout_s()
/Linux-v5.15/tools/perf/
Dbuiltin-sched.c769 printf("#%-3ld: %0.3f, ", sched->nr_runs, (double)delta / NSEC_PER_MSEC); in run_one_test()
771 printf("ravg: %0.2f, ", (double)sched->run_avg / NSEC_PER_MSEC); in run_one_test()
774 (double)sched->cpu_usage / NSEC_PER_MSEC, (double)sched->runavg_cpu_usage / NSEC_PER_MSEC); in run_one_test()
782 (double)sched->parent_cpu_usage / NSEC_PER_MSEC, in run_one_test()
783 (double)sched->runavg_parent_cpu_usage / NSEC_PER_MSEC); in run_one_test()
798 burn_nsecs(sched, NSEC_PER_MSEC); in test_calibrations()
804 sleep_nsecs(NSEC_PER_MSEC); in test_calibrations()
1353 (double)work_list->total_runtime / NSEC_PER_MSEC, in output_lat_thread()
1354 work_list->nb_atoms, (double)avg / NSEC_PER_MSEC, in output_lat_thread()
1355 (double)work_list->max_lat / NSEC_PER_MSEC, in output_lat_thread()
[all …]
/Linux-v5.15/tools/perf/util/
Dsvghelper.c279 if (duration < NSEC_PER_MSEC) { /* less than 1 msec */ in time_to_string()
283 sprintf(text, "%.1f ms", duration / (double)NSEC_PER_MSEC); in time_to_string()
299 if (end-start > 10 * NSEC_PER_MSEC) /* 10 msec */ in svg_waiting()

12345