Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-vt8500.c47 #define TIME_MIN_S 7 macro
48 #define TIME_MIN_MASK (0x7f << TIME_MIN_S)
110 tm->tm_min = bcd2bin((time & TIME_MIN_MASK) >> TIME_MIN_S); in vt8500_rtc_read_time()
132 | (bin2bcd(tm->tm_min) << TIME_MIN_S) in vt8500_rtc_set_time()
149 alrm->time.tm_min = bcd2bin((alarm & TIME_MIN_MASK) >> TIME_MIN_S); in vt8500_rtc_read_alarm()
165 | (bin2bcd(alrm->time.tm_min) << TIME_MIN_S) in vt8500_rtc_set_alarm()