Home
last modified time | relevance | path

Searched refs:RTC_WRITE4 (Results 1 – 1 of 1) sorted by relevance

/f-stack/freebsd/arm/ti/am335x/
H A Dam335x_rtc.c56 #define RTC_WRITE4(_sc, reg, value) \ macro
119 RTC_WRITE4(sc, RTC_KICK0R, RTC_KICK0R_PASS); in am335x_rtc_attach()
120 RTC_WRITE4(sc, RTC_KICK1R, RTC_KICK1R_PASS); in am335x_rtc_attach()
122 RTC_WRITE4(sc, RTC_CTRL, 0); in am335x_rtc_attach()
124 RTC_WRITE4(sc, RTC_INTR, 0); in am335x_rtc_attach()
130 RTC_WRITE4(sc, RTC_PMIC, PMIC_PWR_ENABLE); in am335x_rtc_attach()
162 RTC_WRITE4(rtc_sc, RTC_CTRL, 0); in am335x_rtc_pmic_pwr_toggle()
184 RTC_WRITE4(rtc_sc, RTC_ALARM2_HOURS, TOBCD(ct.hour)); in am335x_rtc_pmic_pwr_toggle()
185 RTC_WRITE4(rtc_sc, RTC_ALARM2_DAYS, TOBCD(ct.day)); in am335x_rtc_pmic_pwr_toggle()
189 RTC_WRITE4(rtc_sc, RTC_INTR, RTC_INTR_ALARM2); in am335x_rtc_pmic_pwr_toggle()
[all …]