rycr 101 drivers/rtc/rtc-pxa.c static void tm_calc(u32 rycr, u32 rdcr, struct rtc_time *tm) rycr 103 drivers/rtc/rtc-pxa.c tm->tm_year = ((rycr & RYxR_YEAR_MASK) >> RYxR_YEAR_S) - 1900; rycr 104 drivers/rtc/rtc-pxa.c tm->tm_mon = (((rycr & RYxR_MONTH_MASK) >> RYxR_MONTH_S)) - 1; rycr 105 drivers/rtc/rtc-pxa.c tm->tm_mday = (rycr & RYxR_DAY_MASK); rycr 106 drivers/rtc/rtc-pxa.c tm->tm_wday = ((rycr & RDxR_DOW_MASK) >> RDxR_DOW_S) - 1; rycr 226 drivers/rtc/rtc-pxa.c u32 rycr, rdcr; rycr 228 drivers/rtc/rtc-pxa.c rycr = rtc_readl(pxa_rtc, RYCR); rycr 231 drivers/rtc/rtc-pxa.c tm_calc(rycr, rdcr, tm);