Searched refs:RTC_DAY_REG_ADDR (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/rtc/ |
| H A D | ds1307.c | 36 #define RTC_DAY_REG_ADDR 0x03 macro 92 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get() 114 rtc_write(RTC_DAY_REG_ADDR, in rtc_get() 160 rtc_write (RTC_DAY_REG_ADDR, in rtc_set() 163 rtc_write (RTC_DAY_REG_ADDR, bin2bcd (tmp->tm_wday + 1)); in rtc_set() 245 buf[RTC_DAY_REG_ADDR] = bin2bcd(tm->tm_wday + 1); in ds1307_rtc_set() 252 buf[RTC_DAY_REG_ADDR] |= MCP7941X_BIT_VBATEN; in ds1307_rtc_set() 287 if (!(buf[RTC_DAY_REG_ADDR] & MCP7941X_BIT_VBATEN)) { in ds1307_rtc_get() 288 dm_i2c_reg_write(dev, RTC_DAY_REG_ADDR, in ds1307_rtc_get() 289 buf[RTC_DAY_REG_ADDR] | in ds1307_rtc_get() [all …]
|
| H A D | ds1337.c | 28 #define RTC_DAY_REG_ADDR 0x3 macro 39 #define RTC_DAY_REG_ADDR 0x4 macro 82 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get() 138 rtc_write (RTC_DAY_REG_ADDR, bin2bcd (tmp->tm_wday + 1)); in rtc_set()
|
| H A D | pt7c4338.c | 30 #define RTC_DAY_REG_ADDR 0x3 macro 72 wday = rtc_read(RTC_DAY_REG_ADDR); in rtc_get() 114 rtc_write(RTC_DAY_REG_ADDR, bin2bcd(tmp->tm_wday + 1)); in rtc_set()
|
| H A D | ds3231.c | 28 #define RTC_DAY_REG_ADDR 0x3 macro 73 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get() 124 rtc_write (RTC_DAY_REG_ADDR, bin2bcd (tmp->tm_wday + 1)); in rtc_set()
|
| H A D | isl1208.c | 38 #define RTC_DAY_REG_ADDR 0x6 macro 70 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get() 118 rtc_write (RTC_DAY_REG_ADDR, bin2bcd (tmp->tm_wday)); in rtc_set()
|
| H A D | rx8025.c | 39 #define RTC_DAY_REG_ADDR 0x03 macro 93 wday = rtc_read(RTC_DAY_REG_ADDR); in rtc_get() 154 rtc_write (RTC_DAY_REG_ADDR, bin2bcd (tmp->tm_wday)); in rtc_set()
|