Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/rtc/
Drtc-sunxi.c261 unsigned long time_gap; in sunxi_rtc_setalarm() local
284 time_gap = diff; in sunxi_rtc_setalarm()
285 time_gap_day = time_gap / SEC_IN_DAY; in sunxi_rtc_setalarm()
286 time_gap -= time_gap_day * SEC_IN_DAY; in sunxi_rtc_setalarm()
287 time_gap_hour = time_gap / SEC_IN_HOUR; in sunxi_rtc_setalarm()
288 time_gap -= time_gap_hour * SEC_IN_HOUR; in sunxi_rtc_setalarm()
289 time_gap_min = time_gap / SEC_IN_MIN; in sunxi_rtc_setalarm()
290 time_gap -= time_gap_min * SEC_IN_MIN; in sunxi_rtc_setalarm()
296 alrm = SUNXI_ALRM_SET_SEC_VALUE(time_gap) | in sunxi_rtc_setalarm()