| /linux/drivers/usb/host/ |
| H A D | ehci-timer.c | 61 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 D | ktime.h | 164 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 D | aperf.c | 17 #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/rust/kernel/ |
| H A D | time.rs | 37 pub const NSEC_PER_MSEC: i64 = bindings::NSEC_PER_MSEC as i64; constant 456 value: millis.saturating_mul(NSEC_PER_MSEC), in from_millis() 521 self.as_nanos() / NSEC_PER_MSEC in as_millis() 547 n / NSEC_PER_MSEC + add in as_millis_ceil()
|
| /linux/drivers/power/reset/ |
| H A D | ltc2952-poweroff.c | 161 data->wde_interval = 300L * NSEC_PER_MSEC; in ltc2952_poweroff_default() 162 data->trigger_delay = ktime_set(2, 500L * NSEC_PER_MSEC); in ltc2952_poweroff_default() 182 (trigger_delay_ms % MSEC_PER_SEC) * NSEC_PER_MSEC); in ltc2952_poweroff_init()
|
| /linux/block/ |
| H A D | genhd.c | 1083 (unsigned int)div_u64(stat.nsecs[STAT_READ], NSEC_PER_MSEC), in part_stat_show() 1087 (unsigned int)div_u64(stat.nsecs[STAT_WRITE], NSEC_PER_MSEC), in part_stat_show() 1094 NSEC_PER_MSEC), in part_stat_show() 1098 (unsigned int)div_u64(stat.nsecs[STAT_DISCARD], NSEC_PER_MSEC), in part_stat_show() 1100 (unsigned int)div_u64(stat.nsecs[STAT_FLUSH], NSEC_PER_MSEC)); in part_stat_show() 1389 NSEC_PER_MSEC)); in diskstats_show() 1394 NSEC_PER_MSEC)); in diskstats_show() 1401 NSEC_PER_MSEC)); in diskstats_show() 1406 NSEC_PER_MSEC)); in diskstats_show() 1409 NSEC_PER_MSEC)); in diskstats_show()
|
| H A D | blk-iolatency.c | 161 #define BLKIOLATENCY_MIN_WIN_SIZE (100 * NSEC_PER_MSEC) 512 #define BLKIOLATENCY_MIN_ADJUST_TIME (500 * NSEC_PER_MSEC) 959 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 D | time64.h | 8 #define NSEC_PER_MSEC 1000000L macro
|
| /linux/include/vdso/ |
| H A D | time64.h | 9 #define NSEC_PER_MSEC 1000000L macro
|
| /linux/kernel/power/ |
| H A D | wakelock.c | 239 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 D | bpf-trace-summary.c | 152 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 D | phy-meson-axg-mipi-dphy.c | 269 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/kernel/trace/ |
| H A D | ring_buffer_benchmark.c | 350 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 D | otg_fsm.c | 228 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/include/net/ |
| H A D | codel.h | 63 #define MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT)
|
| /linux/tools/dma/ |
| H A D | dma_map_benchmark.c | 15 #define NSEC_PER_MSEC 1000000L macro
|
| /linux/tools/perf/ui/browsers/ |
| H A D | res_sample.c | 17 static u64 context_len = 10 * NSEC_PER_MSEC;
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_clock.c | 30 return (u64)DIV_ROUND_CLOSEST_ULL(timespec64_to_ns(ts), NSEC_PER_MSEC); in timespec_to_ms()
|
| /linux/kernel/ |
| H A D | torture.c | 121 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/perf/ |
| H A D | builtin-kwork.c | 826 (double)(sample->time - atom->time) / NSEC_PER_MSEC); in timehist_entry_event() 833 (double)(atom->time - atom->prev->time) / NSEC_PER_MSEC); in timehist_entry_event() 1417 (double)work->total_runtime / NSEC_PER_MSEC); in report_print_work() 1422 work->nr_atoms / NSEC_PER_MSEC); in report_print_work() 1442 (double)work->max_runtime / NSEC_PER_MSEC, in report_print_header() 1458 (double)work->max_latency / NSEC_PER_MSEC, in report_print_header() 1545 (double)kwork->all_runtime / NSEC_PER_MSEC, in print_skipped_events() 1548 (double)time / NSEC_PER_MSEC); in print_skipped_events() 1641 (double)cpus_total_time / NSEC_PER_MSEC, in top_print_work() 1706 (double)work->total_runtime / NSEC_PER_MSEC); in perf_kwork__sort() [all...] |
| /linux/kernel/sched/ |
| H A D | cpufreq_schedutil.c | 683 .sched_runtime = NSEC_PER_MSEC, in sugov_kthread_create() 684 .sched_deadline = 10 * NSEC_PER_MSEC, in sugov_kthread_create() 685 .sched_period = 10 * NSEC_PER_MSEC, in sugov_kthread_create()
|
| /linux/arch/powerpc/perf/ |
| H A D | vpa-dtl.c | 299 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/drivers/pwm/ |
| H A D | pwm-max7360.c | 34 #define MAX7360_PWM_PERIOD_NS (2 * NSEC_PER_MSEC)
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | am65-cpsw-qos.h | 195 NSEC_PER_MSEC)
|
| /linux/arch/arm/mach-bcm/ |
| H A D | platsmp.c | 30 #define SECONDARY_TIMEOUT_NS NSEC_PER_MSEC /* 1 msec (in nanoseconds) */
|