| /Linux-v5.4/tools/testing/selftests/timers/ |
| D | valid-adjtimex.c | 38 #define USEC_PER_SEC 1000000LL macro 213 tmx.time.tv_sec = offset / USEC_PER_SEC; in set_offset() 214 tmx.time.tv_usec = offset % USEC_PER_SEC; in set_offset() 218 tmx.time.tv_usec += USEC_PER_SEC; in set_offset() 278 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_set_offset() 281 if (set_offset(-USEC_PER_SEC + 1, 0)) in validate_set_offset() 284 if (set_offset(-USEC_PER_SEC - 1, 0)) in validate_set_offset() 287 if (set_offset(5 * USEC_PER_SEC, 0)) in validate_set_offset() 290 if (set_offset(-5 * USEC_PER_SEC, 0)) in validate_set_offset() 293 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 185 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
|
| /Linux-v5.4/drivers/clocksource/ |
| D | timer-meson6.c | 117 meson6_clkevt_time_setup(USEC_PER_SEC / HZ - 1); in meson6_set_periodic() 184 sched_clock_register(meson6_timer_sched_read, 32, USEC_PER_SEC); in meson6_timer_init() 206 clockevents_config_and_register(&meson6_clockevent, USEC_PER_SEC, in meson6_timer_init()
|
| /Linux-v5.4/include/linux/ |
| D | jiffies.h | 66 #define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ) 376 #if !(USEC_PER_SEC % HZ) 379 return (u + (USEC_PER_SEC / HZ) - 1) / (USEC_PER_SEC / HZ); in _usecs_to_jiffies()
|
| D | time64.h | 27 #define USEC_PER_SEC 1000000L macro
|
| /Linux-v5.4/net/dccp/ccids/ |
| D | ccid3.h | 33 #define TFRC_INITIAL_TIMEOUT (2 * USEC_PER_SEC) 48 # define TFRC_T_DELTA (USEC_PER_SEC / (2 * HZ))
|
| /Linux-v5.4/tools/perf/bench/ |
| D | sched-pipe.c | 155 result_usec = diff.tv_sec * USEC_PER_SEC; in bench_sched_pipe() 166 ((double)result_usec / (double)USEC_PER_SEC))); in bench_sched_pipe()
|
| /Linux-v5.4/tools/include/linux/ |
| D | time64.h | 9 #define USEC_PER_SEC 1000000L macro
|
| /Linux-v5.4/arch/s390/include/asm/ |
| D | cpu_mf.h | 281 return (USEC_PER_SEC / freq) * qsi->cpu_speed; in freq_to_sample_rate() 287 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-v5.4/drivers/input/misc/ |
| D | pmic8xxx-pwrkey.c | 349 if (kpd_delay > USEC_PER_SEC * 2 || kpd_delay < USEC_PER_SEC / 64) { in pmic8xxx_pwrkey_probe() 381 delay = (kpd_delay << 6) / USEC_PER_SEC; in pmic8xxx_pwrkey_probe()
|
| /Linux-v5.4/drivers/iio/adc/ |
| D | ti-ads1015.c | 366 conv_time = DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr_old]); in ads1015_get_adc_result() 367 conv_time += DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr]); in ads1015_get_adc_result() 550 USEC_PER_SEC / data->data_rate[dr]; in ads1015_read_event() 552 *val = period / USEC_PER_SEC; in ads1015_read_event() 553 *val2 = period % USEC_PER_SEC; in ads1015_read_event() 593 period = val * USEC_PER_SEC + val2; in ads1015_write_event() 597 USEC_PER_SEC / data->data_rate[dr]) in ads1015_write_event()
|
| /Linux-v5.4/drivers/char/ipmi/ |
| D | ipmi_bt_sm.c | 183 bt->BT_CAP_req2rsp = BT_NORMAL_TIMEOUT * USEC_PER_SEC; in bt_init_data() 589 bt->timeout = BT_RESET_DELAY * USEC_PER_SEC; in bt_event() 667 bt->BT_CAP_req2rsp = BT_CAP[6] * USEC_PER_SEC; in bt_detect() 672 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-v5.4/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-v5.4/drivers/reset/ |
| D | reset-lpc18xx.c | 179 fcclk = clk_get_rate(rc->clk_reg) / USEC_PER_SEC; in lpc18xx_rgu_probe() 180 firc = clk_get_rate(rc->clk_delay) / USEC_PER_SEC; in lpc18xx_rgu_probe()
|
| /Linux-v5.4/arch/um/include/shared/ |
| D | common-offsets.h | 27 DEFINE(UM_USEC_PER_SEC, USEC_PER_SEC);
|
| /Linux-v5.4/include/clocksource/ |
| D | arm_arch_timer.h | 61 (USEC_PER_SEC / ARCH_TIMER_EVT_STREAM_PERIOD_US)
|
| /Linux-v5.4/drivers/gpu/drm/rockchip/ |
| D | dw-mipi-dsi-rockchip.c | 508 fout = target_mbps * USEC_PER_SEC; in dw_mipi_dsi_get_lane_mbps() 511 min_prediv = DIV_ROUND_UP(fin, 40 * USEC_PER_SEC); in dw_mipi_dsi_get_lane_mbps() 512 max_prediv = fin / (5 * USEC_PER_SEC); in dw_mipi_dsi_get_lane_mbps() 515 fvco_min = 80 * USEC_PER_SEC; in dw_mipi_dsi_get_lane_mbps() 516 fvco_max = 1500 * USEC_PER_SEC; in dw_mipi_dsi_get_lane_mbps() 550 dsi->lane_mbps = DIV_ROUND_UP(best_freq, USEC_PER_SEC); in dw_mipi_dsi_get_lane_mbps()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | smp.c | 186 timeout = USEC_PER_SEC; in native_stop_other_cpus()
|
| D | nmi_selftest.c | 81 timeout = USEC_PER_SEC; in test_nmi_ipi()
|
| /Linux-v5.4/arch/ia64/kernel/ |
| D | time.c | 310 local_cpu_data->cyc_per_usec = (itc_freq + USEC_PER_SEC/2) / USEC_PER_SEC; in ia64_init_itm()
|
| /Linux-v5.4/drivers/mtd/nand/raw/ |
| D | mxic_nand.c | 357 sts & INT_TX_EMPTY, 0, USEC_PER_SEC); in mxic_nfc_data_xfer() 364 sts & INT_TX_EMPTY, 0, USEC_PER_SEC); in mxic_nfc_data_xfer() 370 USEC_PER_SEC); in mxic_nfc_data_xfer()
|
| /Linux-v5.4/drivers/iio/light/ |
| D | tcs3472.c | 239 *val = period / USEC_PER_SEC; in tcs3472_read_event() 240 *val2 = period % USEC_PER_SEC; in tcs3472_read_event() 288 period = val * USEC_PER_SEC + val2; in tcs3472_write_event()
|
| /Linux-v5.4/drivers/firmware/tegra/ |
| D | bpmp.c | 816 .timeout = 60 * USEC_PER_SEC, 821 .timeout = 600 * USEC_PER_SEC, 839 .timeout = 60 * USEC_PER_SEC, 844 .timeout = 600 * USEC_PER_SEC,
|