Searched refs:RTC_READ (Results 1 – 1 of 1) sorted by relevance
| /f-stack/freebsd/arm/allwinner/ |
| H A D | aw_rtc.c | 95 #define RTC_READ(sc, reg) bus_read_4((sc)->res, (reg)) macro 221 val = RTC_READ(sc, LOSC_CTRL_REG); in aw_rtc_attach() 229 val = RTC_READ(sc, sc->conf->rtc_losc_sta); in aw_rtc_attach() 292 rdate = RTC_READ(sc, sc->conf->rtc_date); in aw_rtc_gettime() 293 rtime = RTC_READ(sc, sc->conf->rtc_time); in aw_rtc_gettime() 296 rdate = RTC_READ(sc, sc->conf->rtc_date); in aw_rtc_gettime() 330 for (clk = 0; RTC_READ(sc, LOSC_CTRL_REG) & LOSC_BUSY_MASK; clk++) { in aw_rtc_settime() 347 for (clk = 0; RTC_READ(sc, LOSC_CTRL_REG) & LOSC_BUSY_MASK; clk++) { in aw_rtc_settime() 356 for (clk = 0; RTC_READ(sc, LOSC_CTRL_REG) & LOSC_BUSY_MASK; clk++) { in aw_rtc_settime()
|