Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-mt2712.c53 #define MT2712_SEC_MASK 0x003f macro
142 & 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()