Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-cadence.c72 #define CDNS_RTC_CAL_D GENMASK(13, 8) macro
141 tm->tm_mday = bcd2bin(FIELD_GET(CDNS_RTC_CAL_D, reg)); in cdns_rtc_read_time()
163 calr = FIELD_PREP(CDNS_RTC_CAL_D, bin2bcd(tm->tm_mday)) in cdns_rtc_set_time()
211 alarm->time.tm_mday = bcd2bin(FIELD_GET(CDNS_RTC_CAL_D, reg)); in cdns_rtc_read_alarm()
227 calar = FIELD_PREP(CDNS_RTC_CAL_D, bin2bcd(alarm->time.tm_mday)) in cdns_rtc_set_alarm()