Home
last modified time | relevance | path

Searched refs:USEC_PER_SEC (Results 1 – 25 of 171) sorted by relevance

1234567

/linux/drivers/clocksource/
H A Dtimer-meson6.c117 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/bpf/progs/
H A Dtcp_ca_write_sk_pacing.c9 #define USEC_PER_SEC 1000000UL macro
40 ((tp->snd_cwnd * tp->mss_cache * USEC_PER_SEC) << 3) / in BPF_PROG()
H A Dbpf_cubic.c120 #define USEC_PER_SEC 1000000UL macro
121 #define USEC_PER_JIFFY (USEC_PER_SEC / HZ)
329 t /= USEC_PER_SEC; in bictcp_update()
451 div64_ul((__u64)GSO_MAX_SIZE * 4 * USEC_PER_SEC, rate)); in hystart_ack_delay()
H A Dbpf_cc_cubic.c20 #define USEC_PER_SEC 1000000UL macro
53 rate = (__u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in tcp_update_pacing_rate()
/linux/net/dccp/ccids/
H A Dccid3.h33 #define TFRC_INITIAL_TIMEOUT (2 * USEC_PER_SEC)
48 # define TFRC_T_DELTA (USEC_PER_SEC / (2 * HZ))
/linux/tools/perf/bench/
H A Dfind-bit-bench.c87 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 Dsched-seccomp-notify.c150 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 Dsynthesize.c90 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_run_single_threaded()
183 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_run_multi_threaded()
H A Dbreakpoint.c159 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/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_hw_data.h77 #define ADF_RPRESET_POLL_TIMEOUT_US (5 * USEC_PER_SEC)
89 #define ADF_COALESCED_POLL_TIMEOUT_US (1 * USEC_PER_SEC)
H A Dadf_pfvf_utils.h11 #define ADF_PFVF_MSG_ACK_MAX_DELAY_US (1 * USEC_PER_SEC)
/linux/drivers/devfreq/
H A Dsun8i-a33-mbus.c139 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/drivers/input/misc/
H A Dpmic8xxx-pwrkey.c348 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 Dtrace_mmiotrace.c172 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/reset/
H A Dreset-lpc18xx.c163 fcclk = clk_get_rate(rc->clk_reg) / USEC_PER_SEC; in lpc18xx_rgu_probe()
164 firc = clk_get_rate(rc->clk_delay) / USEC_PER_SEC; in lpc18xx_rgu_probe()
/linux/tools/include/linux/
H A Dtime64.h9 #define USEC_PER_SEC 1000000L macro
/linux/include/vdso/
H A Dtime64.h10 #define USEC_PER_SEC 1000000L macro
/linux/drivers/iio/light/
H A Das73211.c263 data->int_time_avail[i * 2 + 0] = time_us / USEC_PER_SEC; in as73211_gain()
264 data->int_time_avail[i * 2 + 1] = time_us % USEC_PER_SEC; in as73211_gain()
475 *val = time_us / USEC_PER_SEC; in as73211_read_raw()
476 *val2 = time_us % USEC_PER_SEC; in as73211_read_raw()
565 int val_us = val * USEC_PER_SEC + val2; in _as73211_write_raw()
/linux/net/core/
H A Dhotdata.c15 .netdev_budget_usecs = 2 * USEC_PER_SEC / HZ,
/linux/drivers/char/ipmi/
H A Dipmi_bt_sm.c183 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/asm-generic/
H A Ddelay.h22 #define UDELAY_CONST_MULT ((unsigned long)DIV_ROUND_UP(1ULL << 32, USEC_PER_SEC))
/linux/sound/soc/codecs/
H A Djz4760.c269 1000, 1 * USEC_PER_SEC); in jz4760_codec_mute_stream()
370 1000, 1 * USEC_PER_SEC); in hpout_event()
390 1000, 1 * USEC_PER_SEC); in hpout_event()
769 1000, 1 * USEC_PER_SEC); in jz4760_codec_io_wait()
H A Djz4770.c290 1000, 1 * USEC_PER_SEC); in jz4770_codec_mute_stream()
393 1000, 1 * USEC_PER_SEC); in hpout_event()
413 1000, 1 * USEC_PER_SEC); in hpout_event()
819 1000, 1 * USEC_PER_SEC); in jz4770_codec_io_wait()
/linux/include/clocksource/
H A Darm_arch_timer.h70 (USEC_PER_SEC / ARCH_TIMER_EVT_STREAM_PERIOD_US)
/linux/arch/x86/kernel/cpu/microcode/
H A Dcore.c283 for (timeout = 0; timeout < USEC_PER_SEC; timeout++) { in wait_for_cpus()
306 for (timeout = 0; timeout < USEC_PER_SEC; timeout++) { in wait_for_ctrl()
429 for (timeout = 0; timeout < (USEC_PER_SEC / 2); timeout++) { in kick_offline_cpus()

1234567