Searched refs:read_c0_count (Results 1 – 21 of 21) 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()129 write_c0_compare(read_c0_count()); in c0_compare_int_usable()136 cnt = read_c0_count(); in c0_compare_int_usable()140 if ((int)(read_c0_count() - cnt) < 0) in c0_compare_int_usable()145 while ((int)(read_c0_count() - cnt) <= 0) in c0_compare_int_usable()152 write_c0_compare(read_c0_count()); 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()
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()
15 return read_c0_count(); in c0_hpt_read()
60 return read_c0_count(); in c0_hpt_read()
115 write_c0_compare(read_c0_count() + (8 * mips_hpt_frequency / HZ)); in cmp_smp_finish()
517 write_vpe_c0_count(read_c0_count() + CP0_SKEW); in smtc_prepare_cpus()633 write_c0_compare(read_c0_count() + mips_hpt_frequency/HZ); in smtc_smp_finish()
615 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()
81 start = read_c0_count(); in estimate_cpu_frequency()87 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()
60 count = read_c0_count(); in estimate_cpu_frequency()
65 p->stamp = read_c0_count(); in smtc_ipi_nq()
863 #define read_c0_count() __read_32bit_c0_register($9, 0) macro
233 write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ); in octeon_smp_finish()
353 write_c0_compare(read_c0_count()); in plat_irq_dispatch()