Searched refs:rdcr (Results 1 – 2 of 2) sorted by relevance
101 static void tm_calc(u32 rycr, u32 rdcr, struct rtc_time *tm) in tm_calc() argument107 tm->tm_hour = (rdcr & RDxR_HOUR_MASK) >> RDxR_HOUR_S; in tm_calc()108 tm->tm_min = (rdcr & RDxR_MIN_MASK) >> RDxR_MIN_S; in tm_calc()109 tm->tm_sec = rdcr & RDxR_SEC_MASK; in tm_calc()226 u32 rycr, rdcr; in pxa_rtc_read_time() local229 rdcr = rtc_readl(pxa_rtc, RDCR); in pxa_rtc_read_time()231 tm_calc(rycr, rdcr, tm); in pxa_rtc_read_time()
269 gumr = (u32)us_info->tdcr | (u32)us_info->rdcr | (u32)us_info->tenc | in ucc_slow_init()