Home
last modified time | relevance | path

Searched refs:maxsec (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/include/linux/
Dclockchips.h193 clockevents_calc_mult_shift(struct clock_event_device *ce, u32 freq, u32 maxsec) in clockevents_calc_mult_shift() argument
195 return clocks_calc_mult_shift(&ce->mult, &ce->shift, NSEC_PER_SEC, freq, maxsec); in clockevents_calc_mult_shift()
/linux-6.1.9/drivers/net/ethernet/ti/
Dcpts.c618 u64 frac, maxsec, ns; in cpts_calc_mult_shift() local
626 maxsec = cpts->cc.mask; in cpts_calc_mult_shift()
627 do_div(maxsec, freq); in cpts_calc_mult_shift()
631 if (maxsec > 10) in cpts_calc_mult_shift()
632 maxsec = 10; in cpts_calc_mult_shift()
635 cpts->ov_check_period = (HZ * maxsec) / 2; in cpts_calc_mult_shift()
643 freq, NSEC_PER_SEC, maxsec); in cpts_calc_mult_shift()
/linux-6.1.9/kernel/time/
Dclocksource.c47 clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 maxsec) in clocks_calc_mult_shift() argument
56 tmp = ((u64)maxsec * from) >> 32; in clocks_calc_mult_shift()