Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/rtc/
Drtc-efi.c47 int ndays = 0; in compute_wday() local
55 ndays += 365 + (is_leap_year(y) ? 1 : 0); in compute_wday()
57 ndays += compute_yday(eft); in compute_wday()
62 return (ndays + 4) % 7; in compute_wday()
/linux-2.6.39/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()