Searched refs:read_c0_count (Results 1 – 23 of 23) sorted by relevance
32 cnt = read_c0_count(); in mips_next_event()35 res = ((int)(read_c0_count() - cnt) >= 0) ? -ETIME : 0; in mips_next_event()120 cnt = read_c0_count(); in c0_compare_int_usable()123 while (read_c0_count() < (cnt + COMPARE_INT_SEEN_TICKS)) in c0_compare_int_usable()131 cnt = read_c0_count(); in c0_compare_int_usable()135 if ((int)(read_c0_count() - cnt) < 0) in c0_compare_int_usable()140 while ((int)(read_c0_count() - cnt) <= 0) in c0_compare_int_usable()143 while (read_c0_count() < (cnt + COMPARE_INT_SEEN_TICKS)) in c0_compare_int_usable()148 cnt = read_c0_count(); in c0_compare_int_usable()151 while (read_c0_count() < (cnt + COMPARE_INT_SEEN_TICKS)) in c0_compare_int_usable()
54 atomic_set(&count_reference, read_c0_count()); in synchronise_count_master()59 initcount = read_c0_count(); in synchronise_count_master()99 write_c0_compare(read_c0_count() + COUNTON); in synchronise_count_master()156 write_c0_compare(read_c0_count() + COUNTON); in synchronise_count_slave()
95 reference = (unsigned long)read_c0_count(); in mips_next_event()158 while ((nextcomp - (unsigned long)read_c0_count()) in mips_next_event()192 reference = (unsigned long)read_c0_count(); in smtc_distribute_timer()228 if ((nextstamp - (unsigned long)read_c0_count()) in smtc_distribute_timer()
52 write_vpe_c0_count(read_c0_count()); in smvp_copy_vpe_config()167 write_c0_compare(read_c0_count() + (8* mips_hpt_frequency/HZ)); in vsmp_smp_finish()
15 return read_c0_count(); in c0_hpt_read()
60 return read_c0_count(); in c0_hpt_read()
114 write_c0_compare(read_c0_count() + (8 * mips_hpt_frequency / HZ)); in cmp_smp_finish()
202 write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ); in bmips_init_secondary()
516 write_vpe_c0_count(read_c0_count() + CP0_SKEW); in smtc_prepare_cpus()632 write_c0_compare(read_c0_count() + mips_hpt_frequency/HZ); in smtc_smp_finish()
622 regs->regs[rt] = read_c0_count(); in simulate_rdhwr()
44 start = read_c0_count(); in plat_time_init()50 end = read_c0_count(); in plat_time_init()
44 ct0 = read_c0_count(); in dosample()51 ct1 = read_c0_count(); in dosample()
82 start = read_c0_count(); in estimate_cpu_frequency()88 count = read_c0_count() - start; in estimate_cpu_frequency()
36 read_c0_count(), read_c0_compare(), in pnx8550_timers_read()60 len += sprintf(&page[len], "count: %#10.8x\n", read_c0_count()); in pnx8550_registers_read()
106 ct0 = read_c0_count(); in dosample()113 ct1 = read_c0_count(); in dosample()
138 start = read_c0_count(); in plat_time_init()144 end = read_c0_count(); in plat_time_init()
74 mips_hpt_frequency = read_c0_count() * 1000 / WAIT_MS; in plat_time_init()
61 count = read_c0_count(); in estimate_cpu_frequency()
151 write_c0_compare(read_c0_count()); in plat_time_init()
65 p->stamp = read_c0_count(); in smtc_ipi_nq()
863 #define read_c0_count() __read_32bit_c0_register($9, 0) macro
235 write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ); in octeon_smp_finish()
352 write_c0_compare(read_c0_count()); in plat_irq_dispatch()