Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-ac100.c56 #define AC100_ALM_YEA_MASK GENMASK(7, 0) macro
476 alrm_tm->tm_year = bcd2bin(reg[6] & AC100_ALM_YEA_MASK) + in ac100_rtc_get_alarm()
512 reg[6] = (bin2bcd(year) & AC100_ALM_YEA_MASK) | in ac100_rtc_set_alarm()