Home
last modified time | relevance | path

Searched refs:ct0 (Results 1 – 3 of 3) sorted by relevance

/linux/arch/mips/sgi-ip22/
A Dip22-time.c34 u32 ct0, ct1; in dosample() local
44 ct0 = read_c0_count(); in dosample()
63 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
/linux/drivers/rtc/
A Drtc-lpc24xx.c93 u32 ct0, ct1, ct2; in lpc24xx_rtc_read_time() local
95 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()
/linux/arch/mips/sni/
A Dtime.c80 u32 ct0, ct1; in dosample() local
89 ct0 = read_c0_count(); in dosample()
107 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()

Completed in 5 milliseconds