| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | ktime.h | 166 return ktime_divns(kt, NSEC_PER_MSEC); in ktime_to_ms() 186 return ktime_add_ns(kt, msec * NSEC_PER_MSEC); in ktime_add_ms() 196 return ktime_sub_ns(kt, msec * NSEC_PER_MSEC); in ktime_sub_ms() 229 return ms * NSEC_PER_MSEC; in ms_to_ktime()
|
| H A D | clocksource.h | 165 return clocksource_freq2mult(khz, shift_constant, NSEC_PER_MSEC); in clocksource_khz2mult()
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | pie.h | 91 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 D | codel.h | 65 #define MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT)
|
| /OK3568_Linux_fs/kernel/drivers/iio/imu/inv_mpu6050/ |
| H A D | inv_mpu_ring.c | 33 (NSEC_PER_MSEC * (100 - INV_MPU6050_TS_PERIOD_JITTER)) / 100; in inv_mpu6050_update_period() 35 (NSEC_PER_MSEC * (100 + INV_MPU6050_TS_PERIOD_JITTER)) / 100; in inv_mpu6050_update_period()
|
| /OK3568_Linux_fs/kernel/fs/exfat/ |
| H A D | misc.c | 90 ts->tv_nsec = (time_cs % 100) * 10 * NSEC_PER_MSEC; in exfat_get_entry_time() 119 ts->tv_nsec / (10 * NSEC_PER_MSEC); in exfat_set_entry_time()
|
| /OK3568_Linux_fs/kernel/drivers/power/reset/ |
| H A D | ltc2952-poweroff.c | 162 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()
|
| /OK3568_Linux_fs/kernel/include/vdso/ |
| H A D | time64.h | 9 #define NSEC_PER_MSEC 1000000L macro
|
| /OK3568_Linux_fs/kernel/tools/include/linux/ |
| H A D | time64.h | 8 #define NSEC_PER_MSEC 1000000L macro
|
| /OK3568_Linux_fs/kernel/kernel/power/ |
| H A D | wakelock.c | 236 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()
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | genhd.c | 1312 (unsigned int)div_u64(stat.nsecs[STAT_READ], NSEC_PER_MSEC), in part_stat_show() 1316 (unsigned int)div_u64(stat.nsecs[STAT_WRITE], NSEC_PER_MSEC), in part_stat_show() 1323 NSEC_PER_MSEC), in part_stat_show() 1327 (unsigned int)div_u64(stat.nsecs[STAT_DISCARD], NSEC_PER_MSEC), in part_stat_show() 1329 (unsigned int)div_u64(stat.nsecs[STAT_FLUSH], NSEC_PER_MSEC)); in part_stat_show() 1637 NSEC_PER_MSEC), in diskstats_show() 1642 NSEC_PER_MSEC), in diskstats_show() 1649 NSEC_PER_MSEC), in diskstats_show() 1654 NSEC_PER_MSEC), in diskstats_show() 1657 NSEC_PER_MSEC) in diskstats_show()
|
| H A D | blk-iolatency.c | 160 #define BLKIOLATENCY_MIN_WIN_SIZE (100 * NSEC_PER_MSEC) 522 #define BLKIOLATENCY_MIN_ADJUST_TIME (500 * NSEC_PER_MSEC) 944 cur_win = div64_u64(iolat->cur_win_nsec, NSEC_PER_MSEC); in iolatency_pd_stat() 999 iolat->cur_win_nsec = 100 * NSEC_PER_MSEC; in iolatency_pd_init()
|
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | timekeeping_debug.c | 53 (s64)t->tv_sec, t->tv_nsec / NSEC_PER_MSEC); in tk_debug_account_sleep_time()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_fence.c | 268 unsigned long sleep_time = NSEC_PER_MSEC / 1000; in nouveau_fence_wait_legacy() 287 if (sleep_time > NSEC_PER_MSEC) in nouveau_fence_wait_legacy() 288 sleep_time = NSEC_PER_MSEC; in nouveau_fence_wait_legacy()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | ring_buffer_benchmark.c | 348 avg = NSEC_PER_MSEC / hit; in ring_buffer_producer() 366 avg = NSEC_PER_MSEC / (hit + missed); in ring_buffer_producer()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dsi/phy/ |
| H A D | dsi_phy.c | 65 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc() 66 lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); in msm_dsi_dphy_timing_calc() 176 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v2() 284 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v3() 390 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v4()
|
| /OK3568_Linux_fs/kernel/tools/perf/ |
| H A D | builtin-sched.c | 769 printf("#%-3ld: %0.3f, ", sched->nr_runs, (double)delta / NSEC_PER_MSEC); in run_one_test() 771 printf("ravg: %0.2f, ", (double)sched->run_avg / NSEC_PER_MSEC); in run_one_test() 774 (double)sched->cpu_usage / NSEC_PER_MSEC, (double)sched->runavg_cpu_usage / NSEC_PER_MSEC); in run_one_test() 782 (double)sched->parent_cpu_usage / NSEC_PER_MSEC, in run_one_test() 783 (double)sched->runavg_parent_cpu_usage / NSEC_PER_MSEC); in run_one_test() 798 burn_nsecs(sched, NSEC_PER_MSEC); in test_calibrations() 804 sleep_nsecs(NSEC_PER_MSEC); in test_calibrations() 1353 (double)work_list->total_runtime / NSEC_PER_MSEC, in output_lat_thread() 1354 work_list->nb_atoms, (double)avg / NSEC_PER_MSEC, in output_lat_thread() 1355 (double)work_list->max_lat / NSEC_PER_MSEC, in output_lat_thread() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/ui/browsers/ |
| H A D | res_sample.c | 17 static u64 context_len = 10 * NSEC_PER_MSEC;
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | svghelper.c | 279 if (duration < NSEC_PER_MSEC) { /* less than 1 msec */ in time_to_string() 283 sprintf(text, "%.1f ms", duration / (double)NSEC_PER_MSEC); in time_to_string() 299 if (end-start > 10 * NSEC_PER_MSEC) /* 10 msec */ in svg_waiting()
|
| /OK3568_Linux_fs/kernel/drivers/memory/ |
| H A D | ti-aemif.c | 144 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate() 219 return ((val + 1) * NSEC_PER_MSEC) / clk_rate; in aemif_cycles_to_nsec()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_debug_linux.c | 347 msg_hdr.timestamp = DIV_U64_BY_U32(msg_hdr.timestamp, NSEC_PER_MSEC); in dhd_os_push_push_ring_data() 363 msg_hdr.timestamp = DIV_U64_BY_U32(msg_hdr.timestamp, NSEC_PER_MSEC); in dhd_os_push_push_ring_data()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_debug_linux.c | 347 msg_hdr.timestamp = DIV_U64_BY_U32(msg_hdr.timestamp, NSEC_PER_MSEC); in dhd_os_push_push_ring_data() 363 msg_hdr.timestamp = DIV_U64_BY_U32(msg_hdr.timestamp, NSEC_PER_MSEC); in dhd_os_push_push_ring_data()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-bcm/ |
| H A D | platsmp.c | 30 #define SECONDARY_TIMEOUT_NS NSEC_PER_MSEC /* 1 msec (in nanoseconds) */
|