Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/rtc/
H A Dds1307.c49 #define MCP7941X_BIT_ST 0x80 macro
116 if (!(sec & MCP7941X_BIT_ST)) { in rtc_get()
117 rtc_write(RTC_SEC_REG_ADDR, MCP7941X_BIT_ST); in rtc_get()
166 rtc_write (RTC_SEC_REG_ADDR, bin2bcd (tmp->tm_sec) | MCP7941X_BIT_ST); in rtc_set()
231 buf[RTC_SEC_REG_ADDR] |= MCP7941X_BIT_ST; in ds1307_rtc_set()
272 if (!(buf[RTC_SEC_REG_ADDR] & MCP7941X_BIT_ST)) { in ds1307_rtc_get()
274 MCP7941X_BIT_ST); in ds1307_rtc_get()