Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/rtc/
Drtc-ds1307.c901 int days_now, days_alarm, ret; in mcp794xx_alm_weekday() local
907 days_now = div_s64(rtc_tm_to_time64(&tm_now), 24 * 60 * 60); in mcp794xx_alm_weekday()
910 return (tm_now.tm_wday + days_alarm - days_now) % 7 + 1; in mcp794xx_alm_weekday()