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