| /linux/tools/testing/selftests/timers/ |
| H A D | valid-adjtimex.c | 210 tmx.time.tv_sec = offset / USEC_PER_SEC; in set_offset() 211 tmx.time.tv_usec = offset % USEC_PER_SEC; in set_offset() 215 tmx.time.tv_usec += USEC_PER_SEC; in set_offset() 275 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_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(5 * USEC_PER_SEC, 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 + USEC_PER_SEC / in validate_set_offset() [all...] |
| /linux/include/linux/ |
| H A D | jiffies.h | 65 #define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ) 451 #if !(USEC_PER_SEC % HZ) 464 BUILD_BUG_ON(HZ > USEC_PER_SEC); in jiffies_to_usecs() 466 return (USEC_PER_SEC / HZ) * j; in jiffies_to_usecs() 575 #if !(USEC_PER_SEC % HZ) 578 return (u + (USEC_PER_SEC / HZ) - 1) / (USEC_PER_SEC / HZ); in _usecs_to_jiffies()
|
| /linux/drivers/clocksource/ |
| H A D | timer-meson6.c | 117 meson6_clkevt_time_setup(USEC_PER_SEC / HZ - 1); in meson6_set_periodic() 177 sched_clock_register(meson6_timer_sched_read, 32, USEC_PER_SEC); in meson6_timer_init() 201 clockevents_config_and_register(&meson6_clockevent, USEC_PER_SEC, in meson6_timer_init()
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_cpu.c | 190 long expected_usage_usec = usage_seconds * USEC_PER_SEC; in test_cpucg_stats() 244 long expected_nice_usec = usage_seconds * USEC_PER_SEC; in test_cpucg_nice() 686 duration_usec = duration_seconds * USEC_PER_SEC * 1000 / hz; in test_cpucg_max() 703 .tv_sec = duration_usec / USEC_PER_SEC, in test_cpucg_max() 704 .tv_nsec = duration_usec % USEC_PER_SEC * NSEC_PER_USEC, in test_cpucg_max() 753 duration_usec = duration_seconds * USEC_PER_SEC * 1000 / hz; in test_cpucg_max_nested() 777 .tv_sec = duration_usec / USEC_PER_SEC, in test_cpucg_max_nested() 778 .tv_nsec = duration_usec % USEC_PER_SEC * NSEC_PER_USEC, in test_cpucg_max_nested()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | tcp_ca_write_sk_pacing.c | 9 #define USEC_PER_SEC 1000000UL macro 38 ((tp->snd_cwnd * tp->mss_cache * USEC_PER_SEC) << 3) / in BPF_PROG()
|
| H A D | bpf_cubic.c | 114 #define USEC_PER_SEC 1000000UL macro 115 #define USEC_PER_JIFFY (USEC_PER_SEC / HZ) 333 t /= USEC_PER_SEC; in bictcp_update() 455 div64_ul((__u64)GSO_MAX_SIZE * 4 * USEC_PER_SEC, rate)); in hystart_ack_delay()
|
| H A D | bpf_cc_cubic.c | 20 #define USEC_PER_SEC 1000000UL macro 44 rate = (__u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in div64_u64()
|
| /linux/net/dccp/ccids/ |
| H A D | ccid3.h | |
| /linux/tools/perf/bench/ |
| H A D | find-bit-bench.c | 87 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_for_each_set_bit() 103 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_for_each_set_bit()
|
| H A D | sched-seccomp-notify.c | 150 result_usec = diff.tv_sec * USEC_PER_SEC; in bench_sched_seccomp_notify() 161 ((double)result_usec / (double)USEC_PER_SEC))); in bench_sched_seccomp_notify()
|
| H A D | synthesize.c | 91 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_run_single_threaded() 193 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_run_multi_threaded()
|
| H A D | kallsyms-parse.c | 55 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_kallsyms_parse()
|
| H A D | breakpoint.c | 159 result_usec = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in bench_breakpoint_thread() 251 result_usec = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in bench_breakpoint_enable()
|
| /linux/tools/include/linux/ |
| H A D | time64.h | 9 #define USEC_PER_SEC 1000000L macro
|
| /linux/drivers/devfreq/ |
| H A D | sun8i-a33-mbus.c | 139 u32 ddr_freq_mhz = freq / USEC_PER_SEC; /* DDR */ in sun8i_a33_mbus_set_dram_freq() 255 stat->current_frequency / USEC_PER_SEC); in sun8i_a33_mbus_get_dram_status() 302 mbus_freq_mhz = clk_get_rate(priv->clk_mbus) / USEC_PER_SEC; in sun8i_a33_mbus_hw_init() 310 sun8i_a33_mbus_update_nominal_bw(priv, ddr_freq / USEC_PER_SEC); in sun8i_a33_mbus_hw_init()
|
| /linux/include/vdso/ |
| H A D | time64.h | 10 #define USEC_PER_SEC 1000000L macro
|
| /linux/drivers/input/misc/ |
| H A D | pmic8xxx-pwrkey.c | 348 if (kpd_delay > USEC_PER_SEC * 2 || kpd_delay < USEC_PER_SEC / 64) { in pmic8xxx_pwrkey_probe() 380 delay = (kpd_delay << 6) / USEC_PER_SEC; in pmic8xxx_pwrkey_probe()
|
| /linux/kernel/trace/ |
| H A D | trace_mmiotrace.c | 172 unsigned long usec_rem = do_div(t, USEC_PER_SEC); in mmio_print_rw() 217 unsigned long usec_rem = do_div(t, USEC_PER_SEC); in mmio_print_map() 251 unsigned long usec_rem = do_div(t, USEC_PER_SEC); in mmio_print_mark()
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_pfvf_utils.h | 11 #define ADF_PFVF_MSG_ACK_MAX_DELAY_US (1 * USEC_PER_SEC)
|
| H A D | adf_gen4_pm.h | 20 #define ADF_GEN4_PM_POLL_TIMEOUT_US USEC_PER_SEC
|
| /linux/include/asm-generic/ |
| H A D | delay.h | 22 #define UDELAY_CONST_MULT ((unsigned long)DIV_ROUND_UP(1ULL << 32, USEC_PER_SEC))
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_bt_sm.c | 183 bt->BT_CAP_req2rsp = BT_NORMAL_TIMEOUT * USEC_PER_SEC; in bt_init_data() 591 bt->timeout = BT_RESET_DELAY * USEC_PER_SEC; in bt_event() 669 bt->BT_CAP_req2rsp = BT_CAP[6] * USEC_PER_SEC; in bt_detect() 674 bt->BT_CAP_req2rsp / USEC_PER_SEC, bt->BT_CAP_retries); in bt_detect()
|
| /linux/include/clocksource/ |
| H A D | arm_arch_timer.h | 65 (USEC_PER_SEC / ARCH_TIMER_EVT_STREAM_PERIOD_US)
|
| /linux/drivers/pwm/ |
| H A D | pwm-rzg2l-gpt.c | 217 tmp *= USEC_PER_SEC; in rzg2l_gpt_calculate_period_or_duty() 269 period_ticks = mul_u64_u64_div_u64(state->period, rzg2l_gpt->rate_khz, USEC_PER_SEC); in rzg2l_gpt_config() 291 duty_ticks = mul_u64_u64_div_u64(state->duty_cycle, rzg2l_gpt->rate_khz, USEC_PER_SEC); in rzg2l_gpt_config()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_controlq.h | 46 #define ICE_CTL_Q_SQ_CMD_TIMEOUT USEC_PER_SEC
|