tm_year 89 arch/alpha/kernel/rtc.c int year = tm->tm_year; tm_year 97 arch/alpha/kernel/rtc.c tm->tm_year = year; tm_year 110 arch/alpha/kernel/rtc.c xtm.tm_year -= rtc_epoch - 1900; tm_year 128 arch/m68k/68000/timers.c t->tm_year = 1; tm_year 216 arch/m68k/apollo/config.c t->tm_year=rtc->year; tm_year 217 arch/m68k/apollo/config.c if (t->tm_year < 70) tm_year 218 arch/m68k/apollo/config.c t->tm_year += 100; tm_year 227 arch/m68k/apollo/config.c rtc->year = t->tm_year % 100; tm_year 169 arch/m68k/atari/time.c year = t->tm_year - 80; tm_year 192 arch/m68k/atari/time.c t->tm_year = val.year_ones + val.year_tens * 10 + 80; tm_year 216 arch/m68k/atari/time.c year = t->tm_year - atari_rtc_year_offset; tm_year 313 arch/m68k/atari/time.c t->tm_year = year + atari_rtc_year_offset; tm_year 298 arch/m68k/bvme6000/config.c rtc->t0cr_rtmr = t->tm_year%4; tm_year 305 arch/m68k/bvme6000/config.c rtc->bcd_year = bin2bcd(t->tm_year%100); tm_year 308 arch/m68k/bvme6000/config.c rtc->t0cr_rtmr = t->tm_year%4 | 0x08; tm_year 318 arch/m68k/bvme6000/config.c t->tm_year = bcd2bin(rtc->bcd_year); tm_year 319 arch/m68k/bvme6000/config.c if (t->tm_year < 70) tm_year 320 arch/m68k/bvme6000/config.c t->tm_year += 100; tm_year 61 arch/m68k/bvme6000/rtc.c wtime.tm_year = bcd2bin(rtc->bcd_year); tm_year 62 arch/m68k/bvme6000/rtc.c if (wtime.tm_year < 70) tm_year 63 arch/m68k/bvme6000/rtc.c wtime.tm_year += 100; tm_year 83 arch/m68k/bvme6000/rtc.c yrs = rtc_tm.tm_year; tm_year 217 arch/m68k/hp300/config.c t->tm_year = hp300_rtc_read(RTC_REG_YEAR1) * 10 + tm_year 219 arch/m68k/hp300/config.c if (t->tm_year <= 69) tm_year 220 arch/m68k/hp300/config.c t->tm_year += 100; tm_year 233 arch/m68k/hp300/config.c if (t->tm_year >= 100) tm_year 234 arch/m68k/hp300/config.c t->tm_year -= 100; tm_year 235 arch/m68k/hp300/config.c hp300_rtc_write(RTC_REG_YEAR1, t->tm_year / 10); tm_year 236 arch/m68k/hp300/config.c hp300_rtc_write(RTC_REG_YEAR2, t->tm_year % 10); tm_year 89 arch/m68k/kernel/time.c ts->tv_sec = mktime64(time.tm_year + 1900, time.tm_mon + 1, time.tm_mday, tm_year 301 arch/m68k/mac/misc.c time = mktime64(tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm_year 638 arch/m68k/mac/misc.c &t->tm_year, &t->tm_mon, &t->tm_mday, tm_year 178 arch/m68k/mvme147/config.c t->tm_year = bcd2int (m147_rtc->bcd_year); tm_year 185 arch/m68k/mvme147/config.c if (t->tm_year < 70) tm_year 186 arch/m68k/mvme147/config.c t->tm_year += 100; tm_year 443 arch/m68k/mvme16x/config.c t->tm_year = bcd2int (rtc->bcd_year); tm_year 450 arch/m68k/mvme16x/config.c if (t->tm_year < 70) tm_year 451 arch/m68k/mvme16x/config.c t->tm_year += 100; tm_year 57 arch/m68k/mvme16x/rtc.c wtime.tm_year = bcd2bin(rtc->bcd_year); tm_year 58 arch/m68k/mvme16x/rtc.c if (wtime.tm_year < 70) tm_year 59 arch/m68k/mvme16x/rtc.c wtime.tm_year += 100; tm_year 78 arch/m68k/mvme16x/rtc.c yrs = rtc_tm.tm_year; tm_year 228 arch/m68k/q40/config.c Q40_RTC_YEAR = bin2bcd(t->tm_year%100); tm_year 237 arch/m68k/q40/config.c t->tm_year = bcd2bin (Q40_RTC_YEAR); tm_year 246 arch/m68k/q40/config.c if (t->tm_year < 70) tm_year 247 arch/m68k/q40/config.c t->tm_year += 100; tm_year 46 arch/m68k/sun3/intersil.c todintersil->year = (t->tm_year - 68) % 100; tm_year 56 arch/m68k/sun3/intersil.c t->tm_year = todintersil->year + 68; tm_year 58 arch/m68k/sun3/intersil.c if (t->tm_year < 70) tm_year 59 arch/m68k/sun3/intersil.c t->tm_year += 100; tm_year 56 arch/m68k/sun3x/time.c h->year = bin2bcd(t->tm_year % 100); tm_year 66 arch/m68k/sun3x/time.c t->tm_year = bcd2bin(h->year); tm_year 68 arch/m68k/sun3x/time.c if (t->tm_year < 70) tm_year 69 arch/m68k/sun3x/time.c t->tm_year += 100; tm_year 178 arch/mips/sibyte/swarm/rtc_m41t81.c tm.tm_year %= 100; tm_year 179 arch/mips/sibyte/swarm/rtc_m41t81.c tm.tm_year = bin2bcd(tm.tm_year); tm_year 180 arch/mips/sibyte/swarm/rtc_m41t81.c m41t81_write(M41T81REG_YR, tm.tm_year); tm_year 115 arch/mips/sibyte/swarm/rtc_xicor1241.c tm.tm_year += 1900; tm_year 138 arch/mips/sibyte/swarm/rtc_xicor1241.c tmp = tm.tm_year / 100; tm_year 139 arch/mips/sibyte/swarm/rtc_xicor1241.c tm.tm_year %= 100; tm_year 140 arch/mips/sibyte/swarm/rtc_xicor1241.c xicor_write(X1241REG_YR, tm.tm_year); tm_year 296 arch/powerpc/kernel/rtas-proc.c tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, tm_year 359 arch/powerpc/kernel/rtas-proc.c tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, tm_year 84 arch/powerpc/kernel/rtas-rtc.c rtc_tm->tm_year = ret[0] - 1900; tm_year 95 arch/powerpc/kernel/rtas-rtc.c tm->tm_year + 1900, tm->tm_mon + 1, tm_year 109 arch/powerpc/platforms/chrp/time.c tm.tm_year = bin2bcd(tm.tm_year); tm_year 116 arch/powerpc/platforms/chrp/time.c chrp_cmos_clock_write(tm.tm_year,RTC_YEAR); tm_year 160 arch/powerpc/platforms/chrp/time.c tm->tm_year = year; tm_year 60 arch/powerpc/platforms/maple/time.c tm->tm_year = maple_clock_read(RTC_YEAR); tm_year 70 arch/powerpc/platforms/maple/time.c tm->tm_year = bcd2bin(tm->tm_year); tm_year 72 arch/powerpc/platforms/maple/time.c if ((tm->tm_year + 1900) < 1970) tm_year 73 arch/powerpc/platforms/maple/time.c tm->tm_year += 100; tm_year 98 arch/powerpc/platforms/maple/time.c year = tm->tm_year; tm_year 23 arch/powerpc/platforms/powernv/opal-rtc.c tm->tm_year = ((bcd2bin(y_m_d >> 24) * 100) + tm_year 85 arch/sh/boards/mach-sh03/rtc.c tm->tm_year = year - 1900; tm_year 94 arch/x86/platform/intel-mid/intel_mid_vrtc.c if (!rtc_valid_tm(&tm) && tm.tm_year >= 72) { tm_year 99 arch/x86/platform/intel-mid/intel_mid_vrtc.c year = tm.tm_year - 72; tm_year 96 drivers/base/power/trace.c .tm_year = 106, tm_year 102 drivers/base/power/trace.c time.tm_year = (n % 100); tm_year 124 drivers/base/power/trace.c val = time.tm_year; /* 100 years */ tm_year 106 drivers/char/efirtc.c eft->year = wtime->tm_year + 1900; tm_year 126 drivers/char/efirtc.c wtime->tm_year = eft->year - 1900; tm_year 546 drivers/char/rtc.c yrs = rtc_tm.tm_year + 1900; tm_year 1212 drivers/char/rtc.c rtc_tm->tm_year = CMOS_READ(RTC_YEAR); tm_year 1228 drivers/char/rtc.c rtc_tm->tm_year = bcd2bin(rtc_tm->tm_year); tm_year 1233 drivers/char/rtc.c rtc_tm->tm_year += real_year - 72; tm_year 1240 drivers/char/rtc.c rtc_tm->tm_year += epoch - 1900; tm_year 1241 drivers/char/rtc.c if (rtc_tm->tm_year <= 69) tm_year 1242 drivers/char/rtc.c rtc_tm->tm_year += 100; tm_year 192 drivers/firmware/raspberrypi.c tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, tm_year 121 drivers/input/misc/hp_sdc_rtc.c rtctm->tm_year = (tseq[83] & 0x0f) + (tseq[90] & 0x0f) * 10; tm_year 608 drivers/input/misc/hp_sdc_rtc.c yrs = hp_sdc_rtc_tm.tm_year + 1900; tm_year 376 drivers/macintosh/smu.c cmd_buf->data[7] = hex2bcd(time->tm_year - 100); tm_year 401 drivers/macintosh/smu.c time->tm_year = bcd2hex(cmd.buffer[6]) + 100; tm_year 423 drivers/macintosh/smu.c hex2bcd(time->tm_year - 100)); tm_year 96 drivers/media/platform/vivid/vivid-rds-gen.c date = 14956 + tm.tm_mday + ((tm.tm_year - l) * 1461) / 4 + tm_year 192 drivers/media/platform/vivid/vivid-vbi-gen.c packet[7] = calc_parity(0x40 | ((tm.tm_year - 90) & 0x3f)); tm_year 358 drivers/media/usb/pulse8-cec/pulse8-cec.c tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, tm_year 840 drivers/mfd/menelaus.c t->tm_year = bcd2bin(regs[5]) + 100; tm_year 875 drivers/mfd/menelaus.c status = menelaus_write_reg(regnum++, bin2bcd(t->tm_year - 100)); tm_year 7314 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.year = cpu_to_le16(1900 + tm.tm_year); tm_year 3201 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->year = cpu_to_le16(tm.tm_year + 1900); tm_year 3217 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->end_year = cpu_to_le16(tm.tm_year + 1900); tm_year 163 drivers/platform/chrome/cros_usbpd_logger.c rt.tm_year + 1900, rt.tm_mon + 1, rt.tm_mday, tm_year 300 drivers/rtc/dev.c alarm.time.tm_year = tm.tm_year; tm_year 311 drivers/rtc/dev.c alarm.time.tm_year = tm.tm_year; tm_year 199 drivers/rtc/interface.c alarm->time.tm_year = -1; tm_year 291 drivers/rtc/interface.c before.tm_year != now.tm_year); tm_year 313 drivers/rtc/interface.c if (alarm->time.tm_year == -1) { tm_year 314 drivers/rtc/interface.c alarm->time.tm_year = now.tm_year; tm_year 356 drivers/rtc/interface.c alarm->time.tm_year++; tm_year 359 drivers/rtc/interface.c alarm->time.tm_year); tm_year 367 drivers/rtc/interface.c alarm->time.tm_year++; tm_year 368 drivers/rtc/interface.c } while (!is_leap_year(alarm->time.tm_year + 1900) && tm_year 68 drivers/rtc/lib.c tm->tm_year = year - 1900; tm_year 96 drivers/rtc/lib.c if (tm->tm_year < 70 || tm_year 97 drivers/rtc/lib.c tm->tm_year > (INT_MAX - 1900) || tm_year 101 drivers/rtc/lib.c ((unsigned int)tm->tm_year + 1900)) || tm_year 117 drivers/rtc/lib.c return mktime64(((unsigned int)tm->tm_year + 1900), tm->tm_mon + 1, tm_year 82 drivers/rtc/rtc-88pm80x.c next->tm_year = now->tm_year; tm_year 89 drivers/rtc/rtc-88pm860x.c next->tm_year = now->tm_year; tm_year 137 drivers/rtc/rtc-88pm860x.c if (tm->tm_year > 206) { tm_year 140 drivers/rtc/rtc-88pm860x.c 1900 + tm->tm_year); tm_year 363 drivers/rtc/rtc-88pm860x.c if ((tm.tm_year < 70) || (tm.tm_year > 138)) { tm_year 364 drivers/rtc/rtc-88pm860x.c tm.tm_year = 70; tm_year 243 drivers/rtc/rtc-ab-b5ze-s3.c tm->tm_year = bcd2bin(regs[ABB5ZES3_REG_RTC_YR]) + 100; tm_year 260 drivers/rtc/rtc-ab-b5ze-s3.c regs[ABB5ZES3_REG_RTC_YR] = bin2bcd(tm->tm_year - 100); tm_year 383 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_year = rtc_tm.tm_year; tm_year 392 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_year += 1; tm_year 462 drivers/rtc/rtc-ab-b5ze-s3.c rtc_tm.tm_year += 1; tm_year 157 drivers/rtc/rtc-ab-eoz9.c tm->tm_year = bcd2bin(regs[ABEOZ9_REG_YEARS - ABEOZ9_REG_SEC]) + 100; tm_year 175 drivers/rtc/rtc-ab-eoz9.c regs[ABEOZ9_REG_YEARS - ABEOZ9_REG_SEC] = bin2bcd(tm->tm_year - 100); tm_year 195 drivers/rtc/rtc-abx80x.c tm->tm_year = bcd2bin(buf[ABX8XX_REG_YR]) + 100; tm_year 206 drivers/rtc/rtc-abx80x.c if (tm->tm_year < 100) tm_year 215 drivers/rtc/rtc-abx80x.c buf[ABX8XX_REG_YR] = bin2bcd(tm->tm_year - 100); tm_year 401 drivers/rtc/rtc-ac100.c rtc_tm->tm_year = bcd2bin(reg[6] & AC100_RTC_YEA_MASK) + tm_year 415 drivers/rtc/rtc-ac100.c year = rtc_tm->tm_year - AC100_YEAR_OFF; tm_year 476 drivers/rtc/rtc-ac100.c alrm_tm->tm_year = bcd2bin(reg[6] & AC100_ALM_YEA_MASK) + tm_year 492 drivers/rtc/rtc-ac100.c year = alrm_tm->tm_year - AC100_YEAR_OFF; tm_year 40 drivers/rtc/rtc-as3722.c rbuff[5] = bin2bcd(tm->tm_year - (AS3722_RTC_START_YEAR - 1900)); tm_year 50 drivers/rtc/rtc-as3722.c tm->tm_year = (AS3722_RTC_START_YEAR - 1900) + bcd2bin(rbuff[5] & 0x7F); tm_year 78 drivers/rtc/rtc-as3722.c if (tm->tm_year < (AS3722_RTC_START_YEAR - 1900)) tm_year 129 drivers/rtc/rtc-as3722.c if (alrm->time.tm_year < (AS3722_RTC_START_YEAR - 1900)) tm_year 162 drivers/rtc/rtc-asm9260.c tm->tm_year = (ctime1 >> BM_CTIME1_YEAR_S) & BM_CTIME1_YEAR_M; tm_year 179 drivers/rtc/rtc-asm9260.c iowrite32(tm->tm_year, priv->iobase + HW_YEAR); tm_year 195 drivers/rtc/rtc-asm9260.c alrm->time.tm_year = ioread32(priv->iobase + HW_ALYEAR); tm_year 214 drivers/rtc/rtc-asm9260.c iowrite32(alrm->time.tm_year, priv->iobase + HW_ALYEAR); tm_year 46 drivers/rtc/rtc-aspeed.c tm->tm_year = year + (cent * 100) - 1900; tm_year 59 drivers/rtc/rtc-aspeed.c cent = (tm->tm_year + 1900) / 100; tm_year 60 drivers/rtc/rtc-aspeed.c year = tm->tm_year % 100; tm_year 128 drivers/rtc/rtc-at91rm9200.c tm->tm_year = bcd2bin(date & AT91_RTC_CENT) * 100; /* century */ tm_year 129 drivers/rtc/rtc-at91rm9200.c tm->tm_year += bcd2bin((date & AT91_RTC_YEAR) >> 8); /* year */ tm_year 142 drivers/rtc/rtc-at91rm9200.c tm->tm_yday = rtc_year_days(tm->tm_mday, tm->tm_mon, tm->tm_year); tm_year 143 drivers/rtc/rtc-at91rm9200.c tm->tm_year = tm->tm_year - 1900; tm_year 175 drivers/rtc/rtc-at91rm9200.c bin2bcd((tm->tm_year + 1900) / 100) /* century */ tm_year 176 drivers/rtc/rtc-at91rm9200.c | bin2bcd(tm->tm_year % 100) << 8 /* year */ tm_year 198 drivers/rtc/rtc-at91rm9200.c tm->tm_year = -1; tm_year 193 drivers/rtc/rtc-bd70528.c r->year = bin2bcd(t->tm_year - 100); tm_year 212 drivers/rtc/rtc-bd70528.c t->tm_year = 100 + bcd2bin(r->year & BD70528_MASK_RTC_YEAR); tm_year 281 drivers/rtc/rtc-bd70528.c a->time.tm_year = -1; tm_year 111 drivers/rtc/rtc-bq32k.c tm->tm_year = bcd2bin(regs.years) + tm_year 128 drivers/rtc/rtc-bq32k.c if (tm->tm_year >= 100) { tm_year 130 drivers/rtc/rtc-bq32k.c regs.years = bin2bcd(tm->tm_year - 100); tm_year 132 drivers/rtc/rtc-bq32k.c regs.years = bin2bcd(tm->tm_year); tm_year 67 drivers/rtc/rtc-bq4802.c tm->tm_year = p->read(p, 0x0a); tm_year 80 drivers/rtc/rtc-bq4802.c tm->tm_year = bcd2bin(tm->tm_year); tm_year 84 drivers/rtc/rtc-bq4802.c tm->tm_year += (century * 100); tm_year 85 drivers/rtc/rtc-bq4802.c tm->tm_year -= 1900; tm_year 99 drivers/rtc/rtc-bq4802.c year = tm->tm_year + 1900; tm_year 143 drivers/rtc/rtc-cadence.c tm->tm_year = bcd2bin(FIELD_GET(CDNS_RTC_CAL_Y, reg)) tm_year 156 drivers/rtc/rtc-cadence.c int year = tm->tm_year + 1900; tm_year 406 drivers/rtc/rtc-cmos.c max_date.tm_year += 1; tm_year 410 drivers/rtc/rtc-cmos.c max_mday = rtc_month_days(max_date.tm_mon, max_date.tm_year); tm_year 428 drivers/rtc/rtc-cmos.c max_date.tm_year += 1; tm_year 429 drivers/rtc/rtc-cmos.c max_mday = rtc_month_days(max_date.tm_mon, max_date.tm_year); tm_year 78 drivers/rtc/rtc-da9052.c rtc_tm->tm_year = (v[0][4] & DA9052_RTC_YEAR) + 100; tm_year 116 drivers/rtc/rtc-da9052.c rtc_tm->tm_year -= 100; tm_year 135 drivers/rtc/rtc-da9052.c DA9052_RTC_YEAR, rtc_tm->tm_year); tm_year 178 drivers/rtc/rtc-da9052.c rtc_tm->tm_year = (v[0][5] & DA9052_RTC_YEAR) + 100; tm_year 205 drivers/rtc/rtc-da9052.c if ((tm->tm_year < 100) || (tm->tm_year > 163)) tm_year 215 drivers/rtc/rtc-da9052.c v[5] = tm->tm_year - 100; tm_year 246 drivers/rtc/rtc-da9052.c if ((tm->tm_year < 100) || (tm->tm_year > 163)) tm_year 67 drivers/rtc/rtc-da9055.c rtc_tm->tm_year = (v[4] & DA9055_RTC_ALM_YEAR) + 100; tm_year 82 drivers/rtc/rtc-da9055.c rtc_tm->tm_year -= 100; tm_year 105 drivers/rtc/rtc-da9055.c DA9055_RTC_ALM_YEAR, rtc_tm->tm_year); tm_year 149 drivers/rtc/rtc-da9055.c rtc_tm->tm_year = (v[5] & DA9055_RTC_YEAR) + 100; tm_year 171 drivers/rtc/rtc-da9055.c v[5] = tm->tm_year - 100; tm_year 177 drivers/rtc/rtc-da9063.c tm->tm_year = YEARS_FROM_DA9063(data[RTC_YEAR] & tm_year 192 drivers/rtc/rtc-da9063.c data[RTC_YEAR] = YEARS_TO_DA9063(tm->tm_year) & tm_year 244 drivers/rtc/rtc-davinci.c tm->tm_year = year - 1900; tm_year 262 drivers/rtc/rtc-davinci.c if (tm->tm_year < 100 || tm->tm_year > 199) tm_year 265 drivers/rtc/rtc-davinci.c for (i = 2000; i < 1900 + tm->tm_year; i++) tm_year 268 drivers/rtc/rtc-davinci.c *days += rtc_year_days(tm->tm_mday, tm->tm_mon, 1900 + tm->tm_year); tm_year 417 drivers/rtc/rtc-davinci.c && alm->time.tm_year < 0) { tm_year 426 drivers/rtc/rtc-davinci.c alm->time.tm_year = tm.tm_year; tm_year 433 drivers/rtc/rtc-davinci.c alm->time.tm_year = tm.tm_year; tm_year 98 drivers/rtc/rtc-ds1216.c tm->tm_year = bcd2bin(regs.year); tm_year 99 drivers/rtc/rtc-ds1216.c if (tm->tm_year < 70) tm_year 100 drivers/rtc/rtc-ds1216.c tm->tm_year += 100; tm_year 126 drivers/rtc/rtc-ds1216.c regs.year = bin2bcd(tm->tm_year % 100); tm_year 186 drivers/rtc/rtc-ds1286.c tm->tm_year = ds1286_rtc_read(priv, RTC_YEAR); tm_year 196 drivers/rtc/rtc-ds1286.c tm->tm_year = bcd2bin(tm->tm_year); tm_year 202 drivers/rtc/rtc-ds1286.c if (tm->tm_year < 45) tm_year 203 drivers/rtc/rtc-ds1286.c tm->tm_year += 30; tm_year 204 drivers/rtc/rtc-ds1286.c tm->tm_year += 40; tm_year 205 drivers/rtc/rtc-ds1286.c if (tm->tm_year < 70) tm_year 206 drivers/rtc/rtc-ds1286.c tm->tm_year += 100; tm_year 221 drivers/rtc/rtc-ds1286.c yrs = tm->tm_year + 1900; tm_year 66 drivers/rtc/rtc-ds1302.c *bp++ = bin2bcd(time->tm_year % 100); tm_year 96 drivers/rtc/rtc-ds1302.c time->tm_year = bcd2bin(buf[RTC_ADDR_YEAR]) + 100; tm_year 194 drivers/rtc/rtc-ds1305.c time->tm_year = bcd2bin(buf[DS1305_YEAR]) + 100; tm_year 200 drivers/rtc/rtc-ds1305.c time->tm_mon, time->tm_year, time->tm_wday); tm_year 215 drivers/rtc/rtc-ds1305.c time->tm_mon, time->tm_year, time->tm_wday); tm_year 226 drivers/rtc/rtc-ds1305.c *bp++ = bin2bcd(time->tm_year - 100); tm_year 272 drivers/rtc/rtc-ds1307.c t->tm_year = bcd2bin(regs[DS1307_REG_YEAR]) + 100; tm_year 276 drivers/rtc/rtc-ds1307.c t->tm_year += 100; tm_year 282 drivers/rtc/rtc-ds1307.c t->tm_mon, t->tm_year, t->tm_wday); tm_year 299 drivers/rtc/rtc-ds1307.c t->tm_mon, t->tm_year, t->tm_wday); tm_year 301 drivers/rtc/rtc-ds1307.c if (t->tm_year < 100) tm_year 305 drivers/rtc/rtc-ds1307.c if (t->tm_year > (chip->century_bit ? 299 : 199)) tm_year 308 drivers/rtc/rtc-ds1307.c if (t->tm_year > 199) tm_year 320 drivers/rtc/rtc-ds1307.c tmp = t->tm_year - 100; tm_year 325 drivers/rtc/rtc-ds1307.c if (t->tm_year > 199 && chip->century_bit) tm_year 574 drivers/rtc/rtc-ds1307.c t->time.tm_year = -1; tm_year 710 drivers/rtc/rtc-ds1307.c t->time.tm_year = -1; tm_year 251 drivers/rtc/rtc-ds1343.c dt->tm_year = bcd2bin(buf[6]) + 100; /* year offset from 1900 */ tm_year 291 drivers/rtc/rtc-ds1343.c dt->tm_year %= 100; tm_year 294 drivers/rtc/rtc-ds1343.c bin2bcd(dt->tm_year)); tm_year 63 drivers/rtc/rtc-ds1347.c dt->tm_year = bcd2bin(buf[6]) + 100; tm_year 85 drivers/rtc/rtc-ds1347.c dt->tm_year = dt->tm_year % 100; tm_year 87 drivers/rtc/rtc-ds1347.c buf[6] = bin2bcd(dt->tm_year); tm_year 151 drivers/rtc/rtc-ds1390.c dt->tm_year = bcd2bin(chip->txrx_buf[6]) + ((chip->txrx_buf[5] & 0x80) ? 100 : 0); tm_year 169 drivers/rtc/rtc-ds1390.c ((dt->tm_year > 99) ? 0x80 : 0x00); tm_year 170 drivers/rtc/rtc-ds1390.c chip->txrx_buf[7] = bin2bcd(dt->tm_year % 100); tm_year 188 drivers/rtc/rtc-ds1511.c if (rtc_tm->tm_year < 1900) tm_year 189 drivers/rtc/rtc-ds1511.c rtc_tm->tm_year += 1900; tm_year 191 drivers/rtc/rtc-ds1511.c if (rtc_tm->tm_year < 1970) tm_year 194 drivers/rtc/rtc-ds1511.c yrs = rtc_tm->tm_year % 100; tm_year 195 drivers/rtc/rtc-ds1511.c cen = rtc_tm->tm_year / 100; tm_year 206 drivers/rtc/rtc-ds1511.c if (day > rtc_month_days(rtc_tm->tm_mon, rtc_tm->tm_year)) tm_year 253 drivers/rtc/rtc-ds1511.c rtc_tm->tm_year = rtc_read(RTC_YEAR) & 0x7f; tm_year 265 drivers/rtc/rtc-ds1511.c rtc_tm->tm_year = bcd2bin(rtc_tm->tm_year); tm_year 272 drivers/rtc/rtc-ds1511.c century += rtc_tm->tm_year; tm_year 273 drivers/rtc/rtc-ds1511.c rtc_tm->tm_year = century - 1900; tm_year 77 drivers/rtc/rtc-ds1553.c century = bin2bcd((tm->tm_year + 1900) / 100); tm_year 81 drivers/rtc/rtc-ds1553.c writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); tm_year 123 drivers/rtc/rtc-ds1553.c tm->tm_year = bcd2bin(year) + bcd2bin(century) * 100 - 1900; tm_year 265 drivers/rtc/rtc-ds1685.c tm->tm_year = ((years + (century * 100)) - 1900); tm_year 266 drivers/rtc/rtc-ds1685.c tm->tm_yday = rtc_year_days(tm->tm_mday, tm->tm_mon, tm->tm_year); tm_year 296 drivers/rtc/rtc-ds1685.c years = ds1685_rtc_bin2bcd(rtc, (tm->tm_year % 100), tm_year 298 drivers/rtc/rtc-ds1685.c century = ds1685_rtc_bin2bcd(rtc, ((tm->tm_year + 1900) / 100), tm_year 310 drivers/rtc/rtc-ds1685.c if (tm->tm_mday > rtc_month_days(tm->tm_mon, tm->tm_year)) tm_year 455 drivers/rtc/rtc-ds1685.c alrm->time.tm_year = -1; tm_year 62 drivers/rtc/rtc-ds1742.c century = bin2bcd((tm->tm_year + 1900) / 100); tm_year 66 drivers/rtc/rtc-ds1742.c writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); tm_year 108 drivers/rtc/rtc-ds1742.c tm->tm_year = bcd2bin(year) + bcd2bin(century) * 100 - 1900; tm_year 146 drivers/rtc/rtc-ds3232.c time->tm_year = bcd2bin(year) + add_century; tm_year 166 drivers/rtc/rtc-ds3232.c if (time->tm_year >= 100) { tm_year 168 drivers/rtc/rtc-ds3232.c buf[6] = bin2bcd(time->tm_year - 100); tm_year 170 drivers/rtc/rtc-ds3232.c buf[6] = bin2bcd(time->tm_year); tm_year 55 drivers/rtc/rtc-efi.c eft->year = wtime->tm_year + 1900; tm_year 93 drivers/rtc/rtc-efi.c wtime->tm_year = eft->year - 1900; tm_year 75 drivers/rtc/rtc-em3027.c tm->tm_year = bcd2bin(buf[6]) + 100; tm_year 98 drivers/rtc/rtc-em3027.c buf[7] = bin2bcd(tm->tm_year % 100); tm_year 127 drivers/rtc/rtc-fm3130.c t->tm_year = bcd2bin(fm3130->regs[FM3130_RTC_YEARS]) + 100; tm_year 133 drivers/rtc/rtc-fm3130.c t->tm_mon, t->tm_year, t->tm_wday); tm_year 149 drivers/rtc/rtc-fm3130.c t->tm_mon, t->tm_year, t->tm_wday); tm_year 160 drivers/rtc/rtc-fm3130.c tmp = t->tm_year - 100; tm_year 224 drivers/rtc/rtc-fm3130.c tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 249 drivers/rtc/rtc-fm3130.c tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 91 drivers/rtc/rtc-hid-sensor-time.c time_buf->tm_year = *(u8 *)raw_data; tm_year 92 drivers/rtc/rtc-hid-sensor-time.c if (time_buf->tm_year < 70) tm_year 94 drivers/rtc/rtc-hid-sensor-time.c time_buf->tm_year += 100; tm_year 96 drivers/rtc/rtc-hid-sensor-time.c time_buf->tm_year = tm_year 113 drivers/rtc/rtc-hym8563.c tm->tm_year = bcd2bin(buf[6]) + 100; tm_year 126 drivers/rtc/rtc-hym8563.c if (tm->tm_year < 100 || tm->tm_year >= 200) tm_year 141 drivers/rtc/rtc-hym8563.c buf[6] = bin2bcd(tm->tm_year - 100); tm_year 70 drivers/rtc/rtc-imx-sc.c ((tm->tm_year + 1900) << 16) | (tm->tm_mon + 1), tm_year 105 drivers/rtc/rtc-imx-sc.c msg.year = alrm_tm->tm_year + 1900; tm_year 142 drivers/rtc/rtc-isl12022.c tm->tm_year = bcd2bin(buf[ISL12022_REG_YR]) + 100; tm_year 148 drivers/rtc/rtc-isl12022.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 165 drivers/rtc/rtc-isl12022.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 215 drivers/rtc/rtc-isl12022.c buf[ISL12022_REG_YR] = bin2bcd(tm->tm_year % 100); tm_year 189 drivers/rtc/rtc-isl12026.c op[7] = bin2bcd(tm->tm_year % 100); /* YR */ tm_year 191 drivers/rtc/rtc-isl12026.c op[9] = bin2bcd(tm->tm_year >= 100 ? 20 : 19); /* Y2K */ tm_year 263 drivers/rtc/rtc-isl12026.c tm->tm_year = bcd2bin(ccr[5]); tm_year 265 drivers/rtc/rtc-isl12026.c tm->tm_year += 100; tm_year 340 drivers/rtc/rtc-isl1208.c tm->tm_year = bcd2bin(regs[ISL1208_REG_YR]) + 100; tm_year 381 drivers/rtc/rtc-isl1208.c tm->tm_year = bcd2bin(yr) + 100; tm_year 454 drivers/rtc/rtc-isl1208.c if (tm->tm_year < 100) tm_year 463 drivers/rtc/rtc-isl1208.c regs[ISL1208_REG_YR] = bin2bcd(tm->tm_year - 100); tm_year 579 drivers/rtc/rtc-isl1208.c tm.tm_year = bcd2bin(regs[ISL1219_REG_YRT - ISL1219_REG_SCT]) + 100; tm_year 127 drivers/rtc/rtc-lp8788.c tm->tm_year = data[LPTIME_YEAR] + LP8788_BASE_YEAR - 1900; tm_year 140 drivers/rtc/rtc-lp8788.c year = tm->tm_year + 1900 - LP8788_BASE_YEAR; tm_year 181 drivers/rtc/rtc-lp8788.c tm->tm_year = data[LPTIME_YEAR] + LP8788_BASE_YEAR - 1900; tm_year 196 drivers/rtc/rtc-lp8788.c year = tm->tm_year + 1900 - LP8788_BASE_YEAR; tm_year 83 drivers/rtc/rtc-lpc24xx.c rtc_writel(rtc, LPC24XX_YEAR, tm->tm_year); tm_year 105 drivers/rtc/rtc-lpc24xx.c tm->tm_year = CT1_YEAR(ct1); tm_year 123 drivers/rtc/rtc-lpc24xx.c tm->tm_year = rtc_readl(rtc, LPC24XX_ALYEAR); tm_year 146 drivers/rtc/rtc-lpc24xx.c rtc_writel(rtc, LPC24XX_ALYEAR, tm->tm_year); tm_year 123 drivers/rtc/rtc-ls1x.c t = rtm->tm_year + 1900; tm_year 227 drivers/rtc/rtc-m41t80.c tm->tm_year = bcd2bin(buf[M41T80_REG_YEAR]) + 100; tm_year 238 drivers/rtc/rtc-m41t80.c if (tm->tm_year < 100 || tm->tm_year > 199) tm_year 247 drivers/rtc/rtc-m41t80.c buf[M41T80_REG_YEAR] = bin2bcd(tm->tm_year - 100); tm_year 56 drivers/rtc/rtc-m41t93.c tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 58 drivers/rtc/rtc-m41t93.c if (tm->tm_year < 100) { tm_year 91 drivers/rtc/rtc-m41t93.c ((tm->tm_year/100-1) << 6); tm_year 95 drivers/rtc/rtc-m41t93.c data[M41T93_REG_YEAR] = bin2bcd(tm->tm_year % 100); tm_year 151 drivers/rtc/rtc-m41t93.c tm->tm_year = bcd2bin(buf[M41T93_REG_YEAR]) + century_after_1900 * 100; tm_year 157 drivers/rtc/rtc-m41t93.c tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 38 drivers/rtc/rtc-m41t94.c tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 49 drivers/rtc/rtc-m41t94.c if (tm->tm_year >= 100) tm_year 51 drivers/rtc/rtc-m41t94.c buf[M41T94_REG_YEAR] = bin2bcd(tm->tm_year % 100); tm_year 89 drivers/rtc/rtc-m41t94.c tm->tm_year = bcd2bin(spi_w8r8(spi, M41T94_REG_YEAR)); tm_year 91 drivers/rtc/rtc-m41t94.c tm->tm_year += 100; tm_year 97 drivers/rtc/rtc-m41t94.c tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 63 drivers/rtc/rtc-m48t35.c tm->tm_year = readb(&priv->reg->year); tm_year 72 drivers/rtc/rtc-m48t35.c tm->tm_year = bcd2bin(tm->tm_year); tm_year 78 drivers/rtc/rtc-m48t35.c tm->tm_year += 70; tm_year 79 drivers/rtc/rtc-m48t35.c if (tm->tm_year <= 69) tm_year 80 drivers/rtc/rtc-m48t35.c tm->tm_year += 100; tm_year 93 drivers/rtc/rtc-m48t35.c yrs = tm->tm_year + 1900; tm_year 74 drivers/rtc/rtc-m48t59.c tm->tm_year = bcd2bin(M48T59_READ(M48T59_YEAR)); tm_year 83 drivers/rtc/rtc-m48t59.c tm->tm_year += 100; /* one century */ tm_year 87 drivers/rtc/rtc-m48t59.c tm->tm_year += 68; tm_year 109 drivers/rtc/rtc-m48t59.c int year = tm->tm_year; tm_year 165 drivers/rtc/rtc-m48t59.c tm->tm_year = bcd2bin(M48T59_READ(M48T59_YEAR)); tm_year 168 drivers/rtc/rtc-m48t59.c tm->tm_year += 68; tm_year 175 drivers/rtc/rtc-m48t59.c tm->tm_year += 100; /* one century */ tm_year 200 drivers/rtc/rtc-m48t59.c int year = tm->tm_year; tm_year 80 drivers/rtc/rtc-m48t86.c tm->tm_year = m48t86_readb(dev, M48T86_YEAR) + 100; tm_year 91 drivers/rtc/rtc-m48t86.c tm->tm_year = bcd2bin(m48t86_readb(dev, M48T86_YEAR)) + 100; tm_year 120 drivers/rtc/rtc-m48t86.c m48t86_writeb(dev, tm->tm_year % 100, M48T86_YEAR); tm_year 129 drivers/rtc/rtc-m48t86.c m48t86_writeb(dev, bin2bcd(tm->tm_year % 100), M48T86_YEAR); tm_year 157 drivers/rtc/rtc-max6900.c tm->tm_year = bcd2bin(regs[MAX6900_REG_YR]) + tm_year 185 drivers/rtc/rtc-max6900.c regs[MAX6900_REG_YR] = bin2bcd(tm->tm_year % 100); tm_year 186 drivers/rtc/rtc-max6900.c regs[MAX6900_REG_CENTURY] = bin2bcd((tm->tm_year + 1900) / 100); tm_year 72 drivers/rtc/rtc-max6902.c dt->tm_year = bcd2bin(buf[6]); tm_year 81 drivers/rtc/rtc-max6902.c dt->tm_year += century; tm_year 82 drivers/rtc/rtc-max6902.c dt->tm_year -= 1900; tm_year 89 drivers/rtc/rtc-max6902.c dt->tm_year = dt->tm_year + 1900; tm_year 101 drivers/rtc/rtc-max6902.c max6902_set_reg(dev, MAX6902_REG_YEAR, bin2bcd(dt->tm_year % 100)); tm_year 102 drivers/rtc/rtc-max6902.c max6902_set_reg(dev, MAX6902_REG_CENTURY, bin2bcd(dt->tm_year / 100)); tm_year 72 drivers/rtc/rtc-max6916.c dt->tm_year = bcd2bin(buf[6]) + 100; tm_year 82 drivers/rtc/rtc-max6916.c if (dt->tm_year < 100 || dt->tm_year > 199) { tm_year 84 drivers/rtc/rtc-max6916.c dt->tm_year + 1900); tm_year 95 drivers/rtc/rtc-max6916.c buf[7] = bin2bcd(dt->tm_year % 100); tm_year 275 drivers/rtc/rtc-max77686.c tm->tm_year = data[RTC_YEAR] & mask; tm_year 284 drivers/rtc/rtc-max77686.c tm->tm_year += 100; tm_year 298 drivers/rtc/rtc-max77686.c data[RTC_YEAR] = tm->tm_year; tm_year 302 drivers/rtc/rtc-max77686.c data[RTC_YEAR] = tm->tm_year > 100 ? (tm->tm_year - 100) : 0; tm_year 304 drivers/rtc/rtc-max77686.c if (tm->tm_year < 100) { tm_year 306 drivers/rtc/rtc-max77686.c 1900 + tm->tm_year); tm_year 60 drivers/rtc/rtc-max8907.c tm->tm_year = bcd2bin(regs[RTC_YEAR2]) * 100 + tm_year 82 drivers/rtc/rtc-max8907.c high = (tm->tm_year + 1900) / 100; tm_year 83 drivers/rtc/rtc-max8907.c low = tm->tm_year % 100; tm_year 86 drivers/rtc/rtc-max8925.c tm->tm_year = (buf[RTC_YEAR2] >> 4) * 1000 tm_year 90 drivers/rtc/rtc-max8925.c tm->tm_year -= 1900; tm_year 118 drivers/rtc/rtc-max8925.c high = (tm->tm_year + 1900) / 1000; tm_year 119 drivers/rtc/rtc-max8925.c low = (tm->tm_year + 1900) / 100; tm_year 122 drivers/rtc/rtc-max8925.c high = (tm->tm_year + 1900) / 10; tm_year 123 drivers/rtc/rtc-max8925.c low = tm->tm_year + 1900; tm_year 90 drivers/rtc/rtc-max8997.c tm->tm_year = (data[RTC_YEAR] & 0x7f) + 100; tm_year 103 drivers/rtc/rtc-max8997.c data[RTC_YEAR] = tm->tm_year > 100 ? (tm->tm_year - 100) : 0; tm_year 105 drivers/rtc/rtc-max8997.c if (tm->tm_year < 100) { tm_year 107 drivers/rtc/rtc-max8997.c 1900 + tm->tm_year); tm_year 89 drivers/rtc/rtc-max8998.c tm->tm_year = bcd2bin(data[RTC_YEAR1]) + bcd2bin(data[RTC_YEAR2]) * 100; tm_year 90 drivers/rtc/rtc-max8998.c tm->tm_year -= 1900; tm_year 101 drivers/rtc/rtc-max8998.c data[RTC_YEAR1] = bin2bcd(tm->tm_year % 100); tm_year 102 drivers/rtc/rtc-max8998.c data[RTC_YEAR2] = bin2bcd((tm->tm_year + 1900) / 100); tm_year 59 drivers/rtc/rtc-mc146818-lib.c time->tm_year = CMOS_READ(RTC_YEAR); tm_year 78 drivers/rtc/rtc-mc146818-lib.c time->tm_year = bcd2bin(time->tm_year); tm_year 83 drivers/rtc/rtc-mc146818-lib.c time->tm_year += real_year - 72; tm_year 87 drivers/rtc/rtc-mc146818-lib.c time->tm_year += (century - 19) * 100; tm_year 93 drivers/rtc/rtc-mc146818-lib.c if (time->tm_year <= 69) tm_year 94 drivers/rtc/rtc-mc146818-lib.c time->tm_year += 100; tm_year 114 drivers/rtc/rtc-mc146818-lib.c yrs = time->tm_year; tm_year 207 drivers/rtc/rtc-mcp795.c if (tim->tm_year > 100) tm_year 208 drivers/rtc/rtc-mcp795.c tim->tm_year -= 100; tm_year 210 drivers/rtc/rtc-mcp795.c data[6] = bin2bcd(tim->tm_year); tm_year 253 drivers/rtc/rtc-mcp795.c tim->tm_year = bcd2bin(data[6]) + 100; /* Assume we are in 20xx */ tm_year 279 drivers/rtc/rtc-mcp795.c (SEC_PER_DAY * (365 + is_leap_year(alm->time.tm_year)))) tm_year 290 drivers/rtc/rtc-mcp795.c alm->time.tm_year = -1; tm_year 335 drivers/rtc/rtc-mcp795.c alm->time.tm_year = -1; tm_year 150 drivers/rtc/rtc-moxart.c (((tm->tm_year - 100) / 10) << 4) | tm_year 151 drivers/rtc/rtc-moxart.c ((tm->tm_year - 100) % 10)); tm_year 179 drivers/rtc/rtc-moxart.c __func__, tm->tm_year, tm->tm_mon, tm->tm_mday, tm_year 218 drivers/rtc/rtc-moxart.c tm->tm_year = (((v & 0xF0) >> 4) * 10) + (v & 0x0F); tm_year 219 drivers/rtc/rtc-moxart.c tm->tm_year += 100; tm_year 220 drivers/rtc/rtc-moxart.c if (tm->tm_year <= 69) tm_year 221 drivers/rtc/rtc-moxart.c tm->tm_year += 100; tm_year 228 drivers/rtc/rtc-moxart.c if (!(tm->tm_year % 4) && (tm->tm_year % 100)) tm_year 168 drivers/rtc/rtc-mpc5121.c tm->tm_year = in_be16(®s->year) - 1900; tm_year 170 drivers/rtc/rtc-mpc5121.c tm->tm_yday = rtc_year_days(tm->tm_mday, tm->tm_mon, tm->tm_year); tm_year 187 drivers/rtc/rtc-mpc5121.c out_be16(®s->year_set, tm->tm_year + 1900); tm_year 231 drivers/rtc/rtc-mpc5121.c alarm->time.tm_year = -1; tm_year 97 drivers/rtc/rtc-mrst.c time->tm_year = vrtc_cmos_read(RTC_YEAR); tm_year 101 drivers/rtc/rtc-mrst.c time->tm_year += 72; tm_year 113 drivers/rtc/rtc-mrst.c yrs = time->tm_year; tm_year 144 drivers/rtc/rtc-msm6242.c tm->tm_year = msm6242_read(priv, MSM6242_YEAR10) * 10 + tm_year 146 drivers/rtc/rtc-msm6242.c if (tm->tm_year <= 69) tm_year 147 drivers/rtc/rtc-msm6242.c tm->tm_year += 100; tm_year 187 drivers/rtc/rtc-msm6242.c if (tm->tm_year >= 100) tm_year 188 drivers/rtc/rtc-msm6242.c tm->tm_year -= 100; tm_year 189 drivers/rtc/rtc-msm6242.c msm6242_write(priv, tm->tm_year / 10, MSM6242_YEAR10); tm_year 190 drivers/rtc/rtc-msm6242.c msm6242_write(priv, tm->tm_year % 10, MSM6242_YEAR1); tm_year 141 drivers/rtc/rtc-mt6397.c tm->tm_year = data[RTC_OFFSET_YEAR]; tm_year 165 drivers/rtc/rtc-mt6397.c tm->tm_year += RTC_MIN_YEAR_OFFSET; tm_year 187 drivers/rtc/rtc-mt6397.c tm->tm_year -= RTC_MIN_YEAR_OFFSET; tm_year 195 drivers/rtc/rtc-mt6397.c data[RTC_OFFSET_YEAR] = tm->tm_year; tm_year 241 drivers/rtc/rtc-mt6397.c tm->tm_year = data[RTC_OFFSET_YEAR] & RTC_AL_YEA_MASK; tm_year 243 drivers/rtc/rtc-mt6397.c tm->tm_year += RTC_MIN_YEAR_OFFSET; tm_year 259 drivers/rtc/rtc-mt6397.c tm->tm_year -= RTC_MIN_YEAR_OFFSET; tm_year 279 drivers/rtc/rtc-mt6397.c (tm->tm_year & RTC_AL_YEA_MASK)); tm_year 181 drivers/rtc/rtc-mt7622.c tm->tm_year = year + MTK_RTC_TM_YR_OFFSET; tm_year 190 drivers/rtc/rtc-mt7622.c year = tm->tm_year - MTK_RTC_TM_YR_OFFSET; tm_year 233 drivers/rtc/rtc-mt7622.c if (!MTK_RTC_TM_YR_VALID(tm->tm_year)) tm_year 265 drivers/rtc/rtc-mt7622.c if (!MTK_RTC_TM_YR_VALID(alrm_tm->tm_year)) tm_year 60 drivers/rtc/rtc-mv.c (bin2bcd(tm->tm_year - 100) << RTC_YEAR_OFFS); tm_year 92 drivers/rtc/rtc-mv.c tm->tm_year = bcd2bin(year) + 100; tm_year 123 drivers/rtc/rtc-mv.c alm->time.tm_year = bcd2bin(year) + 100; tm_year 158 drivers/rtc/rtc-mv.c if (alm->time.tm_year >= 0) tm_year 159 drivers/rtc/rtc-mv.c rtc_reg |= (RTC_ALARM_VALID | bin2bcd(alm->time.tm_year - 100)) tm_year 350 drivers/rtc/rtc-mxc.c rtc->start_secs = mktime64(tm.tm_year, 1, 1, 0, 0, 0); tm_year 278 drivers/rtc/rtc-omap.c tm->tm_year = bin2bcd(tm->tm_year - 100); tm_year 289 drivers/rtc/rtc-omap.c tm->tm_year = bcd2bin(tm->tm_year) + 100; tm_year 299 drivers/rtc/rtc-omap.c tm->tm_year = rtc_read(rtc, OMAP_RTC_YEARS_REG); tm_year 327 drivers/rtc/rtc-omap.c rtc_write(rtc, OMAP_RTC_YEARS_REG, tm->tm_year); tm_year 353 drivers/rtc/rtc-omap.c alm->time.tm_year = rtc_read(rtc, OMAP_RTC_ALARM_YEARS_REG); tm_year 376 drivers/rtc/rtc-omap.c rtc_write(rtc, OMAP_RTC_ALARM_YEARS_REG, alm->time.tm_year); tm_year 444 drivers/rtc/rtc-omap.c rtc_write(rtc, OMAP_RTC_ALARM2_YEARS_REG, tm.tm_year); tm_year 23 drivers/rtc/rtc-opal.c tm->tm_year = ((bcd2bin(y_m_d >> 24) * 100) + tm_year 36 drivers/rtc/rtc-opal.c *y_m_d |= ((u32)bin2bcd((tm->tm_year + 1900) / 100)) << 24; tm_year 37 drivers/rtc/rtc-opal.c *y_m_d |= ((u32)bin2bcd((tm->tm_year + 1900) % 100)) << 16; tm_year 74 drivers/rtc/rtc-palmas.c tm->tm_year = bcd2bin(rtc_data[5]) + 100; tm_year 90 drivers/rtc/rtc-palmas.c rtc_data[5] = bin2bcd(tm->tm_year - 100); tm_year 145 drivers/rtc/rtc-palmas.c alm->time.tm_year = bcd2bin(alarm_data[5]) + 100; tm_year 176 drivers/rtc/rtc-palmas.c alarm_data[5] = bin2bcd(alm->time.tm_year - 100); tm_year 197 drivers/rtc/rtc-pcf2123.c tm->tm_year = bcd2bin(rxbuf[6]) + 100; tm_year 224 drivers/rtc/rtc-pcf2123.c txbuf[6] = bin2bcd(tm->tm_year - 100); tm_year 139 drivers/rtc/rtc-pcf2127.c tm->tm_year = bcd2bin(buf[PCF2127_REG_YR]); tm_year 140 drivers/rtc/rtc-pcf2127.c if (tm->tm_year < 70) tm_year 141 drivers/rtc/rtc-pcf2127.c tm->tm_year += 100; /* assume we are in 1970...2069 */ tm_year 147 drivers/rtc/rtc-pcf2127.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 162 drivers/rtc/rtc-pcf2127.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 175 drivers/rtc/rtc-pcf2127.c buf[i++] = bin2bcd(tm->tm_year % 100); tm_year 393 drivers/rtc/rtc-pcf2127.c tm.tm_year = bcd2bin(data[PCF2127_REG_TS_YR]); tm_year 394 drivers/rtc/rtc-pcf2127.c if (tm.tm_year < 70) tm_year 395 drivers/rtc/rtc-pcf2127.c tm.tm_year += 100; /* assume we are in 1970...2069 */ tm_year 70 drivers/rtc/rtc-pcf50633.c rtc->tm_year = bcd2bin(pcf->time[PCF50633_TI_YEAR]) + 100; tm_year 81 drivers/rtc/rtc-pcf50633.c pcf->time[PCF50633_TI_YEAR] = bin2bcd(rtc->tm_year % 100); tm_year 95 drivers/rtc/rtc-pcf85063.c tm->tm_year = bcd2bin(regs[6]); tm_year 96 drivers/rtc/rtc-pcf85063.c tm->tm_year += 100; tm_year 133 drivers/rtc/rtc-pcf85063.c regs[6] = bin2bcd(tm->tm_year - 100); tm_year 221 drivers/rtc/rtc-pcf8523.c tm->tm_year = bcd2bin(regs[6]) + 100; tm_year 241 drivers/rtc/rtc-pcf8523.c if (tm->tm_year < 100 || tm->tm_year >= 200) tm_year 256 drivers/rtc/rtc-pcf8523.c regs[7] = bin2bcd(tm->tm_year - 100); tm_year 133 drivers/rtc/rtc-pcf85363.c tm->tm_year = bcd2bin(buf[DT_YEARS]); tm_year 135 drivers/rtc/rtc-pcf85363.c tm->tm_year += 100; tm_year 166 drivers/rtc/rtc-pcf85363.c buf[DT_YEARS] = bin2bcd(tm->tm_year % 100); tm_year 232 drivers/rtc/rtc-pcf8563.c tm->tm_year = bcd2bin(buf[PCF8563_REG_YR]) + 100; tm_year 235 drivers/rtc/rtc-pcf8563.c (tm->tm_year >= 100) : (tm->tm_year < 100); tm_year 241 drivers/rtc/rtc-pcf8563.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 256 drivers/rtc/rtc-pcf8563.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 269 drivers/rtc/rtc-pcf8563.c buf[PCF8563_REG_YR] = bin2bcd(tm->tm_year - 100); tm_year 270 drivers/rtc/rtc-pcf8563.c if (pcf8563->c_polarity ? (tm->tm_year >= 100) : (tm->tm_year < 100)) tm_year 71 drivers/rtc/rtc-pcf8583.c dt->tm_year = buf[4] >> 6; tm_year 101 drivers/rtc/rtc-pcf8583.c buf[6] = bin2bcd(dt->tm_mday) | (dt->tm_year << 6); tm_year 210 drivers/rtc/rtc-pcf8583.c year_offset = tm->tm_year - (real_year & 3); tm_year 217 drivers/rtc/rtc-pcf8583.c tm->tm_year = (real_year + year_offset + year[1] * 100) - 1900; tm_year 236 drivers/rtc/rtc-pcf8583.c unsigned int proper_year = tm->tm_year + 1900; tm_year 145 drivers/rtc/rtc-pic32.c rtc_tm->tm_year = readb(base + PIC32_RTCYEAR); tm_year 161 drivers/rtc/rtc-pic32.c rtc_tm->tm_year = bcd2bin(rtc_tm->tm_year); tm_year 163 drivers/rtc/rtc-pic32.c rtc_tm->tm_year += 100; tm_year 184 drivers/rtc/rtc-pic32.c writeb(bin2bcd(tm->tm_year - 100), base + PIC32_RTCYEAR); tm_year 203 drivers/rtc/rtc-pic32.c alm_tm->tm_year = readb(base + PIC32_ALRMYEAR); tm_year 216 drivers/rtc/rtc-pic32.c alm_tm->tm_year = bcd2bin(alm_tm->tm_year); tm_year 117 drivers/rtc/rtc-pl031.c int year = tm->tm_year + 1900; tm_year 152 drivers/rtc/rtc-pl031.c tm->tm_year = bcd2bin(bcd_year) + (bcd2bin(bcd_year >> 8) * 100); tm_year 160 drivers/rtc/rtc-pl031.c tm->tm_yday = rtc_year_days(tm->tm_mday, tm->tm_mon, tm->tm_year); tm_year 161 drivers/rtc/rtc-pl031.c tm->tm_year -= 1900; tm_year 87 drivers/rtc/rtc-pxa.c return ((tm->tm_year + 1900) << RYxR_YEAR_S) tm_year 103 drivers/rtc/rtc-pxa.c tm->tm_year = ((rycr & RYxR_YEAR_MASK) >> RYxR_YEAR_S) - 1900; tm_year 153 drivers/rtc/rtc-r7301.c tm->tm_year = -1; tm_year 167 drivers/rtc/rtc-r7301.c tm->tm_year = year - 1900; tm_year 197 drivers/rtc/rtc-r7301.c year = tm->tm_year + 1900; tm_year 86 drivers/rtc/rtc-r9701.c dt->tm_year = bcd2bin(buf[5]) + 100; /* RYRCNT */ tm_year 99 drivers/rtc/rtc-r9701.c year = dt->tm_year + 1900; tm_year 108 drivers/rtc/rtc-r9701.c ret = ret ? ret : write_reg(dev, RYRCNT, bin2bcd(dt->tm_year - 100)); tm_year 145 drivers/rtc/rtc-r9701.c dt.tm_year = 100; tm_year 78 drivers/rtc/rtc-rc5t583.c tm->tm_year = bcd2bin(rtc_data[6]) + 100; tm_year 95 drivers/rtc/rtc-rc5t583.c rtc_data[6] = bin2bcd(tm->tm_year - 100); tm_year 126 drivers/rtc/rtc-rc5t583.c alm->time.tm_year = bcd2bin(alarm_data[4]) + 100; tm_year 153 drivers/rtc/rtc-rc5t583.c alarm_data[4] = bin2bcd(alm->time.tm_year - 100); tm_year 71 drivers/rtc/rtc-rk808.c return (tm->tm_year + 1900) - 2016 + (tm->tm_mon + 1 > 11 ? 1 : 0); tm_year 139 drivers/rtc/rtc-rk808.c tm->tm_year = (bcd2bin(rtc_data[5] & YEARS_REG_MSK)) + 100; tm_year 162 drivers/rtc/rtc-rk808.c rtc_data[5] = bin2bcd(tm->tm_year - 100); tm_year 212 drivers/rtc/rtc-rk808.c alrm->time.tm_year = (bcd2bin(alrm_data[5] & YEARS_REG_MSK)) + 100; tm_year 273 drivers/rtc/rtc-rk808.c alrm_data[5] = bin2bcd(alrm->time.tm_year - 100); tm_year 111 drivers/rtc/rtc-rp5c01.c tm->tm_year = rp5c01_read(priv, RP5C01_10_YEAR) * 10 + tm_year 113 drivers/rtc/rtc-rp5c01.c if (tm->tm_year <= 69) tm_year 114 drivers/rtc/rtc-rp5c01.c tm->tm_year += 100; tm_year 141 drivers/rtc/rtc-rp5c01.c if (tm->tm_year >= 100) tm_year 142 drivers/rtc/rtc-rp5c01.c tm->tm_year -= 100; tm_year 143 drivers/rtc/rtc-rp5c01.c rp5c01_write(priv, tm->tm_year / 10, RP5C01_10_YEAR); tm_year 144 drivers/rtc/rtc-rp5c01.c rp5c01_write(priv, tm->tm_year % 10, RP5C01_1_YEAR); tm_year 259 drivers/rtc/rtc-rs5c313.c tm->tm_year = bcd2bin(data); tm_year 261 drivers/rtc/rtc-rs5c313.c if (tm->tm_year < 70) tm_year 262 drivers/rtc/rtc-rs5c313.c tm->tm_year += 100; tm_year 318 drivers/rtc/rtc-rs5c313.c data = bin2bcd(tm->tm_year % 100); tm_year 353 drivers/rtc/rtc-rs5c313.c tm.tm_year = 2000 - 1900; tm_year 97 drivers/rtc/rtc-rs5c348.c (tm->tm_year >= 100 ? RS5C348_BIT_Y2K : 0); tm_year 98 drivers/rtc/rtc-rs5c348.c txp[RS5C348_REG_YEAR] = bin2bcd(tm->tm_year % 100); tm_year 153 drivers/rtc/rtc-rs5c348.c tm->tm_year = bcd2bin(rxbuf[RS5C348_REG_YEAR]) + tm_year 246 drivers/rtc/rtc-rs5c372.c tm->tm_year = bcd2bin(rs5c->regs[RS5C372_REG_YEAR]) + 100; tm_year 252 drivers/rtc/rtc-rs5c372.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 269 drivers/rtc/rtc-rs5c372.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 278 drivers/rtc/rtc-rs5c372.c buf[6] = bin2bcd(tm->tm_year - 100); tm_year 424 drivers/rtc/rtc-rs5c372.c || t->time.tm_year != -1) tm_year 114 drivers/rtc/rtc-rtd119x.c tm->tm_year = year - 1900; tm_year 133 drivers/rtc/rtc-rtd119x.c if (1900 + tm->tm_year < data->base_year) tm_year 137 drivers/rtc/rtc-rtd119x.c for (i = data->base_year; i < 1900 + tm->tm_year; i++) tm_year 128 drivers/rtc/rtc-rv3028.c tm.tm_year = bcd2bin(date[5]) + 100; tm_year 237 drivers/rtc/rtc-rv3028.c tm->tm_year = bcd2bin(date[RV3028_YEAR]) + 100; tm_year 254 drivers/rtc/rtc-rv3028.c date[RV3028_YEAR] = bin2bcd(tm->tm_year - 100); tm_year 406 drivers/rtc/rtc-rv3029c2.c tm->tm_year = bcd2bin(regs[RV3029_W_YEARS - RV3029_W_SEC]) + 100; tm_year 448 drivers/rtc/rtc-rv3029c2.c tm->tm_year = bcd2bin(regs[RV3029_A_YR - RV3029_A_SC] & 0x7f) + 100; tm_year 494 drivers/rtc/rtc-rv3029c2.c if (tm->tm_year < 100) tm_year 514 drivers/rtc/rtc-rv3029c2.c regs[RV3029_A_YR - RV3029_A_SC] = (bin2bcd(tm->tm_year - 100)) tm_year 548 drivers/rtc/rtc-rv3029c2.c if (tm->tm_year < 100) tm_year 557 drivers/rtc/rtc-rv3029c2.c regs[RV3029_W_YEARS - RV3029_W_SEC] = bin2bcd(tm->tm_year - 100); tm_year 224 drivers/rtc/rtc-rv8803.c tm->tm_year = bcd2bin(date[RV8803_YEAR]) + 100; tm_year 251 drivers/rtc/rtc-rv8803.c date[RV8803_YEAR] = bin2bcd(tm->tm_year - 100); tm_year 156 drivers/rtc/rtc-rx4581.c tm->tm_year = bcd2bin(date[RX4581_REG_YR]); tm_year 157 drivers/rtc/rtc-rx4581.c if (tm->tm_year < 70) tm_year 158 drivers/rtc/rtc-rx4581.c tm->tm_year += 100; /* assume we are in 1970...2069 */ tm_year 165 drivers/rtc/rtc-rx4581.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 180 drivers/rtc/rtc-rx4581.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 194 drivers/rtc/rtc-rx4581.c buf[RX4581_REG_YR+1] = bin2bcd(tm->tm_year % 100); tm_year 126 drivers/rtc/rtc-rx6110.c if (tm->tm_year < 100 || tm->tm_year >= 200) tm_year 135 drivers/rtc/rtc-rx6110.c data[RTC_YEAR] = bin2bcd(tm->tm_year % 100); tm_year 155 drivers/rtc/rtc-rx6110.c tm->tm_year = bcd2bin(data[RTC_YEAR]) + 100; tm_year 164 drivers/rtc/rtc-rx6110.c if (tm->tm_year < 100 || tm->tm_year >= 200) tm_year 134 drivers/rtc/rtc-rx8010.c dt->tm_year = bcd2bin(date[RX8010_YEAR - RX8010_SEC]) + 100; tm_year 147 drivers/rtc/rtc-rx8010.c if ((dt->tm_year < 100) || (dt->tm_year > 199)) tm_year 165 drivers/rtc/rtc-rx8010.c date[RX8010_YEAR - RX8010_SEC] = bin2bcd(dt->tm_year - 100); tm_year 205 drivers/rtc/rtc-rx8025.c dt->tm_year = bcd2bin(date[RX8025_REG_YEAR]) + 100; tm_year 218 drivers/rtc/rtc-rx8025.c if ((dt->tm_year < 100) || (dt->tm_year > 199)) tm_year 236 drivers/rtc/rtc-rx8025.c date[RX8025_REG_YEAR] = bin2bcd(dt->tm_year - 100); tm_year 125 drivers/rtc/rtc-rx8581.c tm->tm_year = bcd2bin(date[RX8581_REG_YR]) + 100; tm_year 131 drivers/rtc/rtc-rx8581.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 147 drivers/rtc/rtc-rx8581.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 160 drivers/rtc/rtc-rx8581.c buf[RX8581_REG_YR] = bin2bcd(tm->tm_year - 100); tm_year 219 drivers/rtc/rtc-s35390a.c tm->tm_min, tm->tm_hour, tm->tm_mday, tm->tm_mon, tm->tm_year, tm_year 225 drivers/rtc/rtc-s35390a.c buf[S35390A_BYTE_YEAR] = bin2bcd(tm->tm_year - 100); tm_year 266 drivers/rtc/rtc-s35390a.c tm->tm_year = bcd2bin(buf[S35390A_BYTE_YEAR]) + 100; tm_year 270 drivers/rtc/rtc-s35390a.c tm->tm_min, tm->tm_hour, tm->tm_mday, tm->tm_mon, tm->tm_year, tm_year 286 drivers/rtc/rtc-s35390a.c alm->time.tm_mon, alm->time.tm_year, alm->time.tm_wday); tm_year 189 drivers/rtc/rtc-s3c.c rtc_tm->tm_year = readb(info->base + S3C2410_RTCYEAR); tm_year 207 drivers/rtc/rtc-s3c.c rtc_tm->tm_year = bcd2bin(rtc_tm->tm_year); tm_year 211 drivers/rtc/rtc-s3c.c rtc_tm->tm_year += 100; tm_year 221 drivers/rtc/rtc-s3c.c int year = tm->tm_year - 100; tm_year 265 drivers/rtc/rtc-s3c.c alm_tm->tm_year = readb(info->base + S3C2410_ALMYEAR); tm_year 294 drivers/rtc/rtc-s3c.c alm_tm->tm_year = bcd2bin(alm_tm->tm_year); tm_year 524 drivers/rtc/rtc-s3c.c rtc_tm.tm_year = 100; tm_year 189 drivers/rtc/rtc-s5m.c tm->tm_year = (data[RTC_YEAR1] & 0x7f) + 100; tm_year 207 drivers/rtc/rtc-s5m.c data[RTC_YEAR1] = tm->tm_year > 100 ? (tm->tm_year - 100) : 0; tm_year 209 drivers/rtc/rtc-s5m.c if (tm->tm_year < 100) { tm_year 211 drivers/rtc/rtc-s5m.c 1900 + tm->tm_year); tm_year 354 drivers/rtc/rtc-s5m.c tm->tm_year = bcd2bin(data[RTC_YEAR1]) + bcd2bin(data[RTC_YEAR2]) * 100; tm_year 355 drivers/rtc/rtc-s5m.c tm->tm_year -= 1900; tm_year 366 drivers/rtc/rtc-s5m.c data[RTC_YEAR1] = bin2bcd(tm->tm_year % 100); tm_year 367 drivers/rtc/rtc-s5m.c data[RTC_YEAR2] = bin2bcd((tm->tm_year + 1900) / 100); tm_year 117 drivers/rtc/rtc-sd3078.c tm->tm_year = bcd2bin(rtc_data[SD3078_REG_YR]) + 100; tm_year 135 drivers/rtc/rtc-sd3078.c rtc_data[SD3078_REG_YR] = bin2bcd(tm->tm_year - 100); tm_year 310 drivers/rtc/rtc-sh.c tm->tm_year = (yr100 * 100 + bcd2bin(yr)) - 1900; tm_year 331 drivers/rtc/rtc-sh.c tm->tm_mday, tm->tm_mon + 1, tm->tm_year, tm->tm_wday); tm_year 358 drivers/rtc/rtc-sh.c year = (bin2bcd((tm->tm_year + 1900) / 100) << 8) | tm_year 359 drivers/rtc/rtc-sh.c bin2bcd(tm->tm_year % 100); tm_year 362 drivers/rtc/rtc-sh.c year = tm->tm_year % 100; tm_year 180 drivers/rtc/rtc-spear.c tm->tm_year = bin2bcd(tm->tm_year); tm_year 191 drivers/rtc/rtc-spear.c tm->tm_year = bcd2bin(tm->tm_year); tm_year 217 drivers/rtc/rtc-spear.c tm->tm_year = (date >> YEAR_SHIFT) & YEAR_MASK; tm_year 242 drivers/rtc/rtc-spear.c (tm->tm_year << YEAR_SHIFT); tm_year 271 drivers/rtc/rtc-spear.c alm->time.tm_year = (date >> YEAR_SHIFT) & YEAR_MASK; tm_year 300 drivers/rtc/rtc-spear.c MONTH_SHIFT) | (alm->time.tm_year << YEAR_SHIFT); tm_year 81 drivers/rtc/rtc-stk17ta8.c writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); tm_year 88 drivers/rtc/rtc-stk17ta8.c writeb(bin2bcd((tm->tm_year + 1900) / 100), ioaddr + RTC_CENTURY); tm_year 125 drivers/rtc/rtc-stk17ta8.c tm->tm_year = bcd2bin(year) + bcd2bin(century) * 100 - 1900; tm_year 243 drivers/rtc/rtc-stm32.c tm->tm_year = bin2bcd(tm->tm_year - 100); tm_year 261 drivers/rtc/rtc-stm32.c tm->tm_year = bcd2bin(tm->tm_year) + 100; tm_year 286 drivers/rtc/rtc-stm32.c tm->tm_year = (dr & STM32_RTC_DR_YEAR) >> STM32_RTC_DR_YEAR_SHIFT; tm_year 313 drivers/rtc/rtc-stm32.c ((tm->tm_year << STM32_RTC_DR_YEAR_SHIFT) & STM32_RTC_DR_YEAR) | tm_year 451 drivers/rtc/rtc-stm32.c if ((((tm->tm_year > cur_year) && tm_year 453 drivers/rtc/rtc-stm32.c ((tm->tm_year == cur_year) && tm_year 476 drivers/rtc/rtc-sun6i.c rtc_tm->tm_year = SUN6I_DATE_GET_YEAR_VALUE(date); tm_year 484 drivers/rtc/rtc-sun6i.c rtc_tm->tm_year += SUN6I_YEAR_OFF; tm_year 575 drivers/rtc/rtc-sun6i.c year = rtc_tm->tm_year + 1900; tm_year 582 drivers/rtc/rtc-sun6i.c rtc_tm->tm_year -= SUN6I_YEAR_OFF; tm_year 587 drivers/rtc/rtc-sun6i.c SUN6I_DATE_SET_YEAR_VALUE(rtc_tm->tm_year); tm_year 202 drivers/rtc/rtc-sunxi.c alrm_tm->tm_year = SUNXI_DATE_GET_YEAR_VALUE(date, tm_year 211 drivers/rtc/rtc-sunxi.c alrm_tm->tm_year += SUNXI_YEAR_OFF(chip->data_year); tm_year 240 drivers/rtc/rtc-sunxi.c rtc_tm->tm_year = SUNXI_DATE_GET_YEAR_VALUE(date, tm_year 249 drivers/rtc/rtc-sunxi.c rtc_tm->tm_year += SUNXI_YEAR_OFF(chip->data_year); tm_year 341 drivers/rtc/rtc-sunxi.c year = rtc_tm->tm_year + 1900; tm_year 348 drivers/rtc/rtc-sunxi.c rtc_tm->tm_year -= SUNXI_YEAR_OFF(chip->data_year); tm_year 353 drivers/rtc/rtc-sunxi.c SUNXI_DATE_SET_YEAR_VALUE(rtc_tm->tm_year, tm_year 93 drivers/rtc/rtc-tps65910.c tm->tm_year = bcd2bin(rtc_data[5]) + 100; tm_year 109 drivers/rtc/rtc-tps65910.c rtc_data[5] = bin2bcd(tm->tm_year - 100); tm_year 158 drivers/rtc/rtc-tps65910.c alm->time.tm_year = bcd2bin(alarm_data[5]) + 100; tm_year 185 drivers/rtc/rtc-tps65910.c alarm_data[5] = bin2bcd(alm->time.tm_year - 100); tm_year 84 drivers/rtc/rtc-tps80031.c tm->tm_year = bcd2bin(buff[5]) + RTC_YEAR_OFFSET; tm_year 99 drivers/rtc/rtc-tps80031.c buff[5] = bin2bcd(tm->tm_year % RTC_YEAR_OFFSET); tm_year 153 drivers/rtc/rtc-tps80031.c buff[5] = bin2bcd(alrm->time.tm_year % RTC_YEAR_OFFSET); tm_year 183 drivers/rtc/rtc-tps80031.c alrm->time.tm_year = bcd2bin(buff[5]) + RTC_YEAR_OFFSET; tm_year 259 drivers/rtc/rtc-tps80031.c if ((tm.tm_year == RTC_YEAR_OFFSET + TPS80031_RTC_POR_YEAR) && tm_year 262 drivers/rtc/rtc-tps80031.c tm.tm_year = 2000; tm_year 321 drivers/rtc/rtc-twl.c tm->tm_year = bcd2bin(rtc_data[5]) + 100; tm_year 338 drivers/rtc/rtc-twl.c rtc_data[5] = bin2bcd(tm->tm_year - 100); tm_year 388 drivers/rtc/rtc-twl.c alm->time.tm_year = bcd2bin(rtc_data[5]) + 100; tm_year 413 drivers/rtc/rtc-twl.c alarm_data[5] = bin2bcd(alm->time.tm_year - 100); tm_year 230 drivers/rtc/rtc-v3020.c dt->tm_year = bcd2bin(tmp)+100; tm_year 236 drivers/rtc/rtc-v3020.c dev_dbg(dev, "tm_year: %i\n", dt->tm_year); tm_year 255 drivers/rtc/rtc-v3020.c dev_dbg(dev, "tm_year: %i\n", dt->tm_year); tm_year 264 drivers/rtc/rtc-v3020.c v3020_set_reg(chip, V3020_YEAR, bin2bcd(dt->tm_year % 100)); tm_year 114 drivers/rtc/rtc-vt8500.c tm->tm_year = bcd2bin((date & DATE_YEAR_MASK) >> DATE_YEAR_S) tm_year 125 drivers/rtc/rtc-vt8500.c if (tm->tm_year < 100) { tm_year 131 drivers/rtc/rtc-vt8500.c writel((bin2bcd(tm->tm_year % 100) << DATE_YEAR_S) tm_year 134 drivers/rtc/rtc-vt8500.c | ((tm->tm_year >= 200) << DATE_CENTURY_S), tm_year 112 drivers/rtc/rtc-wilco-ec.c tm->tm_year = rtc.year + (rtc.century * 100) - 1900; tm_year 113 drivers/rtc/rtc-wilco-ec.c tm->tm_yday = rtc_year_days(tm->tm_mday, tm->tm_mon, tm->tm_year); tm_year 126 drivers/rtc/rtc-wilco-ec.c int year = tm->tm_year + 1900; tm_year 67 drivers/rtc/rtc-wm8350.c tm->tm_year = ((time1[3] & WM8350_RTC_YHUNDREDS_MASK) tm_year 69 drivers/rtc/rtc-wm8350.c tm->tm_year += time1[3] & WM8350_RTC_YUNITS_MASK; tm_year 72 drivers/rtc/rtc-wm8350.c tm->tm_year); tm_year 73 drivers/rtc/rtc-wm8350.c tm->tm_year -= 1900; tm_year 103 drivers/rtc/rtc-wm8350.c time[3] = ((tm->tm_year + 1900) / 100) << WM8350_RTC_YHUNDREDS_SHIFT; tm_year 104 drivers/rtc/rtc-wm8350.c time[3] |= (tm->tm_year + 1900) % 100; tm_year 178 drivers/rtc/rtc-wm8350.c tm->tm_year = -1; tm_year 132 drivers/rtc/rtc-x1205.c tm->tm_year = bcd2bin(buf[CCR_YEAR]) tm_year 140 drivers/rtc/rtc-x1205.c tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 190 drivers/rtc/rtc-x1205.c tm->tm_mon, tm->tm_year, tm->tm_wday); tm_year 204 drivers/rtc/rtc-x1205.c buf[CCR_YEAR] = bin2bcd(tm->tm_year % 100); tm_year 206 drivers/rtc/rtc-x1205.c buf[CCR_Y2K] = bin2bcd((tm->tm_year + 1900) / 100); tm_year 2380 drivers/scsi/aacraid/commsup.c cur_tm.tm_year += 1900; tm_year 2386 drivers/scsi/aacraid/commsup.c wellness_str[14] = bin2bcd(cur_tm.tm_year / 100); tm_year 2387 drivers/scsi/aacraid/commsup.c wellness_str[15] = bin2bcd(cur_tm.tm_year % 100); tm_year 3697 drivers/scsi/arcmsr/arcmsr_hba.c datetime.a.year = tm.tm_year - 100; /* base 2000 instead of 1900 */ tm_year 816 drivers/scsi/fnic/fnic_trace.c tm.tm_mon + 1, tm.tm_mday, tm.tm_year + 1900, tm_year 5994 drivers/scsi/ips.c scb->cmd.ffdc.yearH = (tm.tm_year + 1900) / 100; tm_year 5995 drivers/scsi/ips.c scb->cmd.ffdc.yearL = tm.tm_year % 100; tm_year 835 drivers/scsi/smartpqi/smartpqi_init.c year = tm.tm_year + 1900; tm_year 104 drivers/staging/exfat/exfat_super.c tp->Year = tm.tm_year + 1900 - 1980; tm_year 139 drivers/staging/exfat/exfat_super.c tp->year = tm.tm_year + 1900 - 1980; tm_year 426 drivers/staging/greybus/tools/loopback_test.c tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm_year 904 drivers/usb/host/xhci-tegra.c time.tm_year + 1900, time.tm_mon + 1, time.tm_mday, tm_year 241 fs/fat/misc.c if (tm.tm_year < 1980 - 1900) { tm_year 248 fs/fat/misc.c if (tm.tm_year > 2107 - 1900) { tm_year 257 fs/fat/misc.c tm.tm_year -= 80; tm_year 264 fs/fat/misc.c *date = cpu_to_le16(tm.tm_year << 9 | tm.tm_mon << 5 | tm.tm_mday); tm_year 2485 fs/namespace.c tm.tm_year+1900, (unsigned long long)sb->s_time_max); tm_year 26 fs/nilfs2/sysfs.c res.tm_year += 1900; \ tm_year 30 fs/nilfs2/sysfs.c res.tm_year, res.tm_mon, res.tm_mday, \ tm_year 85 fs/udf/udftime.c dest->year = cpu_to_le16(tm.tm_year + 1900); tm_year 64 include/linux/time.h long tm_year; tm_year 27 include/uapi/linux/rtc.h int tm_year; tm_year 2530 kernel/debug/kdb/kdb_main.c 1900+tm.tm_year, tm.tm_mon+1, tm.tm_mday, tm_year 117 kernel/time/timeconv.c result->tm_year = y - 1900; tm_year 504 lib/test_printf.c .tm_year = 118, tm_year 1720 lib/vsprintf.c int year = tm->tm_year + (r ? 0 : 1900); tm_year 101 security/tomoyo/util.c stamp->year = tm.tm_year + 1900; tm_year 48 tools/testing/selftests/rtc/rtctest.c rtc_tm.tm_mday, rtc_tm.tm_mon + 1, rtc_tm.tm_year + 1900, tm_year 194 tools/testing/selftests/rtc/rtctest.c alarm.time.tm_year + 1900, alarm.time.tm_hour, tm_year 296 tools/testing/selftests/rtc/rtctest.c alarm.time.tm_year + 1900, alarm.time.tm_hour, tm_year 47 tools/testing/selftests/rtc/setdate.c sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); tm_year 49 tools/testing/selftests/rtc/setdate.c new.tm_year -= 1900; tm_year 53 tools/testing/selftests/rtc/setdate.c new.tm_mday, new.tm_mon + 1, new.tm_year + 1900, tm_year 72 tools/testing/selftests/rtc/setdate.c current.tm_mday, current.tm_mon + 1, current.tm_year + 1900,