Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/rtc/
Drtc-efi.c50 int ndays = 0; in compute_wday() local
58 ndays += 365 + (is_leap_year(y) ? 1 : 0); in compute_wday()
60 ndays += compute_yday(eft); in compute_wday()
65 return (ndays + 4) % 7; in compute_wday()
/linux-4.1.27/drivers/char/
Defirtc.c84 int ndays = 0; in compute_wday() local
92 ndays += 365 + (is_leap(y) ? 1 : 0); in compute_wday()
94 ndays += compute_yday(eft); in compute_wday()
99 return (ndays + 4) % 7; in compute_wday()