Searched refs:leap_yr (Results 1 – 9 of 9) sorted by relevance
/linux-2.4.37.9/arch/m68k/mvme16x/ |
D | rtc.c | 73 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/ |
D | rtc.c | 77 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/ |
D | ip27-rtc.c | 93 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()
|
D | genrtc.c | 314 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()
|
D | ds1286.c | 454 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()
|
D | rtc.c | 430 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/ |
D | ds1302.c | 359 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/ |
D | rtc.c | 107 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/ |
D | hp_sdc_rtc.c | 620 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()
|