Home
last modified time | relevance | path

Searched refs:USEC_PER_SEC (Results 1 - 25 of 353) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/tools/testing/selftests/timers/
H A Dvalid-adjtimex.c38 #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 in validate_set_offset()
[all...]
H A Dadjtick.c31 #define USEC_PER_SEC 1000000 macro
185 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/timers/
H A Dvalid-adjtimex.c38 #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 in validate_set_offset()
[all...]
H A Dadjtick.c31 #define USEC_PER_SEC 1000000 macro
185 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
/kernel/linux/linux-5.10/include/linux/
H A Djiffies.h65 #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()
/kernel/linux/linux-6.6/include/linux/
H A Djiffies.h65 #define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ)
527 #if !(USEC_PER_SEC % HZ)
530 return (u + (USEC_PER_SEC / HZ) - 1) / (USEC_PER_SEC / HZ); in _usecs_to_jiffies()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/dccp/ccids/
H A Dccid3.h33 #define TFRC_INITIAL_TIMEOUT (2 * USEC_PER_SEC)
43 * when using the constant t_delta = t_gran / 2 = %USEC_PER_SEC / (2 * HZ).
48 # define TFRC_T_DELTA (USEC_PER_SEC / (2 * HZ))
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtcp_ca_write_sk_pacing.c10 #define USEC_PER_SEC 1000000UL macro
46 ((tp->snd_cwnd * tp->mss_cache * USEC_PER_SEC) << 3) / in BPF_PROG()
/kernel/linux/linux-6.6/net/dccp/ccids/
H A Dccid3.h33 #define TFRC_INITIAL_TIMEOUT (2 * USEC_PER_SEC)
43 * when using the constant t_delta = t_gran / 2 = %USEC_PER_SEC / (2 * HZ).
48 # define TFRC_T_DELTA (USEC_PER_SEC / (2 * HZ))
/kernel/linux/linux-5.10/tools/perf/bench/
H A Dsched-pipe.c155 result_usec = diff.tv_sec * USEC_PER_SEC; in bench_sched_pipe()
166 ((double)result_usec / (double)USEC_PER_SEC))); in bench_sched_pipe()
H A Dfind-bit-bench.c85 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_for_each_set_bit()
99 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in do_for_each_set_bit()
/kernel/linux/linux-6.6/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-pipe.c155 result_usec = diff.tv_sec * USEC_PER_SEC; in bench_sched_pipe()
166 ((double)result_usec / (double)USEC_PER_SEC))); in bench_sched_pipe()
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()
/kernel/linux/linux-5.10/tools/include/linux/
H A Dtime64.h9 #define USEC_PER_SEC 1000000L macro
/kernel/linux/linux-5.10/include/vdso/
H A Dtime64.h10 #define USEC_PER_SEC 1000000L macro
/kernel/linux/linux-6.6/tools/include/linux/
H A Dtime64.h9 #define USEC_PER_SEC 1000000L macro
/kernel/linux/linux-6.6/include/vdso/
H A Dtime64.h10 #define USEC_PER_SEC 1000000L macro
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dcpu_mf.h283 return (USEC_PER_SEC / freq) * qsi->cpu_speed; in freq_to_sample_rate()
289 return USEC_PER_SEC * qsi->cpu_speed / rate; in sample_rate_to_freq()
H A Dcputime.h15 #define CPUTIME_PER_SEC (CPUTIME_PER_USEC * USEC_PER_SEC)
/kernel/liteos_a/syscall/
H A Dmisc_syscall.c186 #define USEC_PER_SEC 1000000 macro
190 time->tv_usec = (clk % CLOCKS_PER_SEC) * USEC_PER_SEC / CLOCKS_PER_SEC; in ConvertClocks()
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dti-ads1015.c383 conv_time = DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr_old]); in ads1015_get_adc_result()
384 conv_time += DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr]); in ads1015_get_adc_result()
571 USEC_PER_SEC / data->data_rate[dr]; in ads1015_read_event()
573 *val = period / USEC_PER_SEC; in ads1015_read_event()
574 *val2 = period % USEC_PER_SEC; in ads1015_read_event()
614 period = val * USEC_PER_SEC + val2; in ads1015_write_event()
618 USEC_PER_SEC / data->data_rate[dr]) in ads1015_write_event()
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dpmic8xxx-pwrkey.c349 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()

Completed in 15 milliseconds

12345678910>>...15