Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/rtc/
Drtc-at91rm9200.c83 #define AT91_RTC_CORR_DIVIDEND 3906000 macro
321 *offset = DIV_ROUND_CLOSEST(AT91_RTC_CORR_DIVIDEND, val); in at91_rtc_readoffset()
331 if (offset > AT91_RTC_CORR_DIVIDEND / 2) in at91_rtc_setoffset()
333 if (offset < -AT91_RTC_CORR_DIVIDEND / 2) in at91_rtc_setoffset()
356 corr = DIV_ROUND_CLOSEST(AT91_RTC_CORR_DIVIDEND, offset * AT91_RTC_CORR_LOW_RATIO); in at91_rtc_setoffset()
358 corr = DIV_ROUND_CLOSEST(AT91_RTC_CORR_DIVIDEND, offset); in at91_rtc_setoffset()