Home
last modified time | relevance | path

Searched refs:cpu_irq (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/arch/sparc/kernel/
Dirq_32.c243 unsigned int cpu_irq; in sparc_floppy_request_irq() local
254 cpu_irq = (irq & (NR_IRQS - 1)); in sparc_floppy_request_irq()
258 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_one = SPARC_RD_PSR_L0; \ in sparc_floppy_request_irq()
259 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_two = \ in sparc_floppy_request_irq()
261 (unsigned long) &table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_two);\ in sparc_floppy_request_irq()
262 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_three = SPARC_RD_WIM_L3; \ in sparc_floppy_request_irq()
263 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_four = SPARC_NOP; in sparc_floppy_request_irq()
/Linux-v5.10/arch/sparc/include/asm/
Dpcic.h115 #define PCI_COUNTER_IRQ_SET(sys_irq, cpu_irq) ((((sys_irq) & 0xf) << 4) | \ argument
116 ((cpu_irq) & 0xf))
/Linux-v5.10/drivers/perf/
Darm_pmu.c103 static DEFINE_PER_CPU(int, cpu_irq);
616 if (per_cpu(cpu_irq, cpu) == irq) in armpmu_count_irq_users()
629 if (per_cpu(cpu_irq, cpu) != irq) in armpmu_find_irq_ops()
642 if (per_cpu(cpu_irq, cpu) == 0) in armpmu_free_irq()
644 if (WARN_ON(irq != per_cpu(cpu_irq, cpu))) in armpmu_free_irq()
649 per_cpu(cpu_irq, cpu) = 0; in armpmu_free_irq()
714 per_cpu(cpu_irq, cpu) = irq; in armpmu_request_irq()