Searched refs:leap_yr (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/arch/m68k/mvme16x/ |
A D | rtc.c | 69 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 D | rtc.c | 74 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 D | rtc-mc146818-lib.c | 198 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