Home
last modified time | relevance | path

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

/linux-4.1.27/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 …]
Dfusbh200-hcd.c1057 1 * NSEC_PER_MSEC, /* FUSBH200_HRTIMER_POLL_ASS */
1058 1 * NSEC_PER_MSEC, /* FUSBH200_HRTIMER_POLL_PSS */
1059 1 * NSEC_PER_MSEC, /* FUSBH200_HRTIMER_POLL_DEAD */
1061 2 * NSEC_PER_MSEC, /* FUSBH200_HRTIMER_FREE_ITDS */
1062 6 * NSEC_PER_MSEC, /* FUSBH200_HRTIMER_ASYNC_UNLINKS */
1063 10 * NSEC_PER_MSEC, /* FUSBH200_HRTIMER_IAA_WATCHDOG */
1064 10 * NSEC_PER_MSEC, /* FUSBH200_HRTIMER_DISABLE_PERIODIC */
1065 15 * NSEC_PER_MSEC, /* FUSBH200_HRTIMER_DISABLE_ASYNC */
1066 100 * NSEC_PER_MSEC, /* FUSBH200_HRTIMER_IO_WATCHDOG */
1084 NSEC_PER_MSEC, HRTIMER_MODE_ABS); in fusbh200_enable_event()
Dfotg210-hcd.c1090 1 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_POLL_ASS */
1091 1 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_POLL_PSS */
1092 1 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_POLL_DEAD */
1094 2 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_FREE_ITDS */
1095 6 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_ASYNC_UNLINKS */
1096 10 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_IAA_WATCHDOG */
1097 10 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_DISABLE_PERIODIC */
1098 15 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_DISABLE_ASYNC */
1099 100 * NSEC_PER_MSEC, /* FOTG210_HRTIMER_IO_WATCHDOG */
1117 NSEC_PER_MSEC, HRTIMER_MODE_ABS); in fotg210_enable_event()
/linux-4.1.27/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.h25 #define NSEC_PER_MSEC 1000000L macro
/linux-4.1.27/kernel/power/
Dwakelock.c219 u64 timeout_ms = timeout_ns + NSEC_PER_MSEC - 1; in pm_wake_lock()
221 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.1.27/tools/perf/util/
Dutil.h216 #ifndef NSEC_PER_MSEC
217 #define NSEC_PER_MSEC 1000000L macro
/linux-4.1.27/kernel/trace/
Dring_buffer_benchmark.c334 avg = NSEC_PER_MSEC / hit; in ring_buffer_producer()
352 avg = NSEC_PER_MSEC / (hit + missed); in ring_buffer_producer()
/linux-4.1.27/drivers/staging/ozwpan/
Dozproto.c541 MSEC_PER_SEC, (pd->pulse_period % MSEC_PER_SEC) * NSEC_PER_MSEC)); in oz_pd_heartbeat_event()
572 NSEC_PER_MSEC)); in oz_timer_add()
577 NSEC_PER_MSEC), HRTIMER_MODE_REL); in oz_timer_add()
585 NSEC_PER_MSEC), HRTIMER_MODE_REL); in oz_timer_add()
Dozhcd.c1055 ep->credit += div_u64(timespec_to_ns(&delta), NSEC_PER_MSEC); in oz_hcd_heartbeat()
1097 ep->credit += div_u64(timespec_to_ns(&delta), NSEC_PER_MSEC); in oz_hcd_heartbeat()
/linux-4.1.27/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.1.27/arch/arm/mach-bcm/
Dkona_smp.c28 #define SECONDARY_TIMEOUT_NS NSEC_PER_MSEC /* 1 msec (in nanoseconds) */
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_fence.c317 unsigned long sleep_time = NSEC_PER_MSEC / 1000; in nouveau_fence_wait_legacy()
336 if (sleep_time > NSEC_PER_MSEC) in nouveau_fence_wait_legacy()
337 sleep_time = NSEC_PER_MSEC; in nouveau_fence_wait_legacy()
/linux-4.1.27/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()
378 if (qdelay > (PSCHED_NS2TICKS(250 * NSEC_PER_MSEC))) in calculate_probability()
/linux-4.1.27/drivers/gpu/drm/msm/dsi/
Ddsi_phy.c98 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in dsi_dphy_timing_calc()
99 lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); in dsi_dphy_timing_calc()
/linux-4.1.27/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()
/linux-4.1.27/drivers/clocksource/
Dtegra20_timer.c140 timespec64_add_ns(&persistent_ts, delta * NSEC_PER_MSEC); in tegra_read_persistent_clock64()
/linux-4.1.27/arch/arm/mach-davinci/
Daemif.c71 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate()
/linux-4.1.27/drivers/pps/generators/
Dpps_gen_parport.c188 ((ts.tv_nsec > 990 * NSEC_PER_MSEC) ? 1 : 0), in next_intr_time()
/linux-4.1.27/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.h404 #define NSEC_PER_ms NSEC_PER_MSEC
Dsysfs.c152 NSEC_PER_MSEC); in SHOW()
/linux-4.1.27/drivers/staging/olpc_dcon/
Dolpc_dcon.c247 delta_t.tv_nsec > NSEC_PER_MSEC * 20) { in dcon_load_holdoff()
360 delta_t.tv_nsec < NSEC_PER_MSEC * 20) { in dcon_source_switch()
/linux-4.1.27/include/net/
Dcodel.h65 #define MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT)
/linux-4.1.27/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.c923 tv.tv_nsec / NSEC_PER_MSEC); in icmp_timestamp()
/linux-4.1.27/arch/x86/kernel/
Dnmi.c89 static u64 nmi_longest_ns = 1 * NSEC_PER_MSEC;
Dtsc.c261 DIV_ROUND_CLOSEST(NSEC_PER_MSEC << CYC2NS_SCALE_FACTOR, in set_cyc2ns_scale()
/linux-4.1.27/drivers/video/fbdev/msm/
Dmsm_fb.c130 if (time_since_request > 20 * NSEC_PER_MSEC) { in msmfb_start_dma()
132 us = do_div(time_since_request, NSEC_PER_MSEC) / NSEC_PER_USEC; in msmfb_start_dma()
/linux-4.1.27/tools/perf/
Dbuiltin-trace.c1150 double duration = (double)t / NSEC_PER_MSEC; in fprintf_duration()
1363 return t < (trace->duration_filter * NSEC_PER_MSEC); in trace__filter_duration()
1368 double ts = (double)(tstamp - trace->base_time) / NSEC_PER_MSEC; in trace__fprintf_tstamp()
1855 double runtime_ms = (double)runtime / NSEC_PER_MSEC; in trace__sched_stat_runtime()
2473 double min = (double)(stats->min) / NSEC_PER_MSEC; in thread__dump_stats()
2474 double max = (double)(stats->max) / NSEC_PER_MSEC; in thread__dump_stats()
2480 avg /= NSEC_PER_MSEC; in thread__dump_stats()
/linux-4.1.27/drivers/pwm/
Dpwm-imx.c132 period_ms = DIV_ROUND_UP(pwm->period, NSEC_PER_MSEC); in imx_pwm_config_v2()
/linux-4.1.27/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.1.27/drivers/cpufreq/
Dpmac64-cpufreq.c606 transition_latency = 10 * NSEC_PER_MSEC; in g5_pm72_cpufreq_init()
/linux-4.1.27/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.1.27/kernel/time/
Dhrtimer.c1353 if (delta.tv64 > 100 * NSEC_PER_MSEC) in hrtimer_interrupt()
1354 expires_next = ktime_add_ns(now, 100 * NSEC_PER_MSEC); in hrtimer_interrupt()
/linux-4.1.27/drivers/mmc/core/
Dmmc_ops.c622 data.timeout_ns = 150 * NSEC_PER_MSEC; in mmc_send_tuning()
/linux-4.1.27/drivers/acpi/apei/
Deinj.c44 #define FIRMWARE_TIMEOUT (1 * NSEC_PER_MSEC)
Derst.c59 #define FIRMWARE_TIMEOUT (1 * NSEC_PER_MSEC)
/linux-4.1.27/arch/powerpc/platforms/cell/
Dspu_base.c651 return time / NSEC_PER_MSEC; in spu_acct_time()
/linux-4.1.27/net/openvswitch/
Dflow.c61 cur_ts.tv_nsec / NSEC_PER_MSEC; in ovs_flow_used_time()
/linux-4.1.27/kernel/sched/
Dsched.h1359 return (u64)sysctl_sched_time_avg * NSEC_PER_MSEC / 2; in sched_avg_period()
Dfair.c2262 period = (u64)curr->numa_scan_period * NSEC_PER_MSEC; in task_tick_numa()
3843 static const u64 min_cfs_rq_runtime = 1 * NSEC_PER_MSEC;
3845 static const u64 min_bandwidth_expiration = 2 * NSEC_PER_MSEC;
3847 static const u64 cfs_bandwidth_slack_period = 5 * NSEC_PER_MSEC;
Dcore.c8071 const u64 min_cfs_quota_period = 1 * NSEC_PER_MSEC; /* 1ms */
/linux-4.1.27/drivers/power/
Dcharger-manager.c1114 (wakeup_ms % MSEC_PER_SEC) * NSEC_PER_MSEC); in cm_setup_timer()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
Dfile.c2356 return time / NSEC_PER_MSEC; in spufs_acct_time()
/linux-4.1.27/kernel/events/
Dcore.c819 cpuctx->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * timer); in __perf_cpu_hrtimer_init()
7230 cpuctx->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * timer); in perf_event_mux_interval_ms_store()
/linux-4.1.27/drivers/infiniband/ulp/srp/
Dib_srp.c2168 do_div(max_compl_time_ms, NSEC_PER_MSEC); in srp_compute_rq_tmo()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_pm.c5288 do_div(diffms, NSEC_PER_MSEC); in __i915_update_gfx_val()