Home
last modified time | relevance | path

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

/linux-2.6.39/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()
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()
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.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()
Dcsrc-r4k.c15 return read_c0_count(); in c0_hpt_read()
Dcsrc-powertv.c60 return read_c0_count(); in c0_hpt_read()
Dsmp-cmp.c115 write_c0_compare(read_c0_count() + (8 * mips_hpt_frequency / HZ)); in cmp_smp_finish()
Dsmtc.c517 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()
Dtraps.c615 regs->regs[rt] = read_c0_count(); in simulate_rdhwr()
/linux-2.6.39/arch/mips/cobalt/
Dtime.c44 start = read_c0_count(); in plat_time_init()
50 end = read_c0_count(); in plat_time_init()
/linux-2.6.39/arch/mips/sgi-ip22/
Dip22-time.c44 ct0 = read_c0_count(); in dosample()
51 ct1 = read_c0_count(); in dosample()
/linux-2.6.39/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()
/linux-2.6.39/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-2.6.39/arch/mips/sni/
Dtime.c106 ct0 = read_c0_count(); in dosample()
113 ct1 = read_c0_count(); in dosample()
/linux-2.6.39/arch/mips/dec/
Dtime.c138 start = read_c0_count(); in plat_time_init()
144 end = read_c0_count(); in plat_time_init()
/linux-2.6.39/arch/mips/sgi-ip32/
Dip32-setup.c74 mips_hpt_frequency = read_c0_count() * 1000 / WAIT_MS; in plat_time_init()
/linux-2.6.39/arch/mips/mipssim/
Dsim_time.c60 count = read_c0_count(); in estimate_cpu_frequency()
/linux-2.6.39/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-2.6.39/arch/mips/cavium-octeon/
Dsmp.c233 write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ); in octeon_smp_finish()
/linux-2.6.39/arch/mips/sibyte/bcm1480/
Dirq.c353 write_c0_compare(read_c0_count()); in plat_irq_dispatch()