/linux-4.4.14/drivers/usb/host/ |
D | ehci-timer.c | 70 1 * NSEC_PER_MSEC, /* EHCI_HRTIMER_POLL_ASS */ 71 1 * NSEC_PER_MSEC, /* EHCI_HRTIMER_POLL_PSS */ 72 1 * NSEC_PER_MSEC, /* EHCI_HRTIMER_POLL_DEAD */ 74 2 * NSEC_PER_MSEC, /* EHCI_HRTIMER_FREE_ITDS */ 75 5 * NSEC_PER_MSEC, /* EHCI_HRTIMER_START_UNLINK_INTR */ 76 6 * NSEC_PER_MSEC, /* EHCI_HRTIMER_ASYNC_UNLINKS */ 77 10 * NSEC_PER_MSEC, /* EHCI_HRTIMER_IAA_WATCHDOG */ 78 10 * NSEC_PER_MSEC, /* EHCI_HRTIMER_DISABLE_PERIODIC */ 79 15 * NSEC_PER_MSEC, /* EHCI_HRTIMER_DISABLE_ASYNC */ 80 100 * NSEC_PER_MSEC, /* EHCI_HRTIMER_IO_WATCHDOG */ [all …]
|
D | fotg210-hcd.c | 1064 1 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_POLL_ASS */ 1065 1 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_POLL_PSS */ 1066 1 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_POLL_DEAD */ 1068 2 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_FREE_ITDS */ 1069 6 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_ASYNC_UNLINKS */ 1070 10 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_IAA_WATCHDOG */ 1071 10 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_DISABLE_PERIODIC */ 1072 15 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_DISABLE_ASYNC */ 1073 100 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_IO_WATCHDOG */ 1091 NSEC_PER_MSEC, HRTIMER_MODE_ABS); in fotg210_enable_event()
|
/linux-4.4.14/include/linux/ |
D | ktime.h | 206 return ktime_divns(kt, NSEC_PER_MSEC); in ktime_to_ms() 226 return ktime_add_ns(kt, msec * NSEC_PER_MSEC); in ktime_add_ms()
|
D | time64.h | 33 #define NSEC_PER_MSEC 1000000L macro
|
/linux-4.4.14/kernel/power/ |
D | wakelock.c | 231 u64 timeout_ms = timeout_ns + NSEC_PER_MSEC - 1; in pm_wake_lock() 233 do_div(timeout_ms, NSEC_PER_MSEC); in pm_wake_lock()
|
D | process.c | 83 do_div(elapsed_msecs64, NSEC_PER_MSEC); in try_to_freeze_tasks()
|
D | hibernate.c | 246 elapsed_centisecs64 = ktime_divns(diff, 10*NSEC_PER_MSEC); in swsusp_show_speed()
|
/linux-4.4.14/kernel/trace/ |
D | ring_buffer_benchmark.c | 346 avg = NSEC_PER_MSEC / hit; in ring_buffer_producer() 364 avg = NSEC_PER_MSEC / (hit + missed); in ring_buffer_producer()
|
/linux-4.4.14/drivers/usb/chipidea/ |
D | otg_fsm.c | 220 timer_nsec = (otg_timer_ms[t] % MSEC_PER_SEC) * NSEC_PER_MSEC; in ci_otg_add_timer() 229 ci->hr_timeouts[t], NSEC_PER_MSEC, in ci_otg_add_timer() 269 ci->hr_timeouts[next_timer], NSEC_PER_MSEC, in ci_otg_del_timer() 396 NSEC_PER_MSEC, HRTIMER_MODE_ABS); in ci_otg_hrtimer_func()
|
/linux-4.4.14/arch/arm/mach-bcm/ |
D | kona_smp.c | 28 #define SECONDARY_TIMEOUT_NS NSEC_PER_MSEC /* 1 msec (in nanoseconds) */
|
/linux-4.4.14/tools/perf/util/ |
D | util.h | 210 #ifndef NSEC_PER_MSEC 211 #define NSEC_PER_MSEC 1000000L macro
|
/linux-4.4.14/net/sched/ |
D | sch_pie.c | 85 params->target = PSCHED_NS2TICKS(20 * NSEC_PER_MSEC); /* 20 ms */ in pie_params_init() 95 vars->burst_time = PSCHED_NS2TICKS(100 * NSEC_PER_MSEC); in pie_vars_init() 379 if (qdelay > (PSCHED_NS2TICKS(250 * NSEC_PER_MSEC))) in calculate_probability()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 316 unsigned long sleep_time = NSEC_PER_MSEC / 1000; in nouveau_fence_wait_legacy() 335 if (sleep_time > NSEC_PER_MSEC) in nouveau_fence_wait_legacy() 336 sleep_time = NSEC_PER_MSEC; in nouveau_fence_wait_legacy()
|
/linux-4.4.14/drivers/memory/ |
D | ti-aemif.c | 146 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate() 221 return ((val + 1) * NSEC_PER_MSEC) / clk_rate; in aemif_cycles_to_nsec()
|
D | pl172.c | 68 cycles = DIV_ROUND_UP(val * pl172->rate, NSEC_PER_MSEC) - start; in pl172_timing_prop()
|
/linux-4.4.14/drivers/clocksource/ |
D | tegra20_timer.c | 143 timespec64_add_ns(&persistent_ts, delta * NSEC_PER_MSEC); in tegra_read_persistent_clock64()
|
/linux-4.4.14/arch/arm/mach-davinci/ |
D | aemif.c | 71 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate()
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy.c | 71 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc() 72 lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); in msm_dsi_dphy_timing_calc()
|
/linux-4.4.14/drivers/pps/generators/ |
D | pps_gen_parport.c | 188 ((ts.tv_nsec > 990 * NSEC_PER_MSEC) ? 1 : 0), in next_intr_time()
|
/linux-4.4.14/drivers/md/bcache/ |
D | writeback.c | 59 dc->writeback_rate.next + NSEC_PER_MSEC)) in __update_writeback_rate() 64 1, NSEC_PER_MSEC); in __update_writeback_rate()
|
D | util.h | 399 #define NSEC_PER_ms NSEC_PER_MSEC
|
D | sysfs.c | 152 NSEC_PER_MSEC); in SHOW()
|
/linux-4.4.14/drivers/staging/olpc_dcon/ |
D | olpc_dcon.c | 245 if (ktime_to_ns(delta_t) > NSEC_PER_MSEC * 20) in dcon_load_holdoff() 357 < NSEC_PER_MSEC * 20) { in dcon_source_switch()
|
/linux-4.4.14/net/ipv4/ |
D | ip_options.c | 64 midtime = htonl((tv.tv_sec % 86400) * MSEC_PER_SEC + tv.tv_nsec / NSEC_PER_MSEC); in ip_options_build() 421 midtime = (tv.tv_sec % 86400) * MSEC_PER_SEC + tv.tv_nsec / NSEC_PER_MSEC; in ip_options_compile()
|
D | icmp.c | 947 tv.tv_nsec / NSEC_PER_MSEC); in icmp_timestamp()
|
/linux-4.4.14/include/net/ |
D | codel.h | 65 #define MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT)
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-imx.c | 133 NSEC_PER_MSEC); in imx_pwm_config_v2()
|
/linux-4.4.14/arch/x86/kernel/ |
D | nmi.c | 89 static u64 nmi_longest_ns = 1 * NSEC_PER_MSEC;
|
D | tsc.c | 260 NSEC_PER_MSEC, 0); in set_cyc2ns_scale()
|
/linux-4.4.14/tools/perf/ |
D | builtin-trace.c | 1320 double duration = (double)t / NSEC_PER_MSEC; in fprintf_duration() 1576 return t < (trace->duration_filter * NSEC_PER_MSEC); in trace__filter_duration() 1581 double ts = (double)(tstamp - trace->base_time) / NSEC_PER_MSEC; in trace__fprintf_tstamp() 2155 double runtime_ms = (double)runtime / NSEC_PER_MSEC; in trace__sched_stat_runtime() 2860 double min = (double)(stats->min) / NSEC_PER_MSEC; in thread__dump_stats() 2861 double max = (double)(stats->max) / NSEC_PER_MSEC; in thread__dump_stats() 2867 avg /= NSEC_PER_MSEC; in thread__dump_stats()
|
/linux-4.4.14/drivers/media/pci/pt3/ |
D | pt3.c | 465 delay = ktime_set(0, PT3_FETCH_DELAY * NSEC_PER_MSEC); in pt3_fetch_thread() 468 PT3_FETCH_DELAY_DELTA * NSEC_PER_MSEC, in pt3_fetch_thread()
|
/linux-4.4.14/drivers/cpufreq/ |
D | pmac64-cpufreq.c | 606 transition_latency = 10 * NSEC_PER_MSEC; in g5_pm72_cpufreq_init()
|
/linux-4.4.14/fs/ |
D | select.c | 48 #define MAX_SLACK (100 * NSEC_PER_MSEC) 966 NSEC_PER_MSEC * (timeout_msecs % MSEC_PER_SEC)); in SYSCALL_DEFINE3()
|
D | eventpoll.c | 1561 .tv_nsec = NSEC_PER_MSEC * (ms % MSEC_PER_SEC), in ep_set_mstimeout()
|
/linux-4.4.14/kernel/time/ |
D | hrtimer.c | 1398 if (delta.tv64 > 100 * NSEC_PER_MSEC) in hrtimer_interrupt() 1399 expires_next = ktime_add_ns(now, 100 * NSEC_PER_MSEC); in hrtimer_interrupt()
|
/linux-4.4.14/drivers/acpi/apei/ |
D | einj.c | 40 #define FIRMWARE_TIMEOUT (1 * NSEC_PER_MSEC)
|
D | erst.c | 56 #define FIRMWARE_TIMEOUT (1 * NSEC_PER_MSEC)
|
/linux-4.4.14/drivers/mmc/core/ |
D | mmc_ops.c | 630 data.timeout_ns = 150 * NSEC_PER_MSEC; in mmc_send_tuning()
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
D | spu_base.c | 651 return time / NSEC_PER_MSEC; in spu_acct_time()
|
/linux-4.4.14/net/openvswitch/ |
D | flow.c | 63 cur_ts.tv_nsec / NSEC_PER_MSEC; in ovs_flow_used_time()
|
/linux-4.4.14/kernel/sched/ |
D | sched.h | 1366 return (u64)sysctl_sched_time_avg * NSEC_PER_MSEC / 2; in sched_avg_period()
|
D | fair.c | 2303 period = (u64)curr->numa_scan_period * NSEC_PER_MSEC; in task_tick_numa() 3768 static const u64 min_cfs_rq_runtime = 1 * NSEC_PER_MSEC; 3770 static const u64 min_bandwidth_expiration = 2 * NSEC_PER_MSEC; 3772 static const u64 cfs_bandwidth_slack_period = 5 * NSEC_PER_MSEC;
|
D | core.c | 8286 const u64 min_cfs_quota_period = 1 * NSEC_PER_MSEC; /* 1ms */
|
/linux-4.4.14/drivers/power/ |
D | charger-manager.c | 1114 (wakeup_ms % MSEC_PER_SEC) * NSEC_PER_MSEC); in cm_setup_timer()
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 2301 return time / NSEC_PER_MSEC; in spufs_acct_time()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 839 return ts64.tv_nsec / NSEC_PER_MSEC; in dummy_g_get_frame()
|
/linux-4.4.14/kernel/events/ |
D | core.c | 800 cpuctx->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * interval); in __perf_mux_hrtimer_init() 7553 cpuctx->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * timer); in perf_event_mux_interval_ms_store()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 2227 do_div(max_compl_time_ms, NSEC_PER_MSEC); in srp_compute_rq_tmo()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_pm.c | 5775 do_div(diffms, NSEC_PER_MSEC); in __i915_update_gfx_val()
|