Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/sgi-ip22/
H 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()
/openbmc/linux/arch/mips/sni/
H 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()
/openbmc/linux/drivers/rtc/
H A Drtc-lpc24xx.c92 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()
/openbmc/qemu/tests/tcg/hexagon/
H A Dmisc.c323 static inline int32_t ct0(uint32_t x) in ct0() function
353 check32(ct0(0x0000000f), 0); in test_count_trailing_zeros_ones()
354 check32(ct0(0x00000000), 32); in test_count_trailing_zeros_ones()
355 check32(ct0(0x000000f0), 4); in test_count_trailing_zeros_ones()
H A Dtest_bitcnt.S35 r2 = ct0(r0)
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-vp9.c1483 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()
/openbmc/qemu/target/hexagon/imported/
H A Dshift.idef1103 Q6INSN(S2_ct0, "Rd32=ct0(Rs32)", ATTRIBS(A_ARCHV2), "Count Trailing",{RdV = fCL1_4(~fBREV_4(RsV…
1105 Q6INSN(S2_ct0p, "Rd32=ct0(Rss32)", ATTRIBS(), "Count Trailing",{RdV = fCL1_8(~fBREV_8(RssV));})