Lines Matching refs:mtk_r32
113 static u32 mtk_r32(struct mtk_rtc *rtc, u32 reg) in mtk_r32() function
122 val = mtk_r32(rtc, reg); in mtk_rmw()
164 sec = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC)); in mtk_rtc_get_alarm_or_time()
165 min = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_MIN)); in mtk_rtc_get_alarm_or_time()
166 hour = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_HOU)); in mtk_rtc_get_alarm_or_time()
167 wday = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_DOW)); in mtk_rtc_get_alarm_or_time()
168 mday = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_DOM)); in mtk_rtc_get_alarm_or_time()
169 mon = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_MON)); in mtk_rtc_get_alarm_or_time()
170 year = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_YEA)); in mtk_rtc_get_alarm_or_time()
171 } while (sec != mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC))); in mtk_rtc_get_alarm_or_time()
206 irq_sta = mtk_r32(hw, MTK_RTC_INT); in mtk_rtc_alarmirq()
254 wkalrm->enabled = !!(mtk_r32(hw, MTK_RTC_AL_CTL) & RTC_AL_EN); in mtk_rtc_getalarm()
255 wkalrm->pending = !!(mtk_r32(hw, MTK_RTC_INT) & RTC_INT_AL_STA); in mtk_rtc_getalarm()