| /Linux-v4.19/tools/testing/selftests/timers/ |
| D | valid-adjtimex.c | 38 #define USEC_PER_SEC 1000000LL macro 212 tmx.time.tv_sec = offset / USEC_PER_SEC; in set_offset() 213 tmx.time.tv_usec = offset % USEC_PER_SEC; in set_offset() 217 tmx.time.tv_usec += USEC_PER_SEC; in set_offset() 276 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_set_offset() 279 if (set_offset(-USEC_PER_SEC + 1, 0)) in validate_set_offset() 282 if (set_offset(-USEC_PER_SEC - 1, 0)) in validate_set_offset() 285 if (set_offset(5 * USEC_PER_SEC, 0)) in validate_set_offset() 288 if (set_offset(-5 * USEC_PER_SEC, 0)) in validate_set_offset() 291 if (set_offset(5 * USEC_PER_SEC + USEC_PER_SEC / 2, 0)) in validate_set_offset() [all …]
|
| D | adjtick.c | 31 #define USEC_PER_SEC 1000000 macro 184 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
|
| /Linux-v4.19/drivers/clocksource/ |
| D | meson6_timer.c | 86 meson6_clkevt_time_setup(CED_ID, USEC_PER_SEC / HZ - 1); in meson6_set_periodic() 152 sched_clock_register(meson6_timer_sched_read, 32, USEC_PER_SEC); in meson6_timer_init() 173 clockevents_config_and_register(&meson6_clockevent, USEC_PER_SEC, in meson6_timer_init()
|
| /Linux-v4.19/include/linux/ |
| D | jiffies.h | 66 #define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ) 375 #if !(USEC_PER_SEC % HZ) 378 return (u + (USEC_PER_SEC / HZ) - 1) / (USEC_PER_SEC / HZ); in _usecs_to_jiffies()
|
| D | pm_qos.h | 35 #define PM_QOS_CPU_DMA_LAT_DEFAULT_VALUE (2000 * USEC_PER_SEC) 36 #define PM_QOS_NETWORK_LAT_DEFAULT_VALUE (2000 * USEC_PER_SEC)
|
| D | time64.h | 35 #define USEC_PER_SEC 1000000L macro
|
| /Linux-v4.19/net/dccp/ccids/ |
| D | ccid3.h | 46 #define TFRC_INITIAL_TIMEOUT (2 * USEC_PER_SEC) 61 # define TFRC_T_DELTA (USEC_PER_SEC / (2 * HZ))
|
| /Linux-v4.19/tools/perf/bench/ |
| D | sched-pipe.c | 158 result_usec = diff.tv_sec * USEC_PER_SEC; in bench_sched_pipe() 169 ((double)result_usec / (double)USEC_PER_SEC))); in bench_sched_pipe()
|
| /Linux-v4.19/tools/include/linux/ |
| D | time64.h | 9 #define USEC_PER_SEC 1000000L macro
|
| /Linux-v4.19/arch/s390/include/asm/ |
| D | cpu_mf.h | 267 return (USEC_PER_SEC / freq) * qsi->cpu_speed; in freq_to_sample_rate() 273 return USEC_PER_SEC * qsi->cpu_speed / rate; in sample_rate_to_freq()
|
| D | cputime.h | 15 #define CPUTIME_PER_SEC (CPUTIME_PER_USEC * USEC_PER_SEC)
|
| /Linux-v4.19/drivers/input/misc/ |
| D | pmic8xxx-pwrkey.c | 357 if (kpd_delay > USEC_PER_SEC * 2 || kpd_delay < USEC_PER_SEC / 64) { in pmic8xxx_pwrkey_probe() 389 delay = (kpd_delay << 6) / USEC_PER_SEC; in pmic8xxx_pwrkey_probe()
|
| /Linux-v4.19/drivers/iio/adc/ |
| D | ti-ads1015.c | 369 conv_time = DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr_old]); in ads1015_get_adc_result() 370 conv_time += DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr]); in ads1015_get_adc_result() 553 USEC_PER_SEC / data->data_rate[dr]; in ads1015_read_event() 555 *val = period / USEC_PER_SEC; in ads1015_read_event() 556 *val2 = period % USEC_PER_SEC; in ads1015_read_event() 596 period = val * USEC_PER_SEC + val2; in ads1015_write_event() 600 USEC_PER_SEC / data->data_rate[dr]) in ads1015_write_event()
|
| /Linux-v4.19/drivers/char/ipmi/ |
| D | ipmi_bt_sm.c | 181 bt->BT_CAP_req2rsp = BT_NORMAL_TIMEOUT * USEC_PER_SEC; in bt_init_data() 587 bt->timeout = BT_RESET_DELAY * USEC_PER_SEC; in bt_event() 665 bt->BT_CAP_req2rsp = BT_CAP[6] * USEC_PER_SEC; in bt_detect() 670 bt->BT_CAP_req2rsp / USEC_PER_SEC, bt->BT_CAP_retries); in bt_detect()
|
| D | ipmi_kcs_sm.c | 101 #define IBF_RETRY_TIMEOUT (5*USEC_PER_SEC) 102 #define OBF_RETRY_TIMEOUT (5*USEC_PER_SEC)
|
| /Linux-v4.19/kernel/trace/ |
| D | trace_mmiotrace.c | 174 unsigned long usec_rem = do_div(t, USEC_PER_SEC); in mmio_print_rw() 219 unsigned long usec_rem = do_div(t, USEC_PER_SEC); in mmio_print_map() 253 unsigned long usec_rem = do_div(t, USEC_PER_SEC); in mmio_print_mark()
|
| /Linux-v4.19/drivers/reset/ |
| D | reset-lpc18xx.c | 183 fcclk = clk_get_rate(rc->clk_reg) / USEC_PER_SEC; in lpc18xx_rgu_probe() 184 firc = clk_get_rate(rc->clk_delay) / USEC_PER_SEC; in lpc18xx_rgu_probe()
|
| /Linux-v4.19/arch/um/include/shared/ |
| D | common-offsets.h | 27 DEFINE(UM_USEC_PER_SEC, USEC_PER_SEC);
|
| /Linux-v4.19/include/clocksource/ |
| D | arm_arch_timer.h | 72 (USEC_PER_SEC / ARCH_TIMER_EVT_STREAM_PERIOD_US)
|
| /Linux-v4.19/arch/ia64/kernel/ |
| D | time.c | 312 local_cpu_data->cyc_per_usec = (itc_freq + USEC_PER_SEC/2) / USEC_PER_SEC; in ia64_init_itm()
|
| /Linux-v4.19/drivers/iio/light/ |
| D | tcs3472.c | 242 *val = period / USEC_PER_SEC; in tcs3472_read_event() 243 *val2 = period % USEC_PER_SEC; in tcs3472_read_event() 291 period = val * USEC_PER_SEC + val2; in tcs3472_write_event()
|
| /Linux-v4.19/arch/x86/kernel/ |
| D | nmi_selftest.c | 81 timeout = USEC_PER_SEC; in test_nmi_ipi()
|
| D | smp.c | 220 timeout = USEC_PER_SEC; in native_stop_other_cpus()
|
| /Linux-v4.19/arch/powerpc/oprofile/cell/ |
| D | spu_profiler.c | 69 ns_per_cyc = (USEC_PER_SEC << SCALE_SHIFT)/freq_khz; in set_spu_profiling_frequency()
|
| /Linux-v4.19/kernel/time/ |
| D | time.c | 331 BUILD_BUG_ON(HZ > USEC_PER_SEC); in jiffies_to_usecs() 333 #if !(USEC_PER_SEC % HZ) in jiffies_to_usecs() 334 return (USEC_PER_SEC / HZ) * j; in jiffies_to_usecs()
|