Lines Matching refs:rtc1_write
65 #define rtc1_write(offset, value) writew((value), rtc1_base + (offset)) macro
106 rtc1_write(ETIMELREG, (uint16_t)(sec << 15)); in write_elapsed_second()
107 rtc1_write(ETIMEMREG, (uint16_t)(sec >> 1)); in write_elapsed_second()
108 rtc1_write(ETIMEHREG, (uint16_t)(sec >> 17)); in write_elapsed_second()
167 rtc1_write(ECMPLREG, (uint16_t)(alarm_sec << 15)); in vr41xx_rtc_set_alarm()
168 rtc1_write(ECMPMREG, (uint16_t)(alarm_sec >> 1)); in vr41xx_rtc_set_alarm()
169 rtc1_write(ECMPHREG, (uint16_t)(alarm_sec >> 17)); in vr41xx_rtc_set_alarm()
241 rtc1_write(RTCL1LREG, count); in rtclong1_interrupt()
242 rtc1_write(RTCL1HREG, count >> 16); in rtclong1_interrupt()
301 rtc1_write(ECMPLREG, 0); in rtc_probe()
302 rtc1_write(ECMPMREG, 0); in rtc_probe()
303 rtc1_write(ECMPHREG, 0); in rtc_probe()
304 rtc1_write(RTCL1LREG, 0); in rtc_probe()
305 rtc1_write(RTCL1HREG, 0); in rtc_probe()