/linux-6.1.9/drivers/usb/host/ |
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-6.1.9/include/linux/ |
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()
|
D | map_benchmark.h | 12 #define DMA_MAP_MAX_TRANS_DELAY (10 * NSEC_PER_MSEC)
|
/linux-6.1.9/tools/testing/selftests/intel_pstate/ |
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-6.1.9/drivers/power/reset/ |
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() 183 (trigger_delay_ms % MSEC_PER_SEC) * NSEC_PER_MSEC); in ltc2952_poweroff_init()
|
/linux-6.1.9/include/net/ |
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()
|
D | codel.h | 63 #define MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT)
|
/linux-6.1.9/block/ |
D | genhd.c | 978 (unsigned int)div_u64(stat.nsecs[STAT_READ], NSEC_PER_MSEC), in part_stat_show() 982 (unsigned int)div_u64(stat.nsecs[STAT_WRITE], NSEC_PER_MSEC), in part_stat_show() 989 NSEC_PER_MSEC), in part_stat_show() 993 (unsigned int)div_u64(stat.nsecs[STAT_DISCARD], NSEC_PER_MSEC), in part_stat_show() 995 (unsigned int)div_u64(stat.nsecs[STAT_FLUSH], NSEC_PER_MSEC)); in part_stat_show() 1269 NSEC_PER_MSEC), in diskstats_show() 1274 NSEC_PER_MSEC), in diskstats_show() 1281 NSEC_PER_MSEC), in diskstats_show() 1286 NSEC_PER_MSEC), in diskstats_show() 1289 NSEC_PER_MSEC) in diskstats_show()
|
/linux-6.1.9/tools/include/linux/ |
D | time64.h | 8 #define NSEC_PER_MSEC 1000000L macro
|
/linux-6.1.9/include/vdso/ |
D | time64.h | 9 #define NSEC_PER_MSEC 1000000L macro
|
/linux-6.1.9/drivers/iio/imu/inv_mpu6050/ |
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()
|
/linux-6.1.9/fs/exfat/ |
D | misc.c | 81 ts->tv_nsec = (time_cs % 100) * 10 * NSEC_PER_MSEC; in exfat_get_entry_time() 109 ts->tv_nsec / (10 * NSEC_PER_MSEC); in exfat_set_entry_time()
|
/linux-6.1.9/kernel/time/ |
D | timekeeping_debug.c | 53 (s64)t->tv_sec, t->tv_nsec / NSEC_PER_MSEC); in tk_debug_account_sleep_time()
|
D | jiffies.c | 35 .uncertainty_margin = 32 * NSEC_PER_MSEC,
|
/linux-6.1.9/kernel/power/ |
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()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 267 unsigned long sleep_time = NSEC_PER_MSEC / 1000; in nouveau_fence_wait_legacy() 286 if (sleep_time > NSEC_PER_MSEC) in nouveau_fence_wait_legacy() 287 sleep_time = NSEC_PER_MSEC; in nouveau_fence_wait_legacy()
|
/linux-6.1.9/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy.c | 67 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc() 68 lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); in msm_dsi_dphy_timing_calc() 178 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v2() 286 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v3() 392 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc_v4() 478 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_cphy_timing_calc_v4()
|
/linux-6.1.9/kernel/trace/ |
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()
|
/linux-6.1.9/drivers/phy/amlogic/ |
D | phy-meson-axg-mipi-dphy.c | 270 DIV_ROUND_UP(priv->config.init * NSEC_PER_MSEC, temp)); in phy_meson_axg_mipi_dphy_power_on() 272 DIV_ROUND_UP(priv->config.wakeup * NSEC_PER_MSEC, temp)); in phy_meson_axg_mipi_dphy_power_on()
|
/linux-6.1.9/drivers/usb/chipidea/ |
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-6.1.9/tools/testing/selftests/dma/ |
D | dma_map_benchmark.c | 16 #define NSEC_PER_MSEC 1000000L macro
|
/linux-6.1.9/tools/perf/ui/browsers/ |
D | res_sample.c | 17 static u64 context_len = 10 * NSEC_PER_MSEC;
|
/linux-6.1.9/kernel/ |
D | torture.c | 115 ktime_t baset_ns = baset_ms * NSEC_PER_MSEC; in torture_hrtimeout_ms() 148 if ((u32)~0U / NSEC_PER_MSEC < fuzzt_ms) in torture_hrtimeout_s() 151 fuzzt_ns = fuzzt_ms * NSEC_PER_MSEC; in torture_hrtimeout_s()
|
/linux-6.1.9/drivers/leds/rgb/ |
D | leds-qcom-lpg.c | 573 lpg_calc_freq(chan, NSEC_PER_MSEC); in lpg_brightness_set() 581 lpg_calc_freq(chan, NSEC_PER_MSEC); in lpg_brightness_set() 652 duty = *delay_on * NSEC_PER_MSEC; in lpg_blink_set() 653 period = (*delay_on + *delay_off) * NSEC_PER_MSEC; in lpg_blink_set() 674 *delay_on = div_u64(duty, NSEC_PER_MSEC); in lpg_blink_set() 675 *delay_off = div_u64(chan->period - duty, NSEC_PER_MSEC); in lpg_blink_set()
|
/linux-6.1.9/tools/perf/ |
D | builtin-kwork.c | 667 (double)(sample->time - atom->time) / NSEC_PER_MSEC); in timehist_print_event() 674 (double)(atom->time - atom->prev->time) / NSEC_PER_MSEC); in timehist_print_event() 1087 (double)work->total_runtime / NSEC_PER_MSEC); in report_print_work() 1092 work->nr_atoms / NSEC_PER_MSEC); in report_print_work() 1112 (double)work->max_runtime / NSEC_PER_MSEC, in report_print_work() 1128 (double)work->max_latency / NSEC_PER_MSEC, in report_print_work() 1215 (double)kwork->all_runtime / NSEC_PER_MSEC, in print_summary() 1218 (double)time / NSEC_PER_MSEC); in print_summary()
|