/linux-4.1.27/include/linux/ |
H A D | ds1286.h | 24 #define RTC_YEAR 10 macro
|
H A D | mc146818rtc.h | 59 #define RTC_YEAR 9 macro
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-da9063.c | 40 #define RTC_YEAR 5 macro 61 tm->tm_year = YEARS_FROM_DA9063(data[RTC_YEAR] & da9063_data_to_tm() 83 data[RTC_YEAR] &= ~DA9063_COUNT_YEAR_MASK; da9063_tm_to_data() 84 data[RTC_YEAR] |= YEARS_TO_DA9063(tm->tm_year) & da9063_tm_to_data() 168 alrm->enabled = !!(data[RTC_YEAR] & DA9063_ALARM_ON); da9063_rtc_read_alarm()
|
H A D | rtc-max8997.c | 65 RTC_YEAR, enumerator in enum:__anon8385 96 tm->tm_year = (data[RTC_YEAR] & 0x7f) + 100; max8997_rtc_data_to_tm() 109 data[RTC_YEAR] = tm->tm_year > 100 ? (tm->tm_year - 100) : 0; max8997_rtc_tm_to_data() 281 if (data[RTC_YEAR] & 0x7f) max8997_rtc_start_alarm() 282 data[RTC_YEAR] |= (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-max77686.c | 52 RTC_YEAR, enumerator in enum:__anon8381 92 tm->tm_year = (data[RTC_YEAR] & 0x7f) + 100; max77686_rtc_data_to_tm() 105 data[RTC_YEAR] = tm->tm_year > 100 ? (tm->tm_year - 100) : 0; max77686_rtc_tm_to_data() 309 if (data[RTC_YEAR] & 0x7f) max77686_rtc_start_alarm() 310 data[RTC_YEAR] |= (1 << ALARM_ENABLE_SHIFT); max77686_rtc_start_alarm()
|
H A D | rtc-ds1742.c | 39 #define RTC_YEAR 7 macro 74 writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); ds1742_rtc_set_time() local 107 year = readb(ioaddr + RTC_YEAR); ds1742_rtc_read_time()
|
H A D | rtc-ds1553.c | 43 #define RTC_YEAR (RTC_OFFSET + 15) macro 87 writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); ds1553_rtc_set_time() local 120 year = readb(ioaddr + RTC_YEAR); ds1553_rtc_read_time()
|
H A D | rtc-max77802.c | 55 RTC_YEAR, enumerator in enum:__anon8382 96 tm->tm_year = data[RTC_YEAR] & 0xff; max77802_rtc_data_to_tm() 109 data[RTC_YEAR] = tm->tm_year; max77802_rtc_tm_to_data()
|
H A D | rtc-stk17ta8.c | 46 #define RTC_YEAR (RTC_OFFSET + 15) macro 87 writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); stk17ta8_rtc_set_time() local 122 year = readb(ioaddr + RTC_YEAR); stk17ta8_rtc_read_time()
|
H A D | rtc-ds1511.c | 83 #define RTC_YEAR DS1511_YEAR macro 231 rtc_write(yrs, RTC_YEAR); ds1511_rtc_set_time() 258 rtc_tm->tm_year = rtc_read(RTC_YEAR) & 0x7f; ds1511_rtc_read_time()
|
H A D | rtc-ds1286.c | 192 tm->tm_year = ds1286_rtc_read(priv, RTC_YEAR); ds1286_read_time() 255 ds1286_rtc_write(priv, yrs, RTC_YEAR); ds1286_set_time()
|
H A D | rtc-mrst.c | 102 time->tm_year = vrtc_cmos_read(RTC_YEAR); mrst_read_time() 131 vrtc_cmos_write(yrs, RTC_YEAR); mrst_set_time()
|
H A D | rtc-ds1685.c | 265 years = rtc->read(rtc, RTC_YEAR); ds1685_rtc_read_time() 357 rtc->write(rtc, RTC_YEAR, years); ds1685_rtc_set_time() 1550 { "year", RTC_YEAR, RTC_YEAR_BCD_MASK, 0, 99 }, 1567 { "year", RTC_YEAR, RTC_YEAR_BIN_MASK, 0x00, 0x63 },
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
H A D | time.c | 113 chrp_cmos_clock_write(tm.tm_year,RTC_YEAR); chrp_set_rtc_time() 139 year = chrp_cmos_clock_read(RTC_YEAR); chrp_get_rtc_time()
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | rtc.h | 11 # define RTC_YEAR 6 macro
|
/linux-4.1.27/arch/x86/platform/intel-mid/ |
H A D | intel_mid_vrtc.c | 75 year = vrtc_cmos_read(RTC_YEAR); vrtc_get_time() 104 vrtc_cmos_write(year, RTC_YEAR); vrtc_set_mmss()
|
/linux-4.1.27/arch/powerpc/platforms/maple/ |
H A D | time.c | 65 tm->tm_year = maple_clock_read(RTC_YEAR); maple_get_rtc_time() 118 maple_clock_write(year, RTC_YEAR); maple_set_rtc_time()
|
/linux-4.1.27/include/asm-generic/ |
H A D | rtc.h | 78 time->tm_year = CMOS_READ(RTC_YEAR); __get_rtc_time() 182 CMOS_WRITE(yrs, RTC_YEAR); __set_rtc_time()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | mc146818-time.h | 102 year = CMOS_READ(RTC_YEAR); mc146818_get_cmos_time()
|
/linux-4.1.27/drivers/char/ |
H A D | ds1302.c | 130 rtc_tm->tm_year = CMOS_READ(RTC_YEAR); get_rtc_time() 223 CMOS_WRITE(yrs, RTC_YEAR); rtc_ioctl()
|
H A D | rtc.c | 631 CMOS_WRITE(yrs, RTC_YEAR); rtc_do_ioctl() 1083 year = CMOS_READ(RTC_YEAR); rtc_init() 1328 rtc_tm->tm_year = CMOS_READ(RTC_YEAR); rtc_get_rtc_time()
|
/linux-4.1.27/arch/m68k/atari/ |
H A D | time.c | 236 year = RTC_READ( RTC_YEAR ); atari_tt_hwclk() 245 RTC_WRITE( RTC_YEAR, year ); atari_tt_hwclk()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | rtc.c | 83 year = CMOS_READ(RTC_YEAR); mach_get_cmos_time()
|
/linux-4.1.27/arch/mips/dec/ |
H A D | time.c | 34 year = CMOS_READ(RTC_YEAR); read_persistent_clock()
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | smc37c93x.h | 173 #define RTC_YEAR 9 macro
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | rtc.c | 61 year = CMOS_READ(RTC_YEAR); init_rtc_epoch()
|
/linux-4.1.27/include/linux/rtc/ |
H A D | ds1685.h | 103 #define RTC_YEAR 0x09 /* Year 00-99 */ macro
|