Searched refs:RTC_MONTH (Results 1 - 30 of 30) sorted by relevance

/linux-4.1.27/include/linux/
H A Dds1286.h23 #define RTC_MONTH 9 macro
H A Dmc146818rtc.h58 #define RTC_MONTH 8 macro
/linux-4.1.27/drivers/rtc/
H A Drtc-max8907.c29 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 Drtc-max8997.c64 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 Drtc-da9063.c39 #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 Drtc-max8925.c25 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 Drtc-max77686.c51 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 Drtc-ds1742.c38 #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 Drtc-max8998.c67 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 Drtc-s5m.c129 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 Drtc-ds1286.c104 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 Drtc-ds1553.c42 #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 Drtc-max77802.c54 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 Drtc-stk17ta8.c45 #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 Drtc-mrst.c101 time->tm_mon = vrtc_cmos_read(RTC_MONTH); mrst_read_time()
132 vrtc_cmos_write(mon, RTC_MONTH); mrst_set_time()
H A Drtc-ds1685.c264 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 Dtime.c111 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 Drtc.h9 # define RTC_MONTH 4 macro
/linux-4.1.27/arch/x86/platform/intel-mid/
H A Dintel_mid_vrtc.c74 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 Dtime.c64 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 Drtc.h77 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 Drtc.h146 RTC_MONTH, enumerator in enum:__anon11987
/linux-4.1.27/arch/mips/include/asm/
H A Dmc146818-time.h101 mon = CMOS_READ(RTC_MONTH); mc146818_get_cmos_time()
/linux-4.1.27/drivers/char/
H A Dds1302.c129 rtc_tm->tm_mon = CMOS_READ(RTC_MONTH); get_rtc_time()
224 CMOS_WRITE(mon, RTC_MONTH); rtc_ioctl()
H A Drtc.c632 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 Dtime.c235 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 Drtc.c82 mon = CMOS_READ(RTC_MONTH); mach_get_cmos_time()
/linux-4.1.27/arch/mips/dec/
H A Dtime.c33 mon = CMOS_READ(RTC_MONTH); read_persistent_clock()
/linux-4.1.27/arch/sh/include/asm/
H A Dsmc37c93x.h172 #define RTC_MONTH 8 macro
/linux-4.1.27/include/linux/rtc/
H A Dds1685.h102 #define RTC_MONTH 0x08 /* Month 01-12 */ macro

Completed in 290 milliseconds