Lines Matching defs:xc
217 static int xive_native_setup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio)
219 struct xive_q *q = &xc->queue[prio];
230 static void xive_native_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio)
232 struct xive_q *q = &xc->queue[prio];
262 static int xive_native_get_ipi(unsigned int cpu, struct xive_cpu *xc)
268 irq = opal_xive_allocate_irq(xc->chip_id);
277 xc->hw_ipi = irq;
312 static void xive_native_put_ipi(unsigned int cpu, struct xive_cpu *xc)
317 if (xc->hw_ipi == XIVE_BAD_IRQ)
320 rc = opal_xive_free_irq(xc->hw_ipi);
325 xc->hw_ipi = XIVE_BAD_IRQ;
342 static void xive_native_update_pending(struct xive_cpu *xc)
366 xc->pending_prio |= 1 << cppr;
372 if (cppr >= xc->cppr)
374 smp_processor_id(), cppr, xc->cppr);
377 xc->cppr = cppr;
396 static void xive_native_setup_cpu(unsigned int cpu, struct xive_cpu *xc)
436 static void xive_native_teardown_cpu(unsigned int cpu, struct xive_cpu *xc)