Searched refs:ctime0 (Results 1 – 1 of 1) sorted by relevance
139 u32 ctime0, ctime1, ctime2; in asm9260_rtc_read_time() local141 ctime0 = ioread32(priv->iobase + HW_CTIME0); in asm9260_rtc_read_time()150 ctime0 = ioread32(priv->iobase + HW_CTIME0); in asm9260_rtc_read_time()155 tm->tm_sec = (ctime0 >> BM_CTIME0_SEC_S) & BM_CTIME0_SEC_M; in asm9260_rtc_read_time()156 tm->tm_min = (ctime0 >> BM_CTIME0_MIN_S) & BM_CTIME0_MIN_M; in asm9260_rtc_read_time()157 tm->tm_hour = (ctime0 >> BM_CTIME0_HOUR_S) & BM_CTIME0_HOUR_M; in asm9260_rtc_read_time()158 tm->tm_wday = (ctime0 >> BM_CTIME0_DOW_S) & BM_CTIME0_DOW_M; in asm9260_rtc_read_time()