Home
last modified time | relevance | path

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

/external/u-boot/drivers/rtc/
Dm41t60.c57 #define RTC_CTRL 0x7 macro
101 if (0x00 != (data[RTC_CTRL] & 0x80)) { in rtc_validate()
138 data[RTC_CTRL] &= 0x7F; /* reset OUT bit */ in rtc_validate()
220 if ((data[RTC_CTRL] & 0x3F) != l) { in rtc_reset()
223 data[RTC_CTRL] &= 0xC0; in rtc_reset()
224 data[RTC_CTRL] |= (uchar) l; in rtc_reset()
233 data[RTC_CTRL] &= 0xBF; in rtc_reset()
234 if (i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CTRL, 1, data + RTC_CTRL, 1)) { in rtc_reset()