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