Lines Matching defs:xc
216 static int xive_native_setup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio)
218 struct xive_q *q = &xc->queue[prio];
229 static void xive_native_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio)
231 struct xive_q *q = &xc->queue[prio];
261 static int xive_native_get_ipi(unsigned int cpu, struct xive_cpu *xc)
267 irq = opal_xive_allocate_irq(xc->chip_id);
276 xc->hw_ipi = irq;
311 static void xive_native_put_ipi(unsigned int cpu, struct xive_cpu *xc)
316 if (xc->hw_ipi == XIVE_BAD_IRQ)
319 rc = opal_xive_free_irq(xc->hw_ipi);
324 xc->hw_ipi = XIVE_BAD_IRQ;
341 static void xive_native_update_pending(struct xive_cpu *xc)
365 xc->pending_prio |= 1 << cppr;
371 if (cppr >= xc->cppr)
373 smp_processor_id(), cppr, xc->cppr);
376 xc->cppr = cppr;
386 static void xive_native_prepare_cpu(unsigned int cpu, struct xive_cpu *xc)
388 xc->chip_id = cpu_to_chip_id(cpu);
391 static void xive_native_setup_cpu(unsigned int cpu, struct xive_cpu *xc)
431 static void xive_native_teardown_cpu(unsigned int cpu, struct xive_cpu *xc)