Lines Matching refs:tm_mon
271 t->time.tm_mon = CMOS_READ(cmos->mon_alrm); in cmos_read_alarm()
272 if (!t->time.tm_mon) in cmos_read_alarm()
273 t->time.tm_mon = -1; in cmos_read_alarm()
301 if (((unsigned)t->time.tm_mon) <= 0x12) in cmos_read_alarm()
302 t->time.tm_mon = bcd2bin(t->time.tm_mon)-1; in cmos_read_alarm()
304 t->time.tm_mon = -1; in cmos_read_alarm()
398 if (max_date.tm_mon == 11) { in cmos_validate_alarm()
399 max_date.tm_mon = 0; in cmos_validate_alarm()
402 max_date.tm_mon += 1; in cmos_validate_alarm()
404 max_mday = rtc_month_days(max_date.tm_mon, max_date.tm_year); in cmos_validate_alarm()
423 max_mday = rtc_month_days(max_date.tm_mon, max_date.tm_year); in cmos_validate_alarm()
454 mon = t->time.tm_mon + 1; in cmos_set_alarm()