Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/rtc/
Drtc-vt8500.c55 #define TIME_MIN_S 7 macro
56 #define TIME_MIN_MASK (0x7f << TIME_MIN_S)
118 tm->tm_min = bcd2bin((time & TIME_MIN_MASK) >> TIME_MIN_S); in vt8500_rtc_read_time()
146 | (bin2bcd(tm->tm_min) << TIME_MIN_S) in vt8500_rtc_set_time()
163 alrm->time.tm_min = bcd2bin((alarm & TIME_MIN_MASK) >> TIME_MIN_S); in vt8500_rtc_read_alarm()
179 | (bin2bcd(alrm->time.tm_min) << TIME_MIN_S) in vt8500_rtc_set_alarm()