Home
last modified time | relevance | path

Searched refs:leap_yr (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/arch/m68k/mvme16x/
A Drtc.c69 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
87 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in rtc_ioctl()
92 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
/linux-6.3-rc2/arch/m68k/bvme6000/
A Drtc.c74 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
92 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in rtc_ioctl()
97 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
/linux-6.3-rc2/drivers/rtc/
A Drtc-mc146818-lib.c198 unsigned int real_yrs, leap_yr; in mc146818_set_time() local
214 leap_yr = ((!((yrs + 1900) % 4) && ((yrs + 1900) % 100)) || in mc146818_set_time()
223 if (!leap_yr && mon < 3) { in mc146818_set_time()

Completed in 7 milliseconds