Searched refs:ct0 (Results 1 – 3 of 3) sorted by relevance
34 u32 ct0, ct1; in dosample() local44 ct0 = read_c0_count(); in dosample()63 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
93 u32 ct0, ct1, ct2; in lpc24xx_rtc_read_time() local95 ct0 = rtc_readl(rtc, LPC24XX_CTIME0); in lpc24xx_rtc_read_time()99 tm->tm_sec = CT0_SECS(ct0); in lpc24xx_rtc_read_time()100 tm->tm_min = CT0_MINS(ct0); in lpc24xx_rtc_read_time()101 tm->tm_hour = CT0_HOURS(ct0); in lpc24xx_rtc_read_time()102 tm->tm_wday = CT0_DOW(ct0); in lpc24xx_rtc_read_time()
80 u32 ct0, ct1; in dosample() local89 ct0 = read_c0_count(); in dosample()107 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
Completed in 5 milliseconds