Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/rtc/
H A Dmvrtc.c39 t->tm_sec = bcd2bin((time >> MVRTC_SEC_SFT) & MVRTC_SEC_MSK); in __mv_rtc_get()
78 time |= (bin2bcd(t->tm_sec) & MVRTC_SEC_MSK) << MVRTC_SEC_SFT; in __mv_rtc_set()
114 sec = bcd2bin((time >> MVRTC_SEC_SFT) & MVRTC_SEC_MSK); in __mv_rtc_reset()
118 if (sec == bcd2bin((time >> MVRTC_SEC_SFT) & MVRTC_SEC_MSK)) in __mv_rtc_reset()
H A Dmvrtc.h30 #define MVRTC_SEC_MSK 0x7f macro