Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/rtc/
H A Dds1307.c36 #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 Dds1337.c28 #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 Dpt7c4338.c30 #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 Dds3231.c28 #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 Disl1208.c38 #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 Drx8025.c39 #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()