Lines Matching refs:ue
143 const struct kvm_irq_routing_entry *ue) in setup_routing_entry() argument
147 u32 gsi = array_index_nospec(ue->gsi, KVM_MAX_IRQ_ROUTES); in setup_routing_entry()
155 ue->type != KVM_IRQ_ROUTING_IRQCHIP || in setup_routing_entry()
156 ue->u.irqchip.irqchip == ei->irqchip.irqchip) in setup_routing_entry()
160 e->type = ue->type; in setup_routing_entry()
161 r = kvm_set_routing_entry(kvm, e, ue); in setup_routing_entry()
182 const struct kvm_irq_routing_entry *ue, in kvm_set_irq_routing() argument
192 if (ue[i].gsi >= KVM_MAX_IRQ_ROUTES) in kvm_set_irq_routing()
194 nr_rt_entries = max(nr_rt_entries, ue[i].gsi); in kvm_set_irq_routing()
217 switch (ue->type) { in kvm_set_irq_routing()
219 if (ue->flags & ~KVM_MSI_VALID_DEVID) in kvm_set_irq_routing()
223 if (ue->flags) in kvm_set_irq_routing()
227 r = setup_routing_entry(kvm, new, e, ue); in kvm_set_irq_routing()
230 ++ue; in kvm_set_irq_routing()