Home
last modified time | relevance | path

Searched refs:rtc_read (Results 1 – 14 of 14) sorted by relevance

/u-boot/drivers/rtc/
A Dm48t35ax.c30 ccr = rtc_read(0); in rtc_get()
34 sec = rtc_read (0x1); in rtc_get()
35 min = rtc_read (0x2); in rtc_get()
36 hour = rtc_read (0x3); in rtc_get()
38 date = rtc_read (0x5); in rtc_get()
40 year = rtc_read (0x7); in rtc_get()
43 ccr = rtc_read(0); in rtc_get()
79 ccr = rtc_read(0); in rtc_set()
95 ccr = rtc_read(0); in rtc_set()
110 val = rtc_read (0x1); in rtc_reset()
[all …]
A Dds1556.c61 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()
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()
113 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
138 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
139 reg_b = rtc_read( RTC_CONTROLB ); in rtc_reset()
[all …]
A Dds174x.c56 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()
60 sec = rtc_read( RTC_SECONDS ); in rtc_get()
61 min = rtc_read( RTC_MINUTES ); in rtc_get()
62 hour = rtc_read( RTC_HOURS ); in rtc_get()
65 mon = rtc_read( RTC_MONTH ); in rtc_get()
66 year = rtc_read( RTC_YEAR ); in rtc_get()
67 century = rtc_read( RTC_CENTURY ); in rtc_get()
108 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
133 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
134 reg_b = rtc_read( RTC_CONTROLB ); in rtc_reset()
[all …]
A Dmax6900.c25 static uchar rtc_read (uchar reg) in rtc_read() function
44 sec = rtc_read (0x80); in rtc_get()
45 min = rtc_read (0x82); in rtc_get()
46 hour = rtc_read (0x84); in rtc_get()
47 mday = rtc_read (0x86); in rtc_get()
48 mon = rtc_read (0x88); in rtc_get()
49 wday = rtc_read (0x8a); in rtc_get()
50 year = rtc_read (0x8c); in rtc_get()
51 cent = rtc_read (0x92); in rtc_get()
55 if ((sec != 59) || (rtc_read(0x80) == sec)){ in rtc_get()
A Dpt7c4338.c54 static u8 rtc_read(u8 reg) in rtc_read() function
72 sec = rtc_read(RTC_SEC_REG_ADDR); in rtc_get()
73 min = rtc_read(RTC_MIN_REG_ADDR); in rtc_get()
74 hour = rtc_read(RTC_HR_REG_ADDR); in rtc_get()
75 wday = rtc_read(RTC_DAY_REG_ADDR); in rtc_get()
76 mday = rtc_read(RTC_DATE_REG_ADDR); in rtc_get()
77 mon = rtc_read(RTC_MON_REG_ADDR); in rtc_get()
78 year = rtc_read(RTC_YR_REG_ADDR); in rtc_get()
87 rtc_read(RTC_CTL_STAT_REG_ADDR)\ in rtc_get()
149 sec = rtc_read(dev, RTC_SEC_REG_ADDR); in pt7c4338_rtc_get()
[all …]
A Dds1337.c67 static uchar rtc_read (uchar reg);
78 control = rtc_read (RTC_CTL_REG_ADDR); in rtc_get()
79 status = rtc_read (RTC_STAT_REG_ADDR); in rtc_get()
80 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get()
81 min = rtc_read (RTC_MIN_REG_ADDR); in rtc_get()
82 hour = rtc_read (RTC_HR_REG_ADDR); in rtc_get()
83 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get()
84 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get()
85 mon_cent = rtc_read (RTC_MON_REG_ADDR); in rtc_get()
86 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()
[all …]
A Dds164x.c59 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()
63 sec = rtc_read( RTC_SECONDS ); in rtc_get()
64 min = rtc_read( RTC_MINUTES ); in rtc_get()
65 hour = rtc_read( RTC_HOURS ); in rtc_get()
66 mday = rtc_read( RTC_DAY_OF_MONTH ); in rtc_get()
67 wday = rtc_read( RTC_DAY_OF_WEEK ); in rtc_get()
68 mon = rtc_read( RTC_MONTH ); in rtc_get()
69 year = rtc_read( RTC_YEAR ); in rtc_get()
111 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
135 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
[all …]
A Dmk48t59.c21 static uchar rtc_read (short reg) in rtc_read() function
37 static uchar rtc_read (short reg) in rtc_read() function
59 *d++ = rtc_read(s++); in nvram_read()
81 save_ctrl_a = rtc_read(RTC_CONTROLA); in rtc_get()
87 sec = rtc_read (RTC_SECONDS); in rtc_get()
88 min = rtc_read (RTC_MINUTES); in rtc_get()
89 hour = rtc_read (RTC_HOURS); in rtc_get()
90 mday = rtc_read (RTC_DAY_OF_MONTH); in rtc_get()
91 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()
92 mon = rtc_read (RTC_MONTH); in rtc_get()
[all …]
A Dpcf8563.c31 sec = rtc_read (0x02); in rtc_get()
32 min = rtc_read (0x03); in rtc_get()
33 hour = rtc_read (0x04); in rtc_get()
34 mday = rtc_read (0x05); in rtc_get()
35 wday = rtc_read (0x06); in rtc_get()
36 mon_cent= rtc_read (0x07); in rtc_get()
37 year = rtc_read (0x08); in rtc_get()
44 rtc_read (0x0C), in rtc_get()
45 rtc_read (0x0B), in rtc_get()
46 rtc_read (0x0A), in rtc_get()
[all …]
A Dds1306.c304 sec = rtc_read (RTC_SECONDS); in rtc_get()
305 min = rtc_read (RTC_MINUTES); in rtc_get()
306 hour = rtc_read (RTC_HOURS); in rtc_get()
307 mday = rtc_read (RTC_DATE_OF_MONTH); in rtc_get()
308 wday = rtc_read (RTC_DAY_OF_WEEK); in rtc_get()
309 mon = rtc_read (RTC_MONTH); in rtc_get()
310 year = rtc_read (RTC_YEAR); in rtc_get()
319 rtc_read (RTC_HOURS_ALARM0), in rtc_get()
320 rtc_read (RTC_MINUTES_ALARM0), rtc_read (RTC_SECONDS_ALARM0)); in rtc_get()
323 rtc_read (RTC_HOURS_ALARM1), in rtc_get()
[all …]
A Drx8025.c89 #define rtc_read(reg) buf[(reg) & 0xf] macro
91 #define rtc_read(reg) buf[((reg) + 1) & 0xf] macro
114 sec = rtc_read(RTC_SEC_REG_ADDR);
115 min = rtc_read(RTC_MIN_REG_ADDR);
116 hour = rtc_read(RTC_HR_REG_ADDR);
117 wday = rtc_read(RTC_DAY_REG_ADDR);
118 mday = rtc_read(RTC_DATE_REG_ADDR);
119 mon = rtc_read(RTC_MON_REG_ADDR);
120 year = rtc_read(RTC_YR_REG_ADDR);
127 ctl2 = rtc_read(RTC_CTL2_REG_ADDR);
[all …]
A Dds3231.c59 static uchar rtc_read (uchar reg);
71 control = rtc_read (RTC_CTL_REG_ADDR); in rtc_get()
72 status = rtc_read (RTC_STAT_REG_ADDR); in rtc_get()
73 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get()
74 min = rtc_read (RTC_MIN_REG_ADDR); in rtc_get()
75 hour = rtc_read (RTC_HR_REG_ADDR); in rtc_get()
76 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get()
77 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get()
78 mon_cent = rtc_read (RTC_MON_REG_ADDR); in rtc_get()
79 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()
[all …]
A Dds1307.c75 static uchar rtc_read (uchar reg);
89 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()
106 rtc_read (RTC_SEC_REG_ADDR) & ~RTC_SEC_BIT_CH); in rtc_get()
197 uchar rtc_read (uchar reg) in rtc_read() function
A Dds1374.c75 static uchar rtc_read (uchar reg);
99 tmp = rtc_read(RtcTodAddr[i]); in rtc_get()
106 tmp = rtc_read(RtcTodAddr[i]); in rtc_get()
120 if (rtc_read(RTC_SR_ADDR) & RTC_SR_BIT_OSF) { in rtc_get()
195 static uchar rtc_read (uchar reg) in rtc_read() function

Completed in 15 milliseconds