Searched refs:mult (Results 1 – 12 of 12) sorted by relevance
/kernel/time/ |
D | clocksource.c | 47 clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 maxsec) in clocks_calc_mult_shift() argument 73 *mult = tmp; in clocks_calc_mult_shift() 237 wd_delay = clocksource_cyc2ns(wd_delta, watchdog->mult, in cs_watchdog_read() 257 wd_seq_delay = clocksource_cyc2ns(wd_delta, watchdog->mult, watchdog->shift); in cs_watchdog_read() 369 cs_nsec = clocksource_cyc2ns(delta, cs->mult, cs->shift); in clocksource_verify_percpu() 459 wd_nsec = clocksource_cyc2ns(delta, watchdog->mult, in clocksource_watchdog() 463 cs_nsec = clocksource_cyc2ns(delta, cs->mult, cs->shift); in clocksource_watchdog() 844 nsec = mul_u64_u32_shr(delta, suspend_clocksource->mult, in clocksource_stop_suspend_timing() 907 ret = (u64)cs->mult * 11; in clocksource_max_adjustment() 927 u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cyc) in clocks_calc_max_nsecs() argument [all …]
|
D | sched_clock.c | 63 .read_data[0] = { .mult = NSEC_PER_SEC / HZ, 68 static inline u64 notrace cyc_to_ns(u64 cyc, u32 mult, u32 shift) in cyc_to_ns() argument 70 return (cyc * mult) >> shift; in cyc_to_ns() 95 res = rd->epoch_ns + cyc_to_ns(cyc, rd->mult, rd->shift); in sched_clock() 138 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); in update_sched_clock() 183 ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); in sched_clock_register() 188 rd.mult = new_mult; in sched_clock_register()
|
D | timekeeping.c | 101 .mult = 1, \ 329 tmp += clock->mult/2; in tk_setup_internals() 330 do_div(tmp, clock->mult); in tk_setup_internals() 338 tk->xtime_interval = interval * clock->mult; in tk_setup_internals() 340 tk->raw_interval = interval * clock->mult; in tk_setup_internals() 366 tk->tkr_mono.mult = clock->mult; in tk_setup_internals() 367 tk->tkr_raw.mult = clock->mult; in tk_setup_internals() 378 nsec = delta * tkr->mult + tkr->xtime_nsec; in timekeeping_delta_to_ns() 803 tk->tkr_mono.xtime_nsec += delta * tk->tkr_mono.mult; in timekeeping_forward_now() 804 tk->tkr_raw.xtime_nsec += delta * tk->tkr_raw.mult; in timekeeping_forward_now() [all …]
|
D | clockevents.c | 38 if (WARN_ON(!evt->mult)) in cev_delta2ns() 39 evt->mult = 1; in cev_delta2ns() 40 rnd = (u64) evt->mult - 1; in cev_delta2ns() 69 (!ismax || evt->mult <= (1ULL << evt->shift))) in cev_delta2ns() 72 do_div(clc, evt->mult); in cev_delta2ns() 161 if (WARN_ON(!dev->mult)) in clockevents_switch_state() 162 dev->mult = 1; in clockevents_switch_state() 247 clc = ((unsigned long long) delta * dev->mult) >> dev->shift; in clockevents_program_min_delta() 286 clc = ((unsigned long long) delta * dev->mult) >> dev->shift; in clockevents_program_min_delta() 333 clc = ((unsigned long long) delta * dev->mult) >> dev->shift; in clockevents_program_event()
|
D | vsyscall.c | 26 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data() 30 vdata[CS_RAW].mult = tk->tkr_raw.mult; in update_vdso_data()
|
D | jiffies.c | 38 .mult = TICK_NSEC << JIFFIES_SHIFT, /* details above */ 100 refined_jiffies.mult = ((u32)nsec_per_tick) << JIFFIES_SHIFT; in register_refined_jiffies()
|
D | tick-broadcast-hrtimer.c | 94 .mult = 1,
|
D | timecounter.c | 74 ns = ((ns * cc->mult) - frac) >> cc->shift; in cc_cyc2ns_backwards()
|
D | clocksource-wdtest.c | 46 .mult = TICK_NSEC << JIFFIES_SHIFT, /* details above */
|
D | timer_list.c | 200 SEQ_printf(m, " mult: %u\n", dev->mult); in print_tickdevice()
|
/kernel/ |
D | profile.c | 478 int __weak setup_profiling_timer(unsigned mult) in setup_profiling_timer() argument
|
/kernel/trace/ |
D | trace_events_hist.c | 415 u64 mult = operand2->div_multiplier; in div_by_mult_and_shift() local 417 return (val1 * mult + ((1 << HIST_DIV_SHIFT) - 1)) >> HIST_DIV_SHIFT; in div_by_mult_and_shift()
|