Searched refs:read_c0_count (Results 1 – 21 of 21) sorted by relevance
30 cnt = read_c0_count(); in mips_next_event()33 res = ((int)(read_c0_count() - cnt) > 0) ? -ETIME : 0; in mips_next_event()127 write_c0_compare(read_c0_count()); in c0_compare_int_usable()134 cnt = read_c0_count(); in c0_compare_int_usable()138 if ((int)(read_c0_count() - cnt) < 0) in c0_compare_int_usable()143 while ((int)(read_c0_count() - cnt) <= 0) in c0_compare_int_usable()150 write_c0_compare(read_c0_count()); in c0_compare_int_usable()
29 unsigned long long v = cnt32_to_63(read_c0_count()); in sched_clock()69 return read_c0_count(); in c0_hpt_read()
93 reference = (unsigned long)read_c0_count(); in mips_next_event()156 while ((nextcomp - (unsigned long)read_c0_count()) in mips_next_event()189 reference = (unsigned long)read_c0_count(); in smtc_distribute_timer()225 if ((nextstamp - (unsigned long)read_c0_count()) in smtc_distribute_timer()
97 write_c0_compare(read_c0_count() + COUNTON); in synchronise_count_master()154 write_c0_compare(read_c0_count() + COUNTON); in synchronise_count_slave()
53 write_vpe_c0_count(read_c0_count()); in smvp_copy_vpe_config()168 write_c0_compare(read_c0_count() + (8* mips_hpt_frequency/HZ)); in vsmp_smp_finish()
170 write_c0_compare(read_c0_count() + (8 * mips_hpt_frequency / HZ)); in cmp_smp_finish()
511 write_vpe_c0_count(read_c0_count() + CP0_SKEW); in smtc_prepare_cpus()627 write_c0_compare(read_c0_count() + mips_hpt_frequency/HZ); in smtc_smp_finish()
590 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()
35 start = read_c0_count(); in estimate_cpu_frequency()39 count = read_c0_count() - start; in estimate_cpu_frequency()
43 ct0 = read_c0_count(); in dosample()50 ct1 = read_c0_count(); in dosample()
81 start = read_c0_count(); in estimate_cpu_frequency()87 count = read_c0_count() - start; in estimate_cpu_frequency()
37 read_c0_count(), read_c0_compare(), in pnx8550_timers_read()61 len += sprintf(&page[len], "count: %#10.8x\n", read_c0_count()); in pnx8550_registers_read()
104 ct0 = read_c0_count(); in dosample()111 ct1 = read_c0_count(); in dosample()
139 start = read_c0_count(); in plat_time_init()145 end = read_c0_count(); in plat_time_init()
74 mips_hpt_frequency = read_c0_count() * 1000 / WAIT_MS; in plat_time_init()
60 count = read_c0_count(); in estimate_cpu_frequency()
64 p->stamp = read_c0_count(); in smtc_ipi_nq()
801 #define read_c0_count() __read_32bit_c0_register($9, 0) macro
184 write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ); in octeon_smp_finish()
372 write_c0_compare(read_c0_count()); in plat_irq_dispatch()