Searched refs:RTC_SEC_REG_ADDR (Results 1 – 8 of 8) sorted by relevance
/u-boot/drivers/rtc/ |
A D | ds1307.c | 35 #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() 234 buf[RTC_SEC_REG_ADDR] |= MCP7941X_BIT_ST; in ds1307_rtc_set() 259 buf[RTC_SEC_REG_ADDR] &= ~RTC_SEC_BIT_CH; in ds1307_rtc_get() 260 dm_i2c_reg_write(dev, RTC_SEC_REG_ADDR, in ds1307_rtc_get() 261 buf[RTC_SEC_REG_ADDR]); in ds1307_rtc_get() 270 dm_i2c_reg_write(dev, RTC_SEC_REG_ADDR, in ds1307_rtc_get() 272 dm_i2c_reg_write(dev, RTC_SEC_REG_ADDR, in ds1307_rtc_get() 273 buf[RTC_SEC_REG_ADDR]); in ds1307_rtc_get() [all …]
|
A D | pt7c4338.c | 29 #define RTC_SEC_REG_ADDR 0x0 macro 72 sec = rtc_read(RTC_SEC_REG_ADDR); in rtc_get() 121 rtc_write(RTC_SEC_REG_ADDR, bin2bcd(tmp->tm_sec)); in rtc_set() 129 rtc_write(RTC_SEC_REG_ADDR, 0x00); /* clearing Clock Halt */ in rtc_reset() 149 sec = rtc_read(dev, RTC_SEC_REG_ADDR); in pt7c4338_rtc_get() 199 rtc_write(dev, RTC_SEC_REG_ADDR, bin2bcd(tmp->tm_sec)); in pt7c4338_rtc_set() 206 rtc_write(dev, RTC_SEC_REG_ADDR, 0x00); /* clearing Clock Halt */ in pt7c4338_rtc_reset()
|
A D | ds1337.c | 25 #define RTC_SEC_REG_ADDR 0x0 macro 36 #define RTC_SEC_REG_ADDR 0x1 macro 80 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get() 143 rtc_write (RTC_SEC_REG_ADDR, bin2bcd (tmp->tm_sec)); in rtc_set() 213 sec = rtc_read(dev, RTC_SEC_REG_ADDR); in ds1337_rtc_get() 273 rtc_write(dev, RTC_SEC_REG_ADDR, bin2bcd(tmp->tm_sec)); in ds1337_rtc_set()
|
A D | ds3231.c | 27 #define RTC_SEC_REG_ADDR 0x0 macro 73 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get() 131 rtc_write (RTC_SEC_REG_ADDR, bin2bcd (tmp->tm_sec)); in rtc_set() 181 sec = dm_i2c_reg_read(dev, RTC_SEC_REG_ADDR); in ds3231_rtc_get() 232 dm_i2c_reg_write(dev, RTC_SEC_REG_ADDR, bin2bcd(tmp->tm_sec)); in ds3231_rtc_set()
|
A D | rv8803.c | 24 #define RTC_SEC_REG_ADDR 0x00 macro 57 buf[RTC_SEC_REG_ADDR] = bin2bcd(tm->tm_sec); in rv8803_rtc_set() 89 tm->tm_sec = bcd2bin(buf[RTC_SEC_REG_ADDR] & 0x7F); in rv8803_rtc_get()
|
A D | isl1208.c | 32 #define RTC_SEC_REG_ADDR 0x0 macro 97 tmp->tm_sec = bcd2bin(buf[RTC_SEC_REG_ADDR] & 0x7F); in isl1208_rtc_get() 146 buf[RTC_SEC_REG_ADDR] = bin2bcd(tmp->tm_sec); in isl1208_rtc_set()
|
A D | ds3232.c | 17 #define RTC_SEC_REG_ADDR 0x00 macro 151 buf[RTC_SEC_REG_ADDR] = bin2bcd(tm->tm_sec); in ds3232_rtc_set() 183 tm->tm_sec = bcd2bin(buf[RTC_SEC_REG_ADDR] & 0x7F); in ds3232_rtc_get()
|
A D | rx8025.c | 46 #define RTC_SEC_REG_ADDR 0x00 macro 114 sec = rtc_read(RTC_SEC_REG_ADDR); 195 if (rtc_write(dev, RTC_SEC_REG_ADDR, bin2bcd(tmp->tm_sec)))
|
Completed in 9 milliseconds