Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-rv3032.c623 #define RV3032_HFD_STEP 8192 macro
644 return rate * RV3032_HFD_STEP; in rv3032_clkout_recalc_rate()
655 if (rate < RV3032_HFD_STEP) in rv3032_clkout_round_rate()
660 hfd = DIV_ROUND_CLOSEST(rate, RV3032_HFD_STEP); in rv3032_clkout_round_rate()
662 return RV3032_HFD_STEP * clamp(hfd, 0, 8192); in rv3032_clkout_round_rate()
679 hfd = DIV_ROUND_CLOSEST(rate, RV3032_HFD_STEP); in rv3032_clkout_set_rate()