Searched refs:ct0 (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/arch/mips/sgi-ip22/ |
D | ip22-time.c | 34 u32 ct0, ct1; in dosample() local 44 ct0 = read_c0_count(); in dosample() 63 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
|
/linux-6.6.21/arch/mips/sni/ |
D | time.c | 80 u32 ct0, ct1; in dosample() local 89 ct0 = read_c0_count(); in dosample() 107 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample()
|
/linux-6.6.21/drivers/rtc/ |
D | rtc-lpc24xx.c | 92 u32 ct0, ct1, ct2; in lpc24xx_rtc_read_time() local 94 ct0 = rtc_readl(rtc, LPC24XX_CTIME0); in lpc24xx_rtc_read_time() 98 tm->tm_sec = CT0_SECS(ct0); in lpc24xx_rtc_read_time() 99 tm->tm_min = CT0_MINS(ct0); in lpc24xx_rtc_read_time() 100 tm->tm_hour = CT0_HOURS(ct0); in lpc24xx_rtc_read_time() 101 tm->tm_wday = CT0_DOW(ct0); in lpc24xx_rtc_read_time()
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-vp9.c | 1483 static u8 merge_prob(u8 pre_prob, u32 ct0, u32 ct1, u16 count_sat, u32 max_update_factor) in merge_prob() argument 1487 den = ct0 + ct1; in merge_prob() 1497 prob = clamp(((ct0 << 8) + (den >> 1)) / den, (u32)1, (u32)255); in merge_prob() 1509 static inline u8 noncoef_merge_prob(u8 pre_prob, u32 ct0, u32 ct1) in noncoef_merge_prob() argument 1511 return merge_prob(pre_prob, ct0, ct1, 20, 128); in noncoef_merge_prob()
|