time_alarm        153 drivers/rtc/rtc-mt7622.c 				      int time_alarm)
time_alarm        164 drivers/rtc/rtc-mt7622.c 		sec = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC));
time_alarm        165 drivers/rtc/rtc-mt7622.c 		min = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_MIN));
time_alarm        166 drivers/rtc/rtc-mt7622.c 		hour = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_HOU));
time_alarm        167 drivers/rtc/rtc-mt7622.c 		wday = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_DOW));
time_alarm        168 drivers/rtc/rtc-mt7622.c 		mday = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_DOM));
time_alarm        169 drivers/rtc/rtc-mt7622.c 		mon = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_MON));
time_alarm        170 drivers/rtc/rtc-mt7622.c 		year = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_YEA));
time_alarm        171 drivers/rtc/rtc-mt7622.c 	} while (sec != mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC)));
time_alarm        185 drivers/rtc/rtc-mt7622.c 				      int time_alarm)
time_alarm        192 drivers/rtc/rtc-mt7622.c 	mtk_w32(hw, MTK_RTC_TREG(time_alarm, MTK_YEA), year);
time_alarm        193 drivers/rtc/rtc-mt7622.c 	mtk_w32(hw, MTK_RTC_TREG(time_alarm, MTK_MON), tm->tm_mon + 1);
time_alarm        194 drivers/rtc/rtc-mt7622.c 	mtk_w32(hw, MTK_RTC_TREG(time_alarm, MTK_DOW), tm->tm_wday);
time_alarm        195 drivers/rtc/rtc-mt7622.c 	mtk_w32(hw, MTK_RTC_TREG(time_alarm, MTK_DOM), tm->tm_mday);
time_alarm        196 drivers/rtc/rtc-mt7622.c 	mtk_w32(hw, MTK_RTC_TREG(time_alarm, MTK_HOU), tm->tm_hour);
time_alarm        197 drivers/rtc/rtc-mt7622.c 	mtk_w32(hw, MTK_RTC_TREG(time_alarm, MTK_MIN), tm->tm_min);
time_alarm        198 drivers/rtc/rtc-mt7622.c 	mtk_w32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC), tm->tm_sec);
time_alarm        104 drivers/rtc/rtc-mxc.c static time64_t get_alarm_or_time(struct device *dev, int time_alarm)
time_alarm        110 drivers/rtc/rtc-mxc.c 	switch (time_alarm) {
time_alarm        132 drivers/rtc/rtc-mxc.c static void set_alarm_or_time(struct device *dev, int time_alarm, time64_t time)
time_alarm        150 drivers/rtc/rtc-mxc.c 	switch (time_alarm) {