Lines Matching refs:xc
530 static int xive_spapr_setup_queue(unsigned int cpu, struct xive_cpu *xc, in xive_spapr_setup_queue() argument
533 struct xive_q *q = &xc->queue[prio]; in xive_spapr_setup_queue()
544 static void xive_spapr_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, in xive_spapr_cleanup_queue() argument
547 struct xive_q *q = &xc->queue[prio]; in xive_spapr_cleanup_queue()
571 static int xive_spapr_get_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_spapr_get_ipi() argument
580 xc->hw_ipi = irq; in xive_spapr_get_ipi()
584 static void xive_spapr_put_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_spapr_put_ipi() argument
586 if (xc->hw_ipi == XIVE_BAD_IRQ) in xive_spapr_put_ipi()
589 xive_irq_bitmap_free(xc->hw_ipi); in xive_spapr_put_ipi()
590 xc->hw_ipi = XIVE_BAD_IRQ; in xive_spapr_put_ipi()
603 static void xive_spapr_update_pending(struct xive_cpu *xc) in xive_spapr_update_pending() argument
631 xc->pending_prio |= 1 << cppr; in xive_spapr_update_pending()
637 if (cppr >= xc->cppr) in xive_spapr_update_pending()
639 smp_processor_id(), cppr, xc->cppr); in xive_spapr_update_pending()
642 xc->cppr = cppr; in xive_spapr_update_pending()
646 static void xive_spapr_setup_cpu(unsigned int cpu, struct xive_cpu *xc) in xive_spapr_setup_cpu() argument
655 static void xive_spapr_teardown_cpu(unsigned int cpu, struct xive_cpu *xc) in xive_spapr_teardown_cpu() argument