Lines Matching refs:cpu

30  * struct ps3_bmp - a per cpu irq status and mask bitmap structure
68 * struct ps3_private - a per cpu data structure
160 * @cpu: enum ps3_cpu_binding indicating the cpu the interrupt should be
169 static int ps3_virq_setup(enum ps3_cpu_binding cpu, unsigned long outlet,
177 if (cpu == PS3_BINDING_CPU_ANY)
178 cpu = 0;
180 pd = &per_cpu(ps3_private, cpu);
191 DBG("%s:%d: outlet %lu => cpu %u, virq %u\n", __func__, __LINE__,
192 outlet, cpu, *virq);
235 * @cpu: enum ps3_cpu_binding indicating the cpu the interrupt should be
243 int ps3_irq_plug_setup(enum ps3_cpu_binding cpu, unsigned long outlet,
249 result = ps3_virq_setup(cpu, outlet, virq);
258 /* Binds outlet to cpu + virq. */
312 * @cpu: enum ps3_cpu_binding indicating the cpu the interrupt should be
321 int ps3_event_receive_port_setup(enum ps3_cpu_binding cpu, unsigned int *virq)
335 result = ps3_irq_plug_setup(cpu, outlet, virq);
381 * @cpu: enum ps3_cpu_binding indicating the cpu the interrupt should be
391 enum ps3_cpu_binding cpu, unsigned int *virq)
397 result = ps3_event_receive_port_setup(cpu, virq);
457 * @cpu: enum ps3_cpu_binding indicating the cpu the interrupt should be
466 int ps3_io_irq_setup(enum ps3_cpu_binding cpu, unsigned int interrupt_id,
480 result = ps3_irq_plug_setup(cpu, outlet, virq);
514 * @cpu: enum ps3_cpu_binding indicating the cpu the interrupt should be
523 int ps3_vuart_irq_setup(enum ps3_cpu_binding cpu, void* virt_addr_bmp,
542 result = ps3_irq_plug_setup(cpu, outlet, virq);
571 * @cpu: enum ps3_cpu_binding indicating the cpu the interrupt should be
579 int ps3_spe_irq_setup(enum ps3_cpu_binding cpu, unsigned long spe_id,
595 result = ps3_irq_plug_setup(cpu, outlet, virq);
618 static void _dump_64_bmp(const char *header, const u64 *p, unsigned cpu,
622 func, line, header, cpu,
628 const u64 *p, unsigned cpu, const char* func, int line)
631 func, line, header, cpu, p[0], p[1], p[2], p[3]);
682 void __init ps3_register_ipi_debug_brk(unsigned int cpu, unsigned int virq)
684 struct ps3_private *pd = &per_cpu(ps3_private, cpu);
688 DBG("%s:%d: cpu %u, virq %u, mask %lxh\n", __func__, __LINE__,
689 cpu, virq, pd->ipi_debug_brk_mask);
692 void __init ps3_register_ipi_irq(unsigned int cpu, unsigned int virq)
694 struct ps3_private *pd = &per_cpu(ps3_private, cpu);
698 DBG("%s:%d: cpu %u, virq %u, ipi_mask %lxh\n", __func__, __LINE__,
699 cpu, virq, pd->ipi_mask);
708 /* check for ipi break first to stop this cpu ASAP */
743 unsigned cpu;
749 for_each_possible_cpu(cpu) {
750 struct ps3_private *pd = &per_cpu(ps3_private, cpu);
753 pd->thread_id = get_hard_smp_processor_id(cpu);
772 void ps3_shutdown_IRQ(int cpu)
776 u64 thread_id = get_hard_smp_processor_id(cpu);
782 __LINE__, ppe_id, thread_id, cpu, ps3_result(result));