Searched refs:rtc_read (Results 1 – 14 of 14) sorted by relevance
21 static uchar rtc_read (uchar reg);32 ccr = rtc_read(0); in rtc_get()36 sec = rtc_read (0x1); in rtc_get()37 min = rtc_read (0x2); in rtc_get()38 hour = rtc_read (0x3); in rtc_get()39 cent_day= rtc_read (0x4); in rtc_get()40 date = rtc_read (0x5); in rtc_get()41 month = rtc_read (0x6); in rtc_get()42 year = rtc_read (0x7); in rtc_get()45 ccr = rtc_read(0); in rtc_get()[all …]
20 static uchar rtc_read (uchar reg);30 sec = rtc_read (0x02); in rtc_get()31 min = rtc_read (0x03); in rtc_get()32 hour = rtc_read (0x04); in rtc_get()33 mday = rtc_read (0x05); in rtc_get()34 wday = rtc_read (0x06); in rtc_get()35 mon_cent= rtc_read (0x07); in rtc_get()36 year = rtc_read (0x08); in rtc_get()43 rtc_read (0x0C), in rtc_get()44 rtc_read (0x0B), in rtc_get()[all …]
21 static uchar rtc_read( unsigned int addr );58 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()62 sec = rtc_read( RTC_SECONDS ); in rtc_get()63 min = rtc_read( RTC_MINUTES ); in rtc_get()64 hour = rtc_read( RTC_HOURS ); in rtc_get()65 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get()66 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()67 mon = rtc_read( RTC_MONTH ); in rtc_get()68 year = rtc_read( RTC_YEAR ); in rtc_get()69 century = rtc_read( RTC_CENTURY ); in rtc_get()[all …]
24 static uchar rtc_read( unsigned int addr );61 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()65 sec = rtc_read( RTC_SECONDS ); in rtc_get()66 min = rtc_read( RTC_MINUTES ); in rtc_get()67 hour = rtc_read( RTC_HOURS ); in rtc_get()68 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get()69 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()70 mon = rtc_read( RTC_MONTH ); in rtc_get()71 year = rtc_read( RTC_YEAR ); in rtc_get()72 century = rtc_read( RTC_CENTURY ); in rtc_get()[all …]
25 static uchar rtc_read(unsigned int addr );61 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()65 sec = rtc_read( RTC_SECONDS ); in rtc_get()66 min = rtc_read( RTC_MINUTES ); in rtc_get()67 hour = rtc_read( RTC_HOURS ); in rtc_get()68 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get()69 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()70 mon = rtc_read( RTC_MONTH ); in rtc_get()71 year = rtc_read( RTC_YEAR ); in rtc_get()113 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()[all …]
55 static uchar rtc_read (uchar reg);67 control = rtc_read (RTC_CTL_REG_ADDR); in rtc_get()68 status = rtc_read (RTC_STAT_REG_ADDR); in rtc_get()69 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get()70 min = rtc_read (RTC_MIN_REG_ADDR); in rtc_get()71 hour = rtc_read (RTC_HR_REG_ADDR); in rtc_get()72 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get()73 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get()74 mon_cent = rtc_read (RTC_MON_REG_ADDR); in rtc_get()75 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()[all …]
21 static uchar rtc_read (short reg) in rtc_read() function37 static uchar rtc_read (short reg) in rtc_read() function59 *d++ = rtc_read(s++); in nvram_read()83 save_ctrl_a = rtc_read(RTC_CONTROLA); in rtc_get()89 sec = rtc_read (RTC_SECONDS); in rtc_get()90 min = rtc_read (RTC_MINUTES); in rtc_get()91 hour = rtc_read (RTC_HOURS); in rtc_get()92 mday = rtc_read (RTC_DAY_OF_MONTH); in rtc_get()93 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()94 mon = rtc_read (RTC_MONTH); in rtc_get()[all …]
26 static uchar rtc_read (uchar reg) in rtc_read() function45 sec = rtc_read (0x80); in rtc_get()46 min = rtc_read (0x82); in rtc_get()47 hour = rtc_read (0x84); in rtc_get()48 mday = rtc_read (0x86); in rtc_get()49 mon = rtc_read (0x88); in rtc_get()50 wday = rtc_read (0x8a); in rtc_get()51 year = rtc_read (0x8c); in rtc_get()52 cent = rtc_read (0x92); in rtc_get()56 if ((sec != 59) || (rtc_read(0x80) == sec)){ in rtc_get()
65 static uchar rtc_read (uchar reg);76 control = rtc_read (RTC_CTL_REG_ADDR); in rtc_get()77 status = rtc_read (RTC_STAT_REG_ADDR); in rtc_get()78 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get()79 min = rtc_read (RTC_MIN_REG_ADDR); in rtc_get()80 hour = rtc_read (RTC_HR_REG_ADDR); in rtc_get()81 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get()82 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get()83 mon_cent = rtc_read (RTC_MON_REG_ADDR); in rtc_get()84 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()[all …]
50 static u8 rtc_read(u8 reg) in rtc_read() function67 ctl_stat = rtc_read(RTC_CTL_STAT_REG_ADDR); in rtc_get()68 sec = rtc_read(RTC_SEC_REG_ADDR); in rtc_get()69 min = rtc_read(RTC_MIN_REG_ADDR); in rtc_get()70 hour = rtc_read(RTC_HR_REG_ADDR); in rtc_get()71 wday = rtc_read(RTC_DAY_REG_ADDR); in rtc_get()72 mday = rtc_read(RTC_DATE_REG_ADDR); in rtc_get()73 mon = rtc_read(RTC_MON_REG_ADDR); in rtc_get()74 year = rtc_read(RTC_YR_REG_ADDR); in rtc_get()83 rtc_read(RTC_CTL_STAT_REG_ADDR)\ in rtc_get()
279 static unsigned char rtc_read (unsigned char reg);305 sec = rtc_read (RTC_SECONDS); in rtc_get()306 min = rtc_read (RTC_MINUTES); in rtc_get()307 hour = rtc_read (RTC_HOURS); in rtc_get()308 mday = rtc_read (RTC_DATE_OF_MONTH); in rtc_get()309 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()310 mon = rtc_read (RTC_MONTH); in rtc_get()311 year = rtc_read (RTC_YEAR); in rtc_get()319 rtc_read (RTC_DAY_OF_WEEK_ALARM0), in rtc_get()320 rtc_read (RTC_HOURS_ALARM0), in rtc_get()[all …]
73 #define rtc_read(reg) buf[((reg) + 1) & 0xf] macro89 sec = rtc_read(RTC_SEC_REG_ADDR); in rtc_get()90 min = rtc_read(RTC_MIN_REG_ADDR); in rtc_get()91 hour = rtc_read(RTC_HR_REG_ADDR); in rtc_get()92 wday = rtc_read(RTC_DAY_REG_ADDR); in rtc_get()93 mday = rtc_read(RTC_DATE_REG_ADDR); in rtc_get()94 mon = rtc_read(RTC_MON_REG_ADDR); in rtc_get()95 year = rtc_read(RTC_YR_REG_ADDR); in rtc_get()102 ctl2 = rtc_read(RTC_CTL2_REG_ADDR); in rtc_get()120 if (rtc_read(RTC_CTL1_REG_ADDR) & RTC_CTL1_BIT_2412) in rtc_get()[all …]
74 static uchar rtc_read (uchar reg);88 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get()89 min = rtc_read (RTC_MIN_REG_ADDR); in rtc_get()90 hour = rtc_read (RTC_HR_REG_ADDR); in rtc_get()91 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get()92 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get()93 mon = rtc_read (RTC_MON_REG_ADDR); in rtc_get()94 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()105 rtc_read (RTC_SEC_REG_ADDR) & ~RTC_SEC_BIT_CH); in rtc_get()196 uchar rtc_read (uchar reg) in rtc_read() function
77 static uchar rtc_read (uchar reg);101 tmp = rtc_read(RtcTodAddr[i]); in rtc_get()108 tmp = rtc_read(RtcTodAddr[i]); in rtc_get()122 if (rtc_read(RTC_SR_ADDR) & RTC_SR_BIT_OSF) { in rtc_get()197 static uchar rtc_read (uchar reg) in rtc_read() function