Searched refs:RTC_SEC_REG_ADDR (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/rtc/ |
| H A D | ds1307.c | 33 #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 D | pt7c4338.c | 27 #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 D | ds1337.c | 25 #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 D | ds3231.c | 25 #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 D | isl1208.c | 32 #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 D | rx8025.c | 36 #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()
|