Home
last modified time | relevance | path

Searched refs:max_cycles (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/kernel/time/
Dclocksource.c940 u64 max_nsecs, max_cycles; in clocks_calc_max_nsecs() local
946 max_cycles = ULLONG_MAX; in clocks_calc_max_nsecs()
947 do_div(max_cycles, mult+maxadj); in clocks_calc_max_nsecs()
955 max_cycles = min(max_cycles, mask); in clocks_calc_max_nsecs()
956 max_nsecs = clocksource_cyc2ns(max_cycles, mult - maxadj, shift); in clocks_calc_max_nsecs()
960 *max_cyc = max_cycles; in clocks_calc_max_nsecs()
977 &cs->max_cycles); in clocksource_update_max_deferment()
1194 cs->name, cs->mask, cs->max_cycles, cs->max_idle_ns); in __clocksource_update_freq_scale()
Djiffies.c40 .max_cycles = 10,
Dtimekeeping.c204 u64 max_cycles = tk->tkr_mono.clock->max_cycles; in timekeeping_check_update() local
207 if (offset > max_cycles) { in timekeeping_check_update()
209 offset, name, max_cycles); in timekeeping_check_update()
212 if (offset > (max_cycles >> 1)) { in timekeeping_check_update()
214 offset, name, max_cycles >> 1); in timekeeping_check_update()
258 max = tkr->clock->max_cycles; in timekeeping_get_delta()
275 delta = tkr->clock->max_cycles; in timekeeping_get_delta()
Dclocksource-wdtest.c48 .max_cycles = 10,
/linux-6.6.21/include/linux/
Dclocksource.h107 u64 max_cycles; member
222 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cycles);
/linux-6.6.21/drivers/char/hw_random/
Dcctrng.c182 u32 max_cycles; in cc_trng_enable_rnd_source() local
185 max_cycles = CCTRNG_TIMEOUT(drvdata->smpl_ratio[drvdata->active_rosc]); in cc_trng_enable_rnd_source()
186 cc_iowrite(drvdata, CC_RNG_WATCHDOG_VAL_REG_OFFSET, max_cycles); in cc_trng_enable_rnd_source()
/linux-6.6.21/tools/testing/kunit/test_data/
Dtest_is_test_passed-no_tests_run_no_header.log17 clocksource: timer: mask: 0xffffffffffffffff max_cycles: 0x1cd42e205, max_idle_ns: 881590404426 ns
25 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Dtest_output_isolated_correctly.log9 clocksource: timer: mask: 0xffffffffffffffff max_cycles: 0x1cd42e205, max_idle_ns: 881590404426 ns
50 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns