Lines Matching refs:cpu
162 irq_hw_number_t ipi_get_hwirq(unsigned int irq, unsigned int cpu) in ipi_get_hwirq() argument
167 if (!data || !ipimask || cpu >= nr_cpu_ids) in ipi_get_hwirq()
170 if (!cpumask_test_cpu(cpu, ipimask)) in ipi_get_hwirq()
180 data = irq_get_irq_data(irq + cpu - data->common->ipi_offset); in ipi_get_hwirq()
187 const struct cpumask *dest, unsigned int cpu) in ipi_send_verify() argument
197 if (cpu >= nr_cpu_ids) in ipi_send_verify()
204 if (!cpumask_test_cpu(cpu, ipimask)) in ipi_send_verify()
221 int __ipi_send_single(struct irq_desc *desc, unsigned int cpu) in __ipi_send_single() argument
232 if (WARN_ON_ONCE(ipi_send_verify(chip, data, NULL, cpu))) in __ipi_send_single()
236 chip->ipi_send_mask(data, cpumask_of(cpu)); in __ipi_send_single()
242 cpu != data->common->ipi_offset) { in __ipi_send_single()
244 unsigned irq = data->irq + cpu - data->common->ipi_offset; in __ipi_send_single()
248 chip->ipi_send_single(data, cpu); in __ipi_send_single()
267 unsigned int cpu; in __ipi_send_mask() local
286 for_each_cpu(cpu, dest) { in __ipi_send_mask()
287 unsigned irq = base + cpu - data->common->ipi_offset; in __ipi_send_mask()
290 chip->ipi_send_single(data, cpu); in __ipi_send_mask()
293 for_each_cpu(cpu, dest) in __ipi_send_mask()
294 chip->ipi_send_single(data, cpu); in __ipi_send_mask()
307 int ipi_send_single(unsigned int virq, unsigned int cpu) in ipi_send_single() argument
313 if (WARN_ON_ONCE(ipi_send_verify(chip, data, NULL, cpu))) in ipi_send_single()
316 return __ipi_send_single(desc, cpu); in ipi_send_single()