/openbmc/linux/arch/mips/kernel/ |
H A D | cevt-r4k.c | 25 cnt = read_c0_count(); in mips_next_event() 28 res = ((int)(read_c0_count() - cnt) >= 0) ? -ETIME : 0; in mips_next_event() 65 cnt = read_c0_count(); in calculate_min_delta() 67 cnt = read_c0_count() - cnt; in calculate_min_delta() 202 cnt = read_c0_count(); in c0_compare_int_usable() 213 cnt = read_c0_count(); in c0_compare_int_usable() 217 if ((int)(read_c0_count() - cnt) < 0) in c0_compare_int_usable() 222 while ((int)(read_c0_count() - cnt) <= 0) in c0_compare_int_usable() 225 while (read_c0_count() < (cnt + COMPARE_INT_SEEN_TICKS)) in c0_compare_int_usable() 230 cnt = read_c0_count(); in c0_compare_int_usable() [all …]
|
H A D | sync-r4k.c | 60 initcount = read_c0_count(); in synchronise_count_master() 78 write_c0_compare(read_c0_count() + COUNTON); in synchronise_count_master() 118 write_c0_compare(read_c0_count() + COUNTON); in synchronise_count_slave()
|
H A D | csrc-r4k.c | 17 return read_c0_count(); in c0_hpt_read() 29 return read_c0_count(); in r4k_read_sched_clock()
|
H A D | smp-mt.c | 43 write_vpe_c0_count(read_c0_count()); in smvp_copy_vpe_config() 124 write_c0_compare(read_c0_count() + (8* mips_hpt_frequency/HZ)); in vsmp_smp_finish()
|
H A D | smp-bmips.c | 274 write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ); in bmips_smp_finish()
|
H A D | smp-cps.c | 387 write_c0_compare(read_c0_count() + (8 * mips_hpt_frequency / HZ)); in cps_smp_finish()
|
H A D | traps.c | 650 regs->regs[rt] = read_c0_count(); in simulate_rdhwr()
|
/openbmc/linux/arch/mips/cobalt/ |
H A D | time.c | 31 start = read_c0_count(); in plat_time_init() 37 end = read_c0_count(); in plat_time_init()
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | timex.h | 75 return read_c0_count(); in get_cycles() 90 return read_c0_count(); in random_get_entropy()
|
/openbmc/linux/arch/mips/generic/ |
H A D | board-ranchu.c | 56 start = read_c0_count(); in ranchu_measure_hpt_freq() 63 count = read_c0_count() - start; in ranchu_measure_hpt_freq()
|
H A D | board-sead3.c | 206 freq = read_c0_count(); in sead3_measure_hpt_freq()
|
/openbmc/linux/arch/mips/sgi-ip22/ |
H A D | ip22-time.c | 44 ct0 = read_c0_count(); in dosample() 51 ct1 = read_c0_count(); in dosample()
|
/openbmc/linux/arch/mips/sgi-ip30/ |
H A D | ip30-setup.c | 92 start = read_c0_count(); in ip30_cpu_time_init() 96 end = read_c0_count(); in ip30_cpu_time_init()
|
/openbmc/linux/arch/mips/sni/ |
H A D | time.c | 89 ct0 = read_c0_count(); in dosample() 96 ct1 = read_c0_count(); in dosample()
|
/openbmc/linux/arch/mips/dec/ |
H A D | time.c | 144 start = read_c0_count(); in plat_time_init() 150 end = read_c0_count(); in plat_time_init()
|
/openbmc/u-boot/arch/mips/cpu/ |
H A D | time.c | 12 return read_c0_count(); in timer_read_counter()
|
/openbmc/linux/arch/mips/mti-malta/ |
H A D | malta-time.c | 80 start = read_c0_count(); in estimate_frequencies() 90 count = read_c0_count(); in estimate_frequencies()
|
/openbmc/linux/arch/mips/sgi-ip32/ |
H A D | ip32-setup.c | 72 mips_hpt_frequency = read_c0_count() * 1000 / WAIT_MS; in plat_time_init()
|
/openbmc/linux/arch/mips/lantiq/ |
H A D | clk.c | 198 write_c0_compare(read_c0_count()); in plat_time_init()
|
/openbmc/linux/arch/mips/loongson64/ |
H A D | smp.c | 404 c0count = read_c0_count(); in loongson3_ipi_interrupt() 458 write_c0_compare(read_c0_count() + mips_hpt_frequency/HZ); in loongson3_smp_finish()
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | smp.c | 279 write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ); in octeon_smp_finish()
|
/openbmc/u-boot/doc/ |
H A D | README.qemu-mips | 195 78 while ((tmo - read_c0_count()) < 0x7fffffff)
|
/openbmc/linux/arch/mips/kvm/ |
H A D | emulate.c | 727 write_c0_gtoffset(compare - read_c0_count()); in kvm_mips_write_compare() 765 write_c0_gtoffset(compare - read_c0_count()); in kvm_mips_write_compare()
|
H A D | vz.c | 372 write_c0_gtoffset(compare - read_c0_count()); in _kvm_vz_restore_stimer() 399 write_c0_gtoffset(start_count - read_c0_count()); in _kvm_vz_restore_htimer()
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | mipsregs.h | 1140 #define read_c0_count() __read_32bit_c0_register($9, 0) macro
|