Searched refs:rtc1_write (Results 1 – 1 of 1) sorted by relevance
/drivers/rtc/ |
D | rtc-vr41xx.c | 77 #define rtc1_write(offset, value) writew((value), rtc1_base + (offset)) macro 115 rtc1_write(ETIMELREG, (uint16_t)(sec << 15)); in write_elapsed_second() 116 rtc1_write(ETIMEMREG, (uint16_t)(sec >> 1)); in write_elapsed_second() 117 rtc1_write(ETIMEHREG, (uint16_t)(sec >> 17)); in write_elapsed_second() 127 rtc1_write(ECMPLREG, 0); in vr41xx_rtc_release() 128 rtc1_write(ECMPMREG, 0); in vr41xx_rtc_release() 129 rtc1_write(ECMPHREG, 0); in vr41xx_rtc_release() 130 rtc1_write(RTCL1LREG, 0); in vr41xx_rtc_release() 131 rtc1_write(RTCL1HREG, 0); in vr41xx_rtc_release() 196 rtc1_write(ECMPLREG, (uint16_t)(alarm_sec << 15)); in vr41xx_rtc_set_alarm() [all …]
|