Home
last modified time | relevance | path

Searched refs:RTC_SEC_REG_ADDR (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/rtc/
H A Dds1307.c33 #define RTC_SEC_REG_ADDR 0x00 macro
89 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get()
105 rtc_write (RTC_SEC_REG_ADDR, in rtc_get()
106 rtc_read (RTC_SEC_REG_ADDR) & ~RTC_SEC_BIT_CH); in rtc_get()
120 rtc_write(RTC_SEC_REG_ADDR, MCP7941X_BIT_ST); in rtc_get()
169 rtc_write (RTC_SEC_REG_ADDR, bin2bcd (tmp->tm_sec) | MCP7941X_BIT_ST); in rtc_set()
171 rtc_write (RTC_SEC_REG_ADDR, bin2bcd (tmp->tm_sec)); in rtc_set()
189 rtc_write (RTC_SEC_REG_ADDR, 0x00); /* clearing Clock Halt */ in rtc_reset()
249 buf[RTC_SEC_REG_ADDR] = bin2bcd(tm->tm_sec); in ds1307_rtc_set()
253 buf[RTC_SEC_REG_ADDR] |= MCP7941X_BIT_ST; in ds1307_rtc_set()
[all …]
H A Dpt7c4338.c27 #define RTC_SEC_REG_ADDR 0x0 macro
69 sec = rtc_read(RTC_SEC_REG_ADDR); in rtc_get()
118 rtc_write(RTC_SEC_REG_ADDR, bin2bcd(tmp->tm_sec)); in rtc_set()
126 rtc_write(RTC_SEC_REG_ADDR, 0x00); /* clearing Clock Halt */ in rtc_reset()
H A Dds1337.c25 #define RTC_SEC_REG_ADDR 0x0 macro
36 #define RTC_SEC_REG_ADDR 0x1 macro
79 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get()
142 rtc_write (RTC_SEC_REG_ADDR, bin2bcd (tmp->tm_sec)); in rtc_set()
H A Dds3231.c25 #define RTC_SEC_REG_ADDR 0x0 macro
70 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get()
128 rtc_write (RTC_SEC_REG_ADDR, bin2bcd (tmp->tm_sec)); in rtc_set()
H A Disl1208.c32 #define RTC_SEC_REG_ADDR 0x0 macro
67 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get()
122 rtc_write (RTC_SEC_REG_ADDR, bin2bcd (tmp->tm_sec)); in rtc_set()
H A Drx8025.c36 #define RTC_SEC_REG_ADDR 0x00 macro
90 sec = rtc_read(RTC_SEC_REG_ADDR); in rtc_get()
158 rtc_write (RTC_SEC_REG_ADDR, bin2bcd (tmp->tm_sec)); in rtc_set()