/Linux-v5.4/drivers/rtc/ |
D | rtc-max8997.c | 58 RTC_MONTH, enumerator 89 tm->tm_mon = (data[RTC_MONTH] & 0x0f) - 1; in max8997_rtc_data_to_tm() 102 data[RTC_MONTH] = tm->tm_mon + 1; in max8997_rtc_tm_to_data() 273 if (data[RTC_MONTH] & 0xf) in max8997_rtc_start_alarm() 274 data[RTC_MONTH] |= (1 << ALARM_ENABLE_SHIFT); in max8997_rtc_start_alarm() 303 data[RTC_YEAR] + 2000, data[RTC_MONTH], data[RTC_DATE], in max8997_rtc_set_alarm()
|
D | rtc-max8907.c | 26 RTC_MONTH, enumerator 62 tm->tm_mon = bcd2bin(regs[RTC_MONTH] & 0x1f) - 1; in regs_to_tm() 86 regs[RTC_MONTH] = bin2bcd(tm->tm_mon + 1); in tm_to_regs()
|
D | rtc-max8925.c | 22 RTC_MONTH, enumerator 91 tm->tm_mon = ((buf[RTC_MONTH] >> 4) & 0x01) * 10 in tm_calc() 92 + (buf[RTC_MONTH] & 0x0f); in tm_calc() 130 buf[RTC_MONTH] = (high << 4) + low; in data_calc()
|
D | rtc-ds1742.c | 33 #define RTC_MONTH 6 macro 67 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); in ds1742_rtc_set_time() 97 month = readb(ioaddr + RTC_MONTH); in ds1742_rtc_read_time()
|
D | rtc-s5m.c | 37 RTC_MONTH, enumerator 188 tm->tm_mon = (data[RTC_MONTH] & 0x0f) - 1; in s5m8767_data_to_tm() 206 data[RTC_MONTH] = tm->tm_mon + 1; in s5m8767_tm_to_data() 353 tm->tm_mon = bcd2bin(data[RTC_MONTH]); in s5m8763_data_to_tm() 365 data[RTC_MONTH] = bin2bcd(tm->tm_mon); in s5m8763_tm_to_data() 569 if (data[RTC_MONTH] & 0xf) in s5m_rtc_start_alarm() 570 data[RTC_MONTH] |= ALARM_ENABLE_MASK; in s5m_rtc_start_alarm()
|
D | rtc-rx6110.c | 99 RTC_MONTH, enumerator 134 data[RTC_MONTH] = bin2bcd(tm->tm_mon + 1); in rx6110_rtc_tm_to_data() 154 tm->tm_mon = bcd2bin(data[RTC_MONTH] & 0x1f) - 1; in rx6110_data_to_rtc_tm()
|
D | rtc-max8998.c | 61 RTC_MONTH, enumerator 88 tm->tm_mon = bcd2bin(data[RTC_MONTH]); in max8998_data_to_tm() 100 data[RTC_MONTH] = bin2bcd(tm->tm_mon); in max8998_tm_to_data()
|
D | rtc-mc146818-lib.c | 58 time->tm_mon = CMOS_READ(RTC_MONTH); in mc146818_get_time() 181 CMOS_WRITE(mon, RTC_MONTH); in mc146818_set_time()
|
D | rtc-ds1286.c | 98 month = ds1286_rtc_read(priv, RTC_MONTH); in ds1286_proc() 185 tm->tm_mon = ds1286_rtc_read(priv, RTC_MONTH) & 0x1f; in ds1286_read_time() 250 ds1286_rtc_write(priv, mon, RTC_MONTH); in ds1286_set_time()
|
D | rtc-stk17ta8.c | 40 #define RTC_MONTH (RTC_OFFSET + 14) macro 82 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); in stk17ta8_rtc_set_time() 114 month = readb(ioaddr + RTC_MONTH); in stk17ta8_rtc_read_time()
|
D | rtc-ds1553.c | 37 #define RTC_MONTH (RTC_OFFSET + 14) macro 82 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); in ds1553_rtc_set_time() 112 month = readb(ioaddr + RTC_MONTH); in ds1553_rtc_read_time()
|
D | rtc-max77686.c | 58 RTC_MONTH, enumerator 274 tm->tm_mon = (data[RTC_MONTH] & 0x0f) - 1; in max77686_rtc_data_to_tm() 295 data[RTC_MONTH] = tm->tm_mon + 1; in max77686_rtc_tm_to_data() 546 if (data[RTC_MONTH] & 0xf) in max77686_rtc_start_alarm() 547 data[RTC_MONTH] |= (1 << ALARM_ENABLE_SHIFT); in max77686_rtc_start_alarm()
|
D | rtc-da9063.c | 32 RTC_MONTH = 4, enumerator 175 tm->tm_mon = MONTHS_FROM_DA9063(data[RTC_MONTH] & in da9063_data_to_tm() 190 data[RTC_MONTH] = MONTHS_TO_DA9063(tm->tm_mon) & in da9063_tm_to_data()
|
D | rtc-mrst.c | 96 time->tm_mon = vrtc_cmos_read(RTC_MONTH); in mrst_read_time() 127 vrtc_cmos_write(mon, RTC_MONTH); in mrst_set_time()
|
/Linux-v5.4/arch/x86/platform/intel-mid/ |
D | intel_mid_vrtc.c | 71 mon = vrtc_cmos_read(RTC_MONTH); in vrtc_get_time() 102 vrtc_cmos_write(tm.tm_mon, RTC_MONTH); in vrtc_set_mmss()
|
/Linux-v5.4/arch/powerpc/platforms/chrp/ |
D | time.c | 114 chrp_cmos_clock_write(tm.tm_mon,RTC_MONTH); in chrp_set_rtc_time() 141 mon = chrp_cmos_clock_read(RTC_MONTH); in chrp_get_rtc_time()
|
/Linux-v5.4/arch/powerpc/platforms/maple/ |
D | time.c | 59 tm->tm_mon = maple_clock_read(RTC_MONTH); in maple_get_rtc_time() 111 maple_clock_write(mon, RTC_MONTH); in maple_set_rtc_time()
|
/Linux-v5.4/include/linux/rtc/ |
D | ds1286.h | 23 #define RTC_MONTH 9 macro
|
D | ds1685.h | 97 #define RTC_MONTH 0x08 /* Month 01-12 */ macro
|
/Linux-v5.4/include/linux/ |
D | mc146818rtc.h | 61 #define RTC_MONTH 8 macro
|
/Linux-v5.4/arch/mips/include/asm/ |
D | mc146818-time.h | 101 mon = CMOS_READ(RTC_MONTH); in mc146818_get_cmos_time()
|
/Linux-v5.4/arch/sh/include/asm/ |
D | smc37c93x.h | 173 #define RTC_MONTH 8 macro
|
/Linux-v5.4/arch/m68k/atari/ |
D | time.c | 267 mon = RTC_READ( RTC_MONTH ); in atari_tt_hwclk() 276 RTC_WRITE( RTC_MONTH, mon ); in atari_tt_hwclk()
|
/Linux-v5.4/arch/mips/dec/ |
D | time.c | 34 mon = CMOS_READ(RTC_MONTH); in read_persistent_clock64()
|
/Linux-v5.4/arch/x86/kernel/ |
D | rtc.c | 92 mon = CMOS_READ(RTC_MONTH); in mach_get_cmos_time()
|