Lines Matching +full:virtual +full:- +full:wire +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0-only
33 * With interrupt-remapping, for now we will use virtual wire A in irq_remapping_restore_boot_irq_mode()
34 * mode, as virtual wire B is little complex (need to configure in irq_remapping_restore_boot_irq_mode()
35 * both IOAPIC RTE as well as interrupt-remapping table entry). in irq_remapping_restore_boot_irq_mode()
58 return -EINVAL; in setup_irqremap()
93 return (remap_ops->capability & (1 << cap)); in irq_remapping_cap()
100 return -ENOSYS; in irq_remapping_prepare()
112 return -ENOSYS; in irq_remapping_prepare()
121 if (!remap_ops->enable) in irq_remapping_enable()
122 return -ENODEV; in irq_remapping_enable()
124 ret = remap_ops->enable(); in irq_remapping_enable()
134 if (irq_remapping_enabled && remap_ops->disable) in irq_remapping_disable()
135 remap_ops->disable(); in irq_remapping_disable()
138 int irq_remapping_reenable(int mode) in irq_remapping_reenable() argument
140 if (irq_remapping_enabled && remap_ops->reenable) in irq_remapping_reenable()
141 return remap_ops->reenable(mode); in irq_remapping_reenable()
151 if (!remap_ops->enable_faulting) in irq_remap_enable_fault_handling()
152 return -ENODEV; in irq_remap_enable_fault_handling()
154 return remap_ops->enable_faulting(); in irq_remap_enable_fault_handling()