Searched refs:fract_offset (Results 1 – 1 of 1) sorted by relevance
209 int fract_offset; in xlnx_rtc_set_offset() local215 max_tick = div_s64_rem(offset, tick_mult, &fract_offset); in xlnx_rtc_set_offset()218 if (fract_offset) { in xlnx_rtc_set_offset()219 if (fract_offset < 0) { in xlnx_rtc_set_offset()220 fract_offset = fract_offset + tick_mult; in xlnx_rtc_set_offset()223 if (fract_offset > (tick_mult / RTC_FR_MAX_TICKS)) { in xlnx_rtc_set_offset()225 if (fract_offset <= in xlnx_rtc_set_offset()