Home | History | Annotate | Download | only in amlogic

Lines Matching defs:RTC_READ

73 #define RTC_READ(sc, reg) \
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(sc, AO_RTC_REG0) & AO_RTC_REG0_SERIAL_BUSY) != 0)