Lines Matching refs:tm_mon
320 tm->tm_mon = BCD2BIN(readb(rtc->regbase + RMONCNT)) - 1;
348 tm->tm_mday, tm->tm_mon + 1, tm->tm_year, tm->tm_wday);
375 writeb(BIN2BCD(tm->tm_mon + 1), rtc->regbase + RMONCNT);
424 tm->tm_mon = sh_rtc_read_alarm_value(rtc, RMONAR);
425 if (tm->tm_mon > 0)
426 tm->tm_mon -= 1; /* RTC is 1-12, tm_mon is 0-11 */
456 if (tm->tm_mon >= 0xff)
457 tm->tm_mon = -1;
470 tm->tm_mon >= 12 ||
508 mon = tm->tm_mon;