/linux-4.1.27/include/linux/ |
H A D | ds1286.h | 23 #define RTC_MONTH 9 macro
|
H A D | mc146818rtc.h | 58 #define RTC_MONTH 8 macro
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-max8907.c | 29 RTC_MONTH, enumerator in enum:__anon8383 65 tm->tm_mon = bcd2bin(regs[RTC_MONTH] & 0x1f) - 1; regs_to_tm() 89 regs[RTC_MONTH] = bin2bcd(tm->tm_mon + 1); tm_to_regs()
|
H A D | rtc-max8997.c | 64 RTC_MONTH, enumerator in enum:__anon8385 95 tm->tm_mon = (data[RTC_MONTH] & 0x0f) - 1; max8997_rtc_data_to_tm() 108 data[RTC_MONTH] = tm->tm_mon + 1; max8997_rtc_tm_to_data() 279 if (data[RTC_MONTH] & 0xf) max8997_rtc_start_alarm() 280 data[RTC_MONTH] |= (1 << ALARM_ENABLE_SHIFT); max8997_rtc_start_alarm() 309 data[RTC_YEAR] + 2000, data[RTC_MONTH], data[RTC_DATE], max8997_rtc_set_alarm()
|
H A D | rtc-da9063.c | 39 #define RTC_MONTH 4 macro 59 tm->tm_mon = MONTHS_FROM_DA9063(data[RTC_MONTH] & da9063_data_to_tm() 79 data[RTC_MONTH] &= ~DA9063_COUNT_MONTH_MASK; da9063_tm_to_data() 80 data[RTC_MONTH] |= MONTHS_TO_DA9063(tm->tm_mon) & da9063_tm_to_data()
|
H A D | rtc-max8925.c | 25 RTC_MONTH, enumerator in enum:__anon8384 94 tm->tm_mon = ((buf[RTC_MONTH] >> 4) & 0x01) * 10 tm_calc() 95 + (buf[RTC_MONTH] & 0x0f); tm_calc() 133 buf[RTC_MONTH] = (high << 4) + low; data_calc()
|
H A D | rtc-max77686.c | 51 RTC_MONTH, enumerator in enum:__anon8381 91 tm->tm_mon = (data[RTC_MONTH] & 0x0f) - 1; max77686_rtc_data_to_tm() 104 data[RTC_MONTH] = tm->tm_mon + 1; max77686_rtc_tm_to_data() 307 if (data[RTC_MONTH] & 0xf) max77686_rtc_start_alarm() 308 data[RTC_MONTH] |= (1 << ALARM_ENABLE_SHIFT); max77686_rtc_start_alarm()
|
H A D | rtc-ds1742.c | 38 #define RTC_MONTH 6 macro 75 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); ds1742_rtc_set_time() local 106 month = readb(ioaddr + RTC_MONTH); ds1742_rtc_read_time()
|
H A D | rtc-max8998.c | 67 RTC_MONTH, enumerator in enum:__anon8386 94 tm->tm_mon = bcd2bin(data[RTC_MONTH]); max8998_data_to_tm() 106 data[RTC_MONTH] = bin2bcd(tm->tm_mon); max8998_tm_to_data()
|
H A D | rtc-s5m.c | 129 tm->tm_mon = (data[RTC_MONTH] & 0x0f) - 1; s5m8767_data_to_tm() 147 data[RTC_MONTH] = tm->tm_mon + 1; s5m8767_tm_to_data() 297 tm->tm_mon = bcd2bin(data[RTC_MONTH]); s5m8763_data_to_tm() 309 data[RTC_MONTH] = bin2bcd(tm->tm_mon); s5m8763_tm_to_data() 519 if (data[RTC_MONTH] & 0xf) s5m_rtc_start_alarm() 520 data[RTC_MONTH] |= ALARM_ENABLE_MASK; s5m_rtc_start_alarm()
|
H A D | rtc-ds1286.c | 104 month = ds1286_rtc_read(priv, RTC_MONTH); ds1286_proc() 191 tm->tm_mon = ds1286_rtc_read(priv, RTC_MONTH) & 0x1f; ds1286_read_time() 256 ds1286_rtc_write(priv, mon, RTC_MONTH); ds1286_set_time()
|
H A D | rtc-ds1553.c | 42 #define RTC_MONTH (RTC_OFFSET + 14) macro 88 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); ds1553_rtc_set_time() local 119 month = readb(ioaddr + RTC_MONTH); ds1553_rtc_read_time()
|
H A D | rtc-max77802.c | 54 RTC_MONTH, enumerator in enum:__anon8382 94 tm->tm_mon = (data[RTC_MONTH] & 0x0f) - 1; max77802_rtc_data_to_tm() 108 data[RTC_MONTH] = tm->tm_mon + 1; max77802_rtc_tm_to_data()
|
H A D | rtc-stk17ta8.c | 45 #define RTC_MONTH (RTC_OFFSET + 14) macro 88 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); stk17ta8_rtc_set_time() local 121 month = readb(ioaddr + RTC_MONTH); stk17ta8_rtc_read_time()
|
H A D | rtc-mrst.c | 101 time->tm_mon = vrtc_cmos_read(RTC_MONTH); mrst_read_time() 132 vrtc_cmos_write(mon, RTC_MONTH); mrst_set_time()
|
H A D | rtc-ds1685.c | 264 month = rtc->read(rtc, RTC_MONTH); ds1685_rtc_read_time() 356 rtc->write(rtc, RTC_MONTH, month); ds1685_rtc_set_time() 1549 { "month", RTC_MONTH, RTC_MONTH_BCD_MASK, 1, 12 }, 1566 { "month", RTC_MONTH, RTC_MONTH_BIN_MASK, 0x01, 0x0c },
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
H A D | time.c | 111 chrp_cmos_clock_write(tm.tm_mon,RTC_MONTH); chrp_set_rtc_time() 138 mon = chrp_cmos_clock_read(RTC_MONTH); chrp_get_rtc_time()
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | rtc.h | 9 # define RTC_MONTH 4 macro
|
/linux-4.1.27/arch/x86/platform/intel-mid/ |
H A D | intel_mid_vrtc.c | 74 mon = vrtc_cmos_read(RTC_MONTH); vrtc_get_time() 105 vrtc_cmos_write(tm.tm_mon, RTC_MONTH); vrtc_set_mmss()
|
/linux-4.1.27/arch/powerpc/platforms/maple/ |
H A D | time.c | 64 tm->tm_mon = maple_clock_read(RTC_MONTH); maple_get_rtc_time() 116 maple_clock_write(mon, RTC_MONTH); maple_set_rtc_time()
|
/linux-4.1.27/include/asm-generic/ |
H A D | rtc.h | 77 time->tm_mon = CMOS_READ(RTC_MONTH); __get_rtc_time() 183 CMOS_WRITE(mon, RTC_MONTH); __set_rtc_time()
|
/linux-4.1.27/include/linux/mfd/samsung/ |
H A D | rtc.h | 146 RTC_MONTH, enumerator in enum:__anon11987
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | mc146818-time.h | 101 mon = CMOS_READ(RTC_MONTH); mc146818_get_cmos_time()
|
/linux-4.1.27/drivers/char/ |
H A D | ds1302.c | 129 rtc_tm->tm_mon = CMOS_READ(RTC_MONTH); get_rtc_time() 224 CMOS_WRITE(mon, RTC_MONTH); rtc_ioctl()
|
H A D | rtc.c | 632 CMOS_WRITE(mon, RTC_MONTH); rtc_do_ioctl() 1327 rtc_tm->tm_mon = CMOS_READ(RTC_MONTH); rtc_get_rtc_time()
|
/linux-4.1.27/arch/m68k/atari/ |
H A D | time.c | 235 mon = RTC_READ( RTC_MONTH ); atari_tt_hwclk() 244 RTC_WRITE( RTC_MONTH, mon ); atari_tt_hwclk()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | rtc.c | 82 mon = CMOS_READ(RTC_MONTH); mach_get_cmos_time()
|
/linux-4.1.27/arch/mips/dec/ |
H A D | time.c | 33 mon = CMOS_READ(RTC_MONTH); read_persistent_clock()
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | smc37c93x.h | 172 #define RTC_MONTH 8 macro
|
/linux-4.1.27/include/linux/rtc/ |
H A D | ds1685.h | 102 #define RTC_MONTH 0x08 /* Month 01-12 */ macro
|