Searched refs:time_gap (Results 1 – 1 of 1) sorted by relevance
259 unsigned long time_gap; in sunxi_rtc_setalarm() local282 time_gap = diff; in sunxi_rtc_setalarm()283 time_gap_day = time_gap / SEC_IN_DAY; in sunxi_rtc_setalarm()284 time_gap -= time_gap_day * SEC_IN_DAY; in sunxi_rtc_setalarm()285 time_gap_hour = time_gap / SEC_IN_HOUR; in sunxi_rtc_setalarm()286 time_gap -= time_gap_hour * SEC_IN_HOUR; in sunxi_rtc_setalarm()287 time_gap_min = time_gap / SEC_IN_MIN; in sunxi_rtc_setalarm()288 time_gap -= time_gap_min * SEC_IN_MIN; in sunxi_rtc_setalarm()294 alrm = SUNXI_ALRM_SET_SEC_VALUE(time_gap) | in sunxi_rtc_setalarm()