Searched refs:RTC_READ (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/sys/dev/ic/
H A Dpl031.c47 #define RTC_READ(sc, reg) \ macro
57 tv->tv_sec = RTC_READ(sc, RTCDR);
/netbsd-current/sys/arch/arm/amlogic/
H A Dmeson_rtc.c73 #define RTC_READ(sc, reg) \ macro
80 RTC_WRITE(sc, reg, RTC_READ(sc, reg) | bits);
87 RTC_WRITE(sc, reg, RTC_READ(sc, reg) & ~bits);
101 cnt1 = RTC_READ(sc, AO_RTC_REG2);
103 cnt2 = RTC_READ(sc, AO_RTC_REG2);
207 data |= __SHIFTOUT(RTC_READ(sc, AO_RTC_REG1), AO_RTC_REG1_SDO);
246 while (!(RTC_READ(sc, AO_RTC_REG1) & AO_RTC_REG1_S_READY)) {
279 u = RTC_READ(sc, AO_RTC_REG4);
285 u = RTC_READ(sc, AO_RTC_REG0);
292 while ((RTC_READ(s
[all...]
/netbsd-current/sys/arch/arm/samsung/
H A Dexynos_rtc.c71 #define RTC_READ(sc, reg) \ macro
129 tv->tv_sec = RTC_READ(sc, EXYNOS5_RTC_OFFSET);
142 if (!RTC_READ(sc, EXYNOS5_RTC_OFFSET))
/netbsd-current/sys/arch/arm/nvidia/
H A Dtegra_rtc.c65 #define RTC_READ(sc, reg) \ macro
121 tv->tv_sec = RTC_READ(sc, RTC_SECONDS_REG);
134 if ((RTC_READ(sc, RTC_BUSY_REG) & RTC_BUSY_STATUS) == 0)
/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_rtc.c304 #define RTC_READ(sc, reg) \ macro
446 const uint32_t yymmdd = RTC_READ(sc, conf->yy_mm_dd_reg);
447 const uint32_t hhmmss = RTC_READ(sc, conf->hh_mm_ss_reg);
528 if (RTC_READ(sc, SUN6I_LOSC_CTRL_REG) & SUN6I_LOSC_CTRL_EXT_OSC)
536 __SHIFTOUT(RTC_READ(sc, SUN6I_INTOSC_CLK_PRESCAL_REG),
552 uint32_t reg = RTC_READ(sc, SUN6I_RTC_LOSC_OUT_GATING_REG);
571 uint32_t reg = RTC_READ(sc, SUN6I_RTC_LOSC_OUT_GATING_REG);
594 uint32_t reg = RTC_READ(sc, SUN6I_LOSC_CTRL_REG);
614 reg = RTC_READ(sc, SUN6I_LOSC_CTRL_REG);

Completed in 84 milliseconds