Searched refs:cp0_perfcount_irq (Results 1 – 8 of 8) sorted by relevance
51 extern int cp0_perfcount_irq;117 if (cp0_perfcount_irq >= 0) { in plat_perf_setup()119 set_vi_handler(cp0_perfcount_irq, mips_perf_dispatch); in plat_perf_setup()120 mips_cpu_perf_irq = MIPS_CPU_IRQ_BASE + cp0_perfcount_irq; in plat_perf_setup()
46 if (cp0_perfcount_irq >= 0) in msmtc_init_secondary()47 set_c0_status(0x100 << cp0_perfcount_irq); in msmtc_init_secondary()
44 return (cp0_perfcount_irq < 0) && in handle_perf_irq()
146 extern int cp0_perfcount_irq;
1490 int cp0_perfcount_irq; variable1491 EXPORT_SYMBOL_GPL(cp0_perfcount_irq);1579 cp0_perfcount_irq = (read_c0_intctl() >> INTCTLB_IPPCI) & 7; in per_cpu_trap_init()1580 if (cp0_perfcount_irq == cp0_compare_irq) in per_cpu_trap_init()1581 cp0_perfcount_irq = -1; in per_cpu_trap_init()1585 cp0_perfcount_irq = -1; in per_cpu_trap_init()
325 } else if (cp0_perfcount_irq < 0) { in mipspmu_get_irq()345 else if (cp0_perfcount_irq < 0) in mipspmu_free_irq()
1002 if (cp0_perfcount_irq >= 0) in init_hw_perf_events()1003 irq = MIPS_CPU_IRQ_BASE + cp0_perfcount_irq; in init_hw_perf_events()
180 cp0_perfcount_irq = ATH79_MISC_IRQ_PERFC; in arch_init_irq()