/linux-master/include/linux/rtc/ |
H A D | ds1286.h | 23 #define RTC_MONTH 9 macro
|
H A D | ds1685.h | 94 #define RTC_MONTH 0x08 /* Month 01-12 */ macro
|
/linux-master/drivers/rtc/ |
H A D | rtc-max8997.c | 58 RTC_MONTH, enumerator in enum:__anon7935 89 tm->tm_mon = (data[RTC_MONTH] & 0x0f) - 1; 102 data[RTC_MONTH] = tm->tm_mon + 1; 273 if (data[RTC_MONTH] & 0xf) 274 data[RTC_MONTH] |= (1 << ALARM_ENABLE_SHIFT); 303 data[RTC_YEAR] + 2000, data[RTC_MONTH], data[RTC_DATE],
|
H A D | rtc-max8925.c | 22 RTC_MONTH, enumerator in enum:__anon584 91 tm->tm_mon = ((buf[RTC_MONTH] >> 4) & 0x01) * 10 92 + (buf[RTC_MONTH] & 0x0f); 130 buf[RTC_MONTH] = (high << 4) + low;
|
H A D | rtc-max8907.c | 25 RTC_MONTH, enumerator in enum:__anon65 61 tm->tm_mon = bcd2bin(regs[RTC_MONTH] & 0x1f) - 1; 85 regs[RTC_MONTH] = bin2bcd(tm->tm_mon + 1);
|
H A D | rtc-ds1742.c | 32 #define RTC_MONTH 6 macro 66 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); local 96 month = readb(ioaddr + RTC_MONTH);
|
H A D | rtc-max8998.c | 61 RTC_MONTH, enumerator in enum:__anon7936 88 tm->tm_mon = bcd2bin(data[RTC_MONTH]); 100 data[RTC_MONTH] = bin2bcd(tm->tm_mon);
|
H A D | rtc-ds1286.c | 98 month = ds1286_rtc_read(priv, RTC_MONTH); 185 tm->tm_mon = ds1286_rtc_read(priv, RTC_MONTH) & 0x1f; 250 ds1286_rtc_write(priv, mon, RTC_MONTH);
|
H A D | rtc-mc146818-lib.c | 125 p->time->tm_mon = CMOS_READ(RTC_MONTH); 293 CMOS_WRITE(mon, RTC_MONTH);
|
H A D | rtc-s5m.c | 37 RTC_MONTH, enumerator in enum:__anon2616 188 tm->tm_mon = (data[RTC_MONTH] & 0x0f) - 1; 206 data[RTC_MONTH] = tm->tm_mon + 1; 500 if (data[RTC_MONTH] & 0xf) 501 data[RTC_MONTH] |= ALARM_ENABLE_MASK;
|
H A D | rtc-ds1553.c | 37 #define RTC_MONTH (RTC_OFFSET + 14) macro 82 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); local 112 month = readb(ioaddr + RTC_MONTH);
|
H A D | rtc-stk17ta8.c | 40 #define RTC_MONTH (RTC_OFFSET + 14) macro 82 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); local 114 month = readb(ioaddr + RTC_MONTH);
|
H A D | rtc-rx6110.c | 90 RTC_MONTH, enumerator in enum:__anon208 125 data[RTC_MONTH] = bin2bcd(tm->tm_mon + 1); 145 tm->tm_mon = bcd2bin(data[RTC_MONTH] & 0x1f) - 1;
|
H A D | rtc-da9063.c | 33 RTC_MONTH = 4, enumerator in enum:__anon440 176 tm->tm_mon = MONTHS_FROM_DA9063(data[RTC_MONTH] & 191 data[RTC_MONTH] = MONTHS_TO_DA9063(tm->tm_mon) &
|
H A D | rtc-max77686.c | 56 RTC_MONTH, enumerator in enum:__anon140 305 tm->tm_mon = (data[RTC_MONTH] & 0x0f) - 1; 326 data[RTC_MONTH] = tm->tm_mon + 1; 577 if (data[RTC_MONTH] & 0xf) 578 data[RTC_MONTH] |= (1 << ALARM_ENABLE_SHIFT);
|
H A D | rtc-ds1685.c | 274 month = rtc->read(rtc, RTC_MONTH); 364 rtc->write(rtc, RTC_MONTH, month);
|
/linux-master/arch/powerpc/platforms/chrp/ |
H A D | time.c | 112 chrp_cmos_clock_write(tm.tm_mon,RTC_MONTH); 139 mon = chrp_cmos_clock_read(RTC_MONTH);
|
/linux-master/arch/powerpc/platforms/maple/ |
H A D | time.c | 58 tm->tm_mon = maple_clock_read(RTC_MONTH); 110 maple_clock_write(mon, RTC_MONTH);
|
/linux-master/arch/mips/include/asm/ |
H A D | mc146818-time.h | 101 mon = CMOS_READ(RTC_MONTH);
|
/linux-master/include/linux/ |
H A D | mc146818rtc.h | 61 #define RTC_MONTH 8 macro
|
/linux-master/arch/mips/dec/ |
H A D | time.c | 34 mon = CMOS_READ(RTC_MONTH);
|
/linux-master/arch/sh/include/asm/ |
H A D | smc37c93x.h | 173 #define RTC_MONTH 8 macro
|
/linux-master/arch/m68k/atari/ |
H A D | time.c | 270 mon = RTC_READ( RTC_MONTH ); 279 RTC_WRITE( RTC_MONTH, mon );
|