Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-vt8500.c46 #define TIME_HOUR_MASK (0x3f << TIME_HOUR_S) macro
111 tm->tm_hour = bcd2bin((time & TIME_HOUR_MASK) >> TIME_HOUR_S); in vt8500_rtc_read_time()
148 alrm->time.tm_hour = bcd2bin((alarm & TIME_HOUR_MASK) >> TIME_HOUR_S); in vt8500_rtc_read_alarm()