Lines Matching refs:rtc_read
67 static uchar rtc_read (uchar reg);
78 control = rtc_read (RTC_CTL_REG_ADDR); in rtc_get()
79 status = rtc_read (RTC_STAT_REG_ADDR); in rtc_get()
80 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get()
81 min = rtc_read (RTC_MIN_REG_ADDR); in rtc_get()
82 hour = rtc_read (RTC_HR_REG_ADDR); in rtc_get()
83 wday = rtc_read (RTC_DAY_REG_ADDR); in rtc_get()
84 mday = rtc_read (RTC_DATE_REG_ADDR); in rtc_get()
85 mon_cent = rtc_read (RTC_MON_REG_ADDR); in rtc_get()
86 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()
101 rtc_read (RTC_STAT_REG_ADDR) & ~RTC_STAT_BIT_OSF); in rtc_get()
185 uchar rtc_read (uchar reg) in rtc_read() function
196 static uchar rtc_read(struct udevice *dev, uchar reg) in rtc_read() function
211 control = rtc_read(dev, RTC_CTL_REG_ADDR); in ds1337_rtc_get()
212 status = rtc_read(dev, RTC_STAT_REG_ADDR); in ds1337_rtc_get()
213 sec = rtc_read(dev, RTC_SEC_REG_ADDR); in ds1337_rtc_get()
214 min = rtc_read(dev, RTC_MIN_REG_ADDR); in ds1337_rtc_get()
215 hour = rtc_read(dev, RTC_HR_REG_ADDR); in ds1337_rtc_get()
216 wday = rtc_read(dev, RTC_DAY_REG_ADDR); in ds1337_rtc_get()
217 mday = rtc_read(dev, RTC_DATE_REG_ADDR); in ds1337_rtc_get()
218 mon_cent = rtc_read(dev, RTC_MON_REG_ADDR); in ds1337_rtc_get()
219 year = rtc_read(dev, RTC_YR_REG_ADDR); in ds1337_rtc_get()
235 rtc_read(dev, RTC_STAT_REG_ADDR) & ~RTC_STAT_BIT_OSF); in ds1337_rtc_get()