Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/host/
Dehci-timer.c70 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 …]
Dfotg210-hcd.c1064 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/
Dktime.h206 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()
Dtime64.h33 #define NSEC_PER_MSEC 1000000L macro
/linux-4.4.14/kernel/power/
Dwakelock.c231 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()
Dprocess.c83 do_div(elapsed_msecs64, NSEC_PER_MSEC); in try_to_freeze_tasks()
Dhibernate.c246 elapsed_centisecs64 = ktime_divns(diff, 10*NSEC_PER_MSEC); in swsusp_show_speed()
/linux-4.4.14/kernel/trace/
Dring_buffer_benchmark.c346 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/
Dotg_fsm.c220 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/
Dkona_smp.c28 #define SECONDARY_TIMEOUT_NS NSEC_PER_MSEC /* 1 msec (in nanoseconds) */
/linux-4.4.14/tools/perf/util/
Dutil.h210 #ifndef NSEC_PER_MSEC
211 #define NSEC_PER_MSEC 1000000L macro
/linux-4.4.14/net/sched/
Dsch_pie.c85 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/
Dnouveau_fence.c316 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/
Dti-aemif.c146 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()
Dpl172.c68 cycles = DIV_ROUND_UP(val * pl172->rate, NSEC_PER_MSEC) - start; in pl172_timing_prop()
/linux-4.4.14/drivers/clocksource/
Dtegra20_timer.c143 timespec64_add_ns(&persistent_ts, delta * NSEC_PER_MSEC); in tegra_read_persistent_clock64()
/linux-4.4.14/arch/arm/mach-davinci/
Daemif.c71 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate()
/linux-4.4.14/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c71 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/
Dpps_gen_parport.c188 ((ts.tv_nsec > 990 * NSEC_PER_MSEC) ? 1 : 0), in next_intr_time()
/linux-4.4.14/drivers/md/bcache/
Dwriteback.c59 dc->writeback_rate.next + NSEC_PER_MSEC)) in __update_writeback_rate()
64 1, NSEC_PER_MSEC); in __update_writeback_rate()
Dutil.h399 #define NSEC_PER_ms NSEC_PER_MSEC
Dsysfs.c152 NSEC_PER_MSEC); in SHOW()
/linux-4.4.14/drivers/staging/olpc_dcon/
Dolpc_dcon.c245 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/
Dip_options.c64 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()
Dicmp.c947 tv.tv_nsec / NSEC_PER_MSEC); in icmp_timestamp()
/linux-4.4.14/include/net/
Dcodel.h65 #define MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT)
/linux-4.4.14/drivers/pwm/
Dpwm-imx.c133 NSEC_PER_MSEC); in imx_pwm_config_v2()
/linux-4.4.14/arch/x86/kernel/
Dnmi.c89 static u64 nmi_longest_ns = 1 * NSEC_PER_MSEC;
Dtsc.c260 NSEC_PER_MSEC, 0); in set_cyc2ns_scale()
/linux-4.4.14/tools/perf/
Dbuiltin-trace.c1320 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/
Dpt3.c465 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/
Dpmac64-cpufreq.c606 transition_latency = 10 * NSEC_PER_MSEC; in g5_pm72_cpufreq_init()
/linux-4.4.14/fs/
Dselect.c48 #define MAX_SLACK (100 * NSEC_PER_MSEC)
966 NSEC_PER_MSEC * (timeout_msecs % MSEC_PER_SEC)); in SYSCALL_DEFINE3()
Deventpoll.c1561 .tv_nsec = NSEC_PER_MSEC * (ms % MSEC_PER_SEC), in ep_set_mstimeout()
/linux-4.4.14/kernel/time/
Dhrtimer.c1398 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/
Deinj.c40 #define FIRMWARE_TIMEOUT (1 * NSEC_PER_MSEC)
Derst.c56 #define FIRMWARE_TIMEOUT (1 * NSEC_PER_MSEC)
/linux-4.4.14/drivers/mmc/core/
Dmmc_ops.c630 data.timeout_ns = 150 * NSEC_PER_MSEC; in mmc_send_tuning()
/linux-4.4.14/arch/powerpc/platforms/cell/
Dspu_base.c651 return time / NSEC_PER_MSEC; in spu_acct_time()
/linux-4.4.14/net/openvswitch/
Dflow.c63 cur_ts.tv_nsec / NSEC_PER_MSEC; in ovs_flow_used_time()
/linux-4.4.14/kernel/sched/
Dsched.h1366 return (u64)sysctl_sched_time_avg * NSEC_PER_MSEC / 2; in sched_avg_period()
Dfair.c2303 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;
Dcore.c8286 const u64 min_cfs_quota_period = 1 * NSEC_PER_MSEC; /* 1ms */
/linux-4.4.14/drivers/power/
Dcharger-manager.c1114 (wakeup_ms % MSEC_PER_SEC) * NSEC_PER_MSEC); in cm_setup_timer()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dfile.c2301 return time / NSEC_PER_MSEC; in spufs_acct_time()
/linux-4.4.14/drivers/usb/gadget/udc/
Ddummy_hcd.c839 return ts64.tv_nsec / NSEC_PER_MSEC; in dummy_g_get_frame()
/linux-4.4.14/kernel/events/
Dcore.c800 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/
Dib_srp.c2227 do_div(max_compl_time_ms, NSEC_PER_MSEC); in srp_compute_rq_tmo()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_pm.c5775 do_div(diffms, NSEC_PER_MSEC); in __i915_update_gfx_val()