Searched refs:MT2712_SEC_MASK (Results 1 – 1 of 1) sorted by relevance
53 #define MT2712_SEC_MASK 0x003f macro142 & MT2712_SEC_MASK; in __mt2712_rtc_read_time()154 *sec = mt2712_readl(mt2712_rtc, MT2712_TC_SEC) & MT2712_SEC_MASK; in __mt2712_rtc_read_time()176 mt2712_writel(mt2712_rtc, MT2712_TC_SEC, tm->tm_sec & MT2712_SEC_MASK); in mt2712_rtc_set_time()202 tm->tm_sec = mt2712_readl(mt2712_rtc, MT2712_AL_SEC) & MT2712_SEC_MASK; in mt2712_rtc_read_alarm()241 & ~(MT2712_SEC_MASK)) | (tm->tm_sec & MT2712_SEC_MASK)); in mt2712_rtc_set_alarm()