Searched refs:ppb_cor (Results 1 – 1 of 1) sorted by relevance
402 long ppb_cor; in armada38x_rtc_read_offset() local408 ppb_cor = (ccr & RTC_CCR_MODE ? 3815 : 954) * (s8)ccr; in armada38x_rtc_read_offset()410 *offset = armada38x_ppb_convert(ppb_cor); in armada38x_rtc_read_offset()419 long ppb_cor, off; in armada38x_rtc_set_offset() local429 ppb_cor = armada38x_ppb_convert(offset); in armada38x_rtc_set_offset()435 off = DIV_ROUND_CLOSEST(ppb_cor, 954); in armada38x_rtc_set_offset()438 off = DIV_ROUND_CLOSEST(ppb_cor, 3815); in armada38x_rtc_set_offset()