Searched refs:RTC_READ (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/arm/allwinner/ |
H A D | aw_rtc.c | 92 #define RTC_READ(sc, reg) bus_read_4((sc)->res, (reg)) macro 219 val = RTC_READ(sc, LOSC_CTRL_REG); in aw_rtc_attach() 227 val = RTC_READ(sc, sc->conf->rtc_losc_sta); in aw_rtc_attach() 295 rdate = RTC_READ(sc, sc->conf->rtc_date); in aw_rtc_gettime() 296 rtime = RTC_READ(sc, sc->conf->rtc_time); in aw_rtc_gettime() 299 rdate = RTC_READ(sc, sc->conf->rtc_date); in aw_rtc_gettime() 333 for (clk = 0; RTC_READ(sc, LOSC_CTRL_REG) & LOSC_BUSY_MASK; clk++) { in aw_rtc_settime() 350 for (clk = 0; RTC_READ(sc, LOSC_CTRL_REG) & LOSC_BUSY_MASK; clk++) { in aw_rtc_settime() 359 for (clk = 0; RTC_READ(sc, LOSC_CTRL_REG) & LOSC_BUSY_MASK; clk++) { in aw_rtc_settime()
|