Searched refs:ctime1 (Results 1 – 1 of 1) sorted by relevance
139 u32 ctime0, ctime1, ctime2; in asm9260_rtc_read_time() local142 ctime1 = ioread32(priv->iobase + HW_CTIME1); in asm9260_rtc_read_time()145 if (ctime1 != ioread32(priv->iobase + HW_CTIME1)) { in asm9260_rtc_read_time()151 ctime1 = ioread32(priv->iobase + HW_CTIME1); in asm9260_rtc_read_time()160 tm->tm_mday = (ctime1 >> BM_CTIME1_DOM_S) & BM_CTIME1_DOM_M; in asm9260_rtc_read_time()161 tm->tm_mon = (ctime1 >> BM_CTIME1_MON_S) & BM_CTIME1_MON_M; in asm9260_rtc_read_time()162 tm->tm_year = (ctime1 >> BM_CTIME1_YEAR_S) & BM_CTIME1_YEAR_M; in asm9260_rtc_read_time()