Home
last modified time | relevance | path

Searched refs:NSEC_PER_MSEC (Results 1 – 25 of 125) 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/rust/kernel/
H A Dtime.rs12 pub const NSEC_PER_MSEC: i64 = bindings::NSEC_PER_MSEC as i64; constant
64 self.divns_constant::<NSEC_PER_MSEC>() in to_ms()
/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()
227 return ms * NSEC_PER_MSEC; in ms_to_ktime()
H A Dmap_benchmark.h12 #define DMA_MAP_MAX_TRANS_DELAY (10 * NSEC_PER_MSEC)
/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/drivers/power/reset/
H A Dltc2952-poweroff.c162 data->wde_interval = 300L * NSEC_PER_MSEC; in ltc2952_poweroff_default()
163 data->trigger_delay = ktime_set(2, 500L * NSEC_PER_MSEC); in ltc2952_poweroff_default()
183 (trigger_delay_ms % MSEC_PER_SEC) * NSEC_PER_MSEC); in ltc2952_poweroff_init()
/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/block/
H A Dgenhd.c999 (unsigned int)div_u64(stat.nsecs[STAT_READ], NSEC_PER_MSEC), in part_stat_show()
1003 (unsigned int)div_u64(stat.nsecs[STAT_WRITE], NSEC_PER_MSEC), in part_stat_show()
1010 NSEC_PER_MSEC), in part_stat_show()
1014 (unsigned int)div_u64(stat.nsecs[STAT_DISCARD], NSEC_PER_MSEC), in part_stat_show()
1016 (unsigned int)div_u64(stat.nsecs[STAT_FLUSH], NSEC_PER_MSEC)); in part_stat_show()
1298 NSEC_PER_MSEC)); in diskstats_show()
1303 NSEC_PER_MSEC)); in diskstats_show()
1310 NSEC_PER_MSEC)); in diskstats_show()
1315 NSEC_PER_MSEC)); in diskstats_show()
1318 NSEC_PER_MSEC)); in diskstats_show()
H A Dblk-iolatency.c161 #define BLKIOLATENCY_MIN_WIN_SIZE (100 * NSEC_PER_MSEC)
520 #define BLKIOLATENCY_MIN_ADJUST_TIME (500 * NSEC_PER_MSEC)
956 cur_win = div64_u64(iolat->cur_win_nsec, NSEC_PER_MSEC); in iolatency_pd_stat()
1007 iolat->cur_win_nsec = 100 * NSEC_PER_MSEC; in iolatency_pd_init()
/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/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.c236 u64 timeout_ms = timeout_ns + NSEC_PER_MSEC - 1; in pm_wake_lock()
238 do_div(timeout_ms, NSEC_PER_MSEC); in pm_wake_lock()
/linux/drivers/gpu/drm/msm/dsi/phy/
H A 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()
394 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v4()
482 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_cphy_timing_calc_v4()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_fence.c284 unsigned long sleep_time = NSEC_PER_MSEC / 1000; in nouveau_fence_wait_legacy()
303 if (sleep_time > NSEC_PER_MSEC) in nouveau_fence_wait_legacy()
304 sleep_time = NSEC_PER_MSEC; in nouveau_fence_wait_legacy()
/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/kernel/time/
H A Djiffies.c35 .uncertainty_margin = 32 * NSEC_PER_MSEC,
/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/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/kernel/
H A Dtorture.c121 ktime_t baset_ns = baset_ms * NSEC_PER_MSEC; in torture_hrtimeout_ms()
154 if ((u32)~0U / NSEC_PER_MSEC < fuzzt_ms) in torture_hrtimeout_s()
157 fuzzt_ns = fuzzt_ms * NSEC_PER_MSEC; in torture_hrtimeout_s()
/linux/tools/testing/selftests/dma/
H A Ddma_map_benchmark.c16 #define NSEC_PER_MSEC 1000000L macro
/linux/tools/perf/
H A Dbuiltin-kwork.c780 (double)(sample->time - atom->time) / NSEC_PER_MSEC); in timehist_print_event()
787 (double)(atom->time - atom->prev->time) / NSEC_PER_MSEC); in timehist_print_event()
1377 (double)work->total_runtime / NSEC_PER_MSEC); in report_print_work()
1382 work->nr_atoms / NSEC_PER_MSEC); in report_print_work()
1402 (double)work->max_runtime / NSEC_PER_MSEC, in report_print_work()
1418 (double)work->max_latency / NSEC_PER_MSEC, in report_print_work()
1505 (double)kwork->all_runtime / NSEC_PER_MSEC, in print_summary()
1508 (double)time / NSEC_PER_MSEC); in print_summary()
1601 (double)cpus_total_time / NSEC_PER_MSEC, in top_print_cpu_usage()
1666 (double)work->total_runtime / NSEC_PER_MSEC); in top_print_work()
[all...]
/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()

12345