Home
last modified time | relevance | path

Searched refs:tod_period (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()
141 if (tod_period > TOD_PERIOD_MAX) in dfl_tod_adjust_fine()
161 writel(tod_period, base + TOD_PERIOD); in dfl_tod_adjust_fine()