Home
last modified time | relevance | path

Searched refs:read_c0_count (Results 1 – 21 of 21) sorted by relevance

/arch/mips/kernel/
Dcevt-r4k.c30 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()
Dcsrc-r4k.c29 unsigned long long v = cnt32_to_63(read_c0_count()); in sched_clock()
69 return read_c0_count(); in c0_hpt_read()
Dcevt-smtc.c93 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()
Dsync-r4k.c97 write_c0_compare(read_c0_count() + COUNTON); in synchronise_count_master()
154 write_c0_compare(read_c0_count() + COUNTON); in synchronise_count_slave()
Dsmp-mt.c53 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()
Dsmp-cmp.c170 write_c0_compare(read_c0_count() + (8 * mips_hpt_frequency / HZ)); in cmp_smp_finish()
Dsmtc.c511 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()
Dtraps.c590 regs->regs[rt] = read_c0_count(); in simulate_rdhwr()
/arch/mips/cobalt/
Dtime.c44 start = read_c0_count(); in plat_time_init()
50 end = read_c0_count(); in plat_time_init()
/arch/mips/mach-goldfish/
Dgoldfish-time.c35 start = read_c0_count(); in estimate_cpu_frequency()
39 count = read_c0_count() - start; in estimate_cpu_frequency()
/arch/mips/sgi-ip22/
Dip22-time.c43 ct0 = read_c0_count(); in dosample()
50 ct1 = read_c0_count(); in dosample()
/arch/mips/mti-malta/
Dmalta-time.c81 start = read_c0_count(); in estimate_cpu_frequency()
87 count = read_c0_count() - start; in estimate_cpu_frequency()
/arch/mips/nxp/pnx8550/common/
Dproc.c37 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()
/arch/mips/sni/
Dtime.c104 ct0 = read_c0_count(); in dosample()
111 ct1 = read_c0_count(); in dosample()
/arch/mips/dec/
Dtime.c139 start = read_c0_count(); in plat_time_init()
145 end = read_c0_count(); in plat_time_init()
/arch/mips/sgi-ip32/
Dip32-setup.c74 mips_hpt_frequency = read_c0_count() * 1000 / WAIT_MS; in plat_time_init()
/arch/mips/mipssim/
Dsim_time.c60 count = read_c0_count(); in estimate_cpu_frequency()
/arch/mips/include/asm/
Dsmtc_ipi.h64 p->stamp = read_c0_count(); in smtc_ipi_nq()
Dmipsregs.h801 #define read_c0_count() __read_32bit_c0_register($9, 0) macro
/arch/mips/cavium-octeon/
Dsmp.c184 write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ); in octeon_smp_finish()
/arch/mips/sibyte/bcm1480/
Dirq.c372 write_c0_compare(read_c0_count()); in plat_irq_dispatch()