Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ptp/
H A Dptp_dfl_tod.c129 u32 tod_period, tod_rem, tod_drift_adjust_fns, tod_drift_adjust_rate; in dfl_tod_adjust_fine() local
140 tod_period = div_u64_rem(ppb << PERIOD_FRAC_OFFSET, rate, &tod_rem); in dfl_tod_adjust_fine()
148 tod_drift_adjust_fns = tod_rem / gcd(tod_rem, rate); in dfl_tod_adjust_fine()
149 tod_drift_adjust_rate = rate / gcd(tod_rem, rate); in dfl_tod_adjust_fine()