Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/drivers/parisc/
Dgsc.c144 int cpu_irq; in gsc_set_affinity_irq() local
149 cpu_irq = cpu_check_affinity(d, &tmask); in gsc_set_affinity_irq()
150 if (cpu_irq < 0) in gsc_set_affinity_irq()
151 return cpu_irq; in gsc_set_affinity_irq()
153 gsc_dev->gsc_irq.txn_addr = txn_affinity_addr(d->irq, cpu_irq); in gsc_set_affinity_irq()
Ddino.c351 int cpu_irq; in dino_set_affinity_irq() local
357 cpu_irq = cpu_check_affinity(d, &tmask); in dino_set_affinity_irq()
358 if (cpu_irq < 0) in dino_set_affinity_irq()
359 return cpu_irq; in dino_set_affinity_irq()
361 dino_dev->gsc_irq.txn_addr = txn_affinity_addr(d->irq, cpu_irq); in dino_set_affinity_irq()
/linux-6.6.21/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-6.6.21/drivers/perf/
Darm_pmu.c103 static DEFINE_PER_CPU(int, cpu_irq);
581 if (per_cpu(cpu_irq, cpu) == irq) in armpmu_count_irq_users()
594 if (per_cpu(cpu_irq, cpu) != irq) in armpmu_find_irq_ops()
607 if (per_cpu(cpu_irq, cpu) == 0) in armpmu_free_irq()
609 if (WARN_ON(irq != per_cpu(cpu_irq, cpu))) in armpmu_free_irq()
614 per_cpu(cpu_irq, cpu) = 0; in armpmu_free_irq()
677 per_cpu(cpu_irq, cpu) = irq; in armpmu_request_irq()