Searched refs:days_alarm (Results 1 – 1 of 1) sorted by relevance
908 int days_now, days_alarm, ret; in mcp794xx_alm_weekday() local915 days_alarm = div_s64(rtc_tm_to_time64(tm_alarm), 24 * 60 * 60); in mcp794xx_alm_weekday()917 return (tm_now.tm_wday + days_alarm - days_now) % 7 + 1; in mcp794xx_alm_weekday()