Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/m68k/mvme16x/
Drtc.c73 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-2.4.37.9/arch/m68k/bvme6000/
Drtc.c77 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
96 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in rtc_ioctl()
101 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
/linux-2.4.37.9/drivers/char/
Dip27-rtc.c93 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
113 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in rtc_ioctl()
118 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
Dgenrtc.c314 unsigned char leap_yr; in gen_rtc_ioctl() local
324 leap_yr = ((!(year % 4) && (year % 100)) || in gen_rtc_ioctl()
331 (days_in_mo[wtime.tm_mon] + ((wtime.tm_mon == 1) && leap_yr))) in gen_rtc_ioctl()
Dds1286.c454 unsigned char mon, day, hrs, min, sec, leap_yr; in ds1286_set_time() local
469 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in ds1286_set_time()
474 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in ds1286_set_time()
Drtc.c430 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
454 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in rtc_ioctl()
459 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
478 if (!leap_yr && mon < 3) { in rtc_ioctl()
/linux-2.4.37.9/arch/cris/drivers/
Dds1302.c359 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
379 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in rtc_ioctl()
384 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
/linux-2.4.37.9/arch/ppc64/kernel/
Drtc.c107 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
127 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in rtc_ioctl()
132 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
/linux-2.4.37.9/drivers/hil/
Dhp_sdc_rtc.c620 unsigned char mon, day, hrs, min, sec, leap_yr; in hp_sdc_rtc_ioctl()
639 leap_yr = ((!(yrs % 4) && (yrs % 100)) || !(yrs % 400)); in hp_sdc_rtc_ioctl()
643 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in hp_sdc_rtc_ioctl()