Home
last modified time | relevance | path

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

/linux-3.4.99/arch/mips/kernel/
Dcevt-r4k.c32 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()
Dsync-r4k.c54 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()
Dcevt-smtc.c95 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()
Dsmp-mt.c52 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()
Dcsrc-r4k.c15 return read_c0_count(); in c0_hpt_read()
Dcsrc-powertv.c60 return read_c0_count(); in c0_hpt_read()
Dsmp-cmp.c114 write_c0_compare(read_c0_count() + (8 * mips_hpt_frequency / HZ)); in cmp_smp_finish()
Dsmp-bmips.c202 write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ); in bmips_init_secondary()
Dsmtc.c516 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()
Dtraps.c622 regs->regs[rt] = read_c0_count(); in simulate_rdhwr()
/linux-3.4.99/arch/mips/cobalt/
Dtime.c44 start = read_c0_count(); in plat_time_init()
50 end = read_c0_count(); in plat_time_init()
/linux-3.4.99/arch/mips/sgi-ip22/
Dip22-time.c44 ct0 = read_c0_count(); in dosample()
51 ct1 = read_c0_count(); in dosample()
/linux-3.4.99/arch/mips/mti-malta/
Dmalta-time.c82 start = read_c0_count(); in estimate_cpu_frequency()
88 count = read_c0_count() - start; in estimate_cpu_frequency()
/linux-3.4.99/arch/mips/pnx8550/common/
Dproc.c36 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()
/linux-3.4.99/arch/mips/sni/
Dtime.c106 ct0 = read_c0_count(); in dosample()
113 ct1 = read_c0_count(); in dosample()
/linux-3.4.99/arch/mips/dec/
Dtime.c138 start = read_c0_count(); in plat_time_init()
144 end = read_c0_count(); in plat_time_init()
/linux-3.4.99/arch/mips/sgi-ip32/
Dip32-setup.c74 mips_hpt_frequency = read_c0_count() * 1000 / WAIT_MS; in plat_time_init()
/linux-3.4.99/arch/mips/mipssim/
Dsim_time.c61 count = read_c0_count(); in estimate_cpu_frequency()
/linux-3.4.99/arch/mips/lantiq/
Dclk.c151 write_c0_compare(read_c0_count()); in plat_time_init()
/linux-3.4.99/arch/mips/include/asm/
Dsmtc_ipi.h65 p->stamp = read_c0_count(); in smtc_ipi_nq()
Dmipsregs.h863 #define read_c0_count() __read_32bit_c0_register($9, 0) macro
/linux-3.4.99/arch/mips/cavium-octeon/
Dsmp.c235 write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ); in octeon_smp_finish()
/linux-3.4.99/arch/mips/sibyte/bcm1480/
Dirq.c352 write_c0_compare(read_c0_count()); in plat_irq_dispatch()