Home
last modified time | relevance | path

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

/Linux-v4.19/arch/m68k/mvme16x/
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-v4.19/arch/m68k/bvme6000/
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-v4.19/drivers/rtc/
Drtc-mc146818-lib.c109 unsigned int real_yrs, leap_yr; in mc146818_set_time() local
126 leap_yr = ((!((yrs + 1900) % 4) && ((yrs + 1900) % 100)) || in mc146818_set_time()
135 if (!leap_yr && mon < 3) { in mc146818_set_time()
/Linux-v4.19/drivers/input/misc/
Dhp_sdc_rtc.c601 unsigned char mon, day, hrs, min, sec, leap_yr; in hp_sdc_rtc_ioctl()
620 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in hp_sdc_rtc_ioctl()
624 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in hp_sdc_rtc_ioctl()
/Linux-v4.19/drivers/char/
Drtc.c536 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_do_ioctl() local
560 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in rtc_do_ioctl()
565 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_do_ioctl()
585 if (!leap_yr && mon < 3) { in rtc_do_ioctl()