Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/rtc/
H A Dmvrtc.c42 t->tm_sec = bcd2bin((time >> MVRTC_SEC_SFT) & MVRTC_SEC_MSK); in rtc_get()
74 time |= (bin2bcd(t->tm_sec) & MVRTC_SEC_MSK) << MVRTC_SEC_SFT; in rtc_set()
103 sec = bcd2bin((time >> MVRTC_SEC_SFT) & MVRTC_SEC_MSK); in rtc_reset()
107 if (sec == bcd2bin((time >> MVRTC_SEC_SFT) & MVRTC_SEC_MSK)) in rtc_reset()
H A Dmvrtc.h26 #define MVRTC_SEC_MSK 0x7f macro