Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-vt8500.c45 #define TIME_HOUR_S 14 macro
46 #define TIME_HOUR_MASK (0x3f << TIME_HOUR_S)
111 tm->tm_hour = bcd2bin((time & TIME_HOUR_MASK) >> TIME_HOUR_S); in vt8500_rtc_read_time()
131 | (bin2bcd(tm->tm_hour) << TIME_HOUR_S) in vt8500_rtc_set_time()
148 alrm->time.tm_hour = bcd2bin((alarm & TIME_HOUR_MASK) >> TIME_HOUR_S); in vt8500_rtc_read_alarm()
164 | (bin2bcd(alrm->time.tm_hour) << TIME_HOUR_S) in vt8500_rtc_set_alarm()