Lines Matching refs:xive_ops
59 static const struct xive_ops *xive_ops; variable
224 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_read()
225 val = xive_ops->esb_rw(xd->hw_irq, offset, 0, 0); in xive_esb_read()
234 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_write()
235 xive_ops->esb_rw(xd->hw_irq, offset, data, 1); in xive_esb_write()
305 rc = xive_ops->get_irq_config(hw_irq, &target, &prio, &lirq); in xmon_xive_get_irq_config()
363 xive_ops->update_pending(xc); in xive_get_irq()
661 rc = xive_ops->configure_irq(hw_irq, in xive_irq_startup()
691 xive_ops->configure_irq(hw_irq, in xive_irq_shutdown()
759 rc = xive_ops->configure_irq(hw_irq, in xive_irq_set_affinity()
897 if (xive_ops->sync_source) in xive_irq_set_vcpu_affinity()
898 xive_ops->sync_source(hw_irq); in xive_irq_set_vcpu_affinity()
914 if (xive_ops->sync_source) in xive_irq_set_vcpu_affinity()
915 xive_ops->sync_source(hw_irq); in xive_irq_set_vcpu_affinity()
925 rc = xive_ops->configure_irq(hw_irq, in xive_irq_set_vcpu_affinity()
1022 rc = xive_ops->populate_irq_data(hw, xd); in xive_irq_alloc_data()
1216 if (xive_ops->get_ipi(cpu, xc)) in xive_setup_cpu_ipi()
1223 rc = xive_ops->populate_irq_data(xc->hw_ipi, &xc->ipi_data); in xive_setup_cpu_ipi()
1228 rc = xive_ops->configure_irq(xc->hw_ipi, in xive_setup_cpu_ipi()
1266 xive_ops->configure_irq(xc->hw_ipi, hard_smp_processor_id(), in xive_cleanup_cpu_ipi()
1270 xive_ops->put_ipi(cpu, xc); in xive_cleanup_cpu_ipi()
1336 return xive_ops->match(node); in xive_irq_domain_match()
1476 xive_ops->cleanup_queue(cpu, xc, xive_irq_priority); in xive_cleanup_cpu_queues()
1485 rc = xive_ops->setup_queue(cpu, xc, xive_irq_priority); in xive_setup_cpu_queues()
1502 if (xive_ops->prepare_cpu) in xive_prepare_cpu()
1503 xive_ops->prepare_cpu(cpu, xc); in xive_prepare_cpu()
1517 if (xive_ops->setup_cpu) in xive_setup_cpu()
1518 xive_ops->setup_cpu(smp_processor_id(), xc); in xive_setup_cpu()
1646 if (xive_ops->teardown_cpu) in xive_teardown_cpu()
1647 xive_ops->teardown_cpu(cpu, xc); in xive_teardown_cpu()
1660 xive_ops->shutdown(); in xive_shutdown()
1663 bool __init xive_core_init(struct device_node *np, const struct xive_ops *ops, in xive_core_init()
1668 xive_ops = ops; in xive_core_init()
1686 xive_ops->name); in xive_core_init()
1758 rc = xive_ops->get_irq_config(hw_irq, &target, &prio, &lirq); in xive_debug_show_irq()
1791 if (xive_ops->debug_show) in xive_ipi_debug_show()
1792 xive_ops->debug_show(m, private); in xive_ipi_debug_show()
1851 if (xive_ops->debug_create) in xive_core_debugfs_create()
1852 xive_ops->debug_create(xive_dir); in xive_core_debugfs_create()