Home
last modified time | relevance | path

Searched refs:host_irq (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/arch/x86/kvm/vmx/
H A Dposted_intr.c272 int vmx_pi_update_irte(struct kvm *kvm, unsigned int host_irq, in vmx_pi_update_irte() argument
320 ret = irq_set_vcpu_affinity(host_irq, NULL); in vmx_pi_update_irte()
324 host_irq); in vmx_pi_update_irte()
334 trace_kvm_pi_irte_update(host_irq, vcpu->vcpu_id, e->gsi, in vmx_pi_update_irte()
338 ret = irq_set_vcpu_affinity(host_irq, &vcpu_info); in vmx_pi_update_irte()
340 ret = irq_set_vcpu_affinity(host_irq, NULL); in vmx_pi_update_irte()
H A Dposted_intr.h13 int vmx_pi_update_irte(struct kvm *kvm, unsigned int host_irq,
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-v4.c137 irq->host_irq = irq_find_mapping(vpe->sgi_domain, i); in vgic_v4_enable_vsgis()
141 desc = irq_to_desc(irq->host_irq); in vgic_v4_enable_vsgis()
146 ret = irq_set_irqchip_state(irq->host_irq, in vgic_v4_enable_vsgis()
174 ret = irq_get_irqchip_state(irq->host_irq, in vgic_v4_disable_vsgis()
179 desc = irq_to_desc(irq->host_irq); in vgic_v4_disable_vsgis()
460 irq->host_irq = virq; in kvm_vgic_v4_set_forwarding()
466 ret = irq_set_irqchip_state(irq->host_irq, in kvm_vgic_v4_set_forwarding()
469 WARN_RATELIMIT(ret, "IRQ %d", irq->host_irq); in kvm_vgic_v4_set_forwarding()
511 WARN_ON(!(irq->hw && irq->host_irq == virq)); in kvm_vgic_v4_unset_forwarding()
H A Dvgic.c175 WARN_ON(irq_set_irqchip_state(irq->host_irq, in vgic_irq_set_phys_pending()
189 WARN_ON(irq_get_irqchip_state(irq->host_irq, in vgic_get_phys_line_level()
200 WARN_ON(irq_set_irqchip_state(irq->host_irq, in vgic_irq_set_phys_active()
483 unsigned int host_irq, in kvm_vgic_map_irq() argument
492 desc = irq_to_desc(host_irq); in kvm_vgic_map_irq()
502 irq->host_irq = host_irq; in kvm_vgic_map_irq()
516 int kvm_vgic_map_phys_irq(struct kvm_vcpu *vcpu, unsigned int host_irq, in kvm_vgic_map_phys_irq() argument
526 ret = kvm_vgic_map_irq(vcpu, irq, host_irq, ops); in kvm_vgic_map_phys_irq()
H A Dvgic-mmio.c66 WARN_ON(its_prop_update_vsgi(irq->host_irq, irq->priority, irq->group)); in vgic_update_vsgi()
133 data = &irq_to_desc(irq->host_irq)->irq_data; in vgic_mmio_write_senable()
135 enable_irq(irq->host_irq); in vgic_mmio_write_senable()
178 disable_irq_nosync(irq->host_irq); in vgic_mmio_write_cenable()
257 err = irq_get_irqchip_state(irq->host_irq, in __read_pending()
260 WARN_RATELIMIT(err, "IRQ %d", irq->host_irq); in __read_pending()
326 err = irq_set_irqchip_state(irq->host_irq, in vgic_mmio_write_spending()
329 WARN_RATELIMIT(err, "IRQ %d", irq->host_irq); in vgic_mmio_write_spending()
419 err = irq_set_irqchip_state(irq->host_irq, in vgic_mmio_write_cpending()
422 WARN_RATELIMIT(err, "IRQ %d", irq->host_irq); in vgic_mmio_write_cpending()
H A Dvgic-mmio-v3.c377 irq_set_irqchip_state(irq->host_irq, in vgic_v3_uaccess_write_pending()
1149 err = irq_set_irqchip_state(irq->host_irq, in vgic_v3_dispatch_sgi()
1152 WARN_RATELIMIT(err, "IRQ %d", irq->host_irq); in vgic_v3_dispatch_sgi()
H A Dvgic-debug.c199 err = irq_get_irqchip_state(irq->host_irq, in print_irq_state()
H A Dvgic-its.c309 return its_prop_update_vlpi(irq->host_irq, prop, needs_inv); in update_lpi_config()
366 ret = its_get_vlpi(irq->host_irq, &map); in update_affinity()
375 ret = its_map_vlpi(irq->host_irq, &map); in update_affinity()
749 return irq_set_irqchip_state(irq->host_irq, in vgic_its_trigger_msi()
822 WARN_ON(its_unmap_vlpi(ite->irq->host_irq)); in its_free_ite()
1310 return irq_set_irqchip_state(ite->irq->host_irq, in vgic_its_cmd_handle_clear()
/openbmc/linux/arch/arm/mach-footbridge/
H A Disa-irq.c111 void __init isa_init_irq(unsigned int host_irq) in isa_init_irq() argument
140 host_irq = (unsigned int)-1; in isa_init_irq()
143 if (host_irq != (unsigned int)-1) { in isa_init_irq()
163 irq_set_chained_handler(host_irq, isa_irq_handler); in isa_init_irq()
/openbmc/linux/drivers/cpufreq/
H A Dbrcmstb-avs-cpufreq.c182 int host_irq; member
207 if (priv->host_irq >= 0) in wait_for_avs_command()
584 priv->host_irq = platform_get_irq_byname(pdev, BRCM_AVS_HOST_INTR); in brcm_avs_prepare_init()
586 ret = devm_request_irq(dev, priv->host_irq, irq_handler, in brcm_avs_prepare_init()
589 if (ret && priv->host_irq >= 0) { in brcm_avs_prepare_init()
591 BRCM_AVS_HOST_INTR, priv->host_irq, ret); in brcm_avs_prepare_init()
/openbmc/linux/drivers/irqchip/
H A Dirq-pruss-intc.c123 u8 host_irq; member
485 u8 host_irq = host_irq_data->host_irq + FIRST_PRU_HOST_INT; in pruss_intc_irq_handler() local
494 hipir = pruss_intc_read_reg(intc, PRU_INTC_HIPIR(host_irq)); in pruss_intc_irq_handler()
582 host_data->host_irq = i; in pruss_intc_probe()
/openbmc/linux/include/kvm/
H A Darm_vgic.h143 unsigned int host_irq; /* linux irq corresponding to hwintid */ member
380 int kvm_vgic_map_phys_irq(struct kvm_vcpu *vcpu, unsigned int host_irq,
/openbmc/linux/arch/x86/kvm/svm/
H A Davic.c894 int avic_pi_update_irte(struct kvm *kvm, unsigned int host_irq, in avic_pi_update_irte() argument
906 __func__, host_irq, guest_irq, set); in avic_pi_update_irte()
943 ret = irq_set_vcpu_affinity(host_irq, &pi); in avic_pi_update_irte()
965 ret = irq_set_vcpu_affinity(host_irq, &pi); in avic_pi_update_irte()
984 trace_kvm_pi_irte_update(host_irq, svm->vcpu.vcpu_id, in avic_pi_update_irte()
H A Dsvm.h656 int avic_pi_update_irte(struct kvm *kvm, unsigned int host_irq,
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_xics.c119 if (state->host_irq) in ics_deliver_irq()
1479 unsigned long host_irq) in kvmppc_xics_set_mapped() argument
1489 ics->irq_state[idx].host_irq = host_irq; in kvmppc_xics_set_mapped()
1495 unsigned long host_irq) in kvmppc_xics_clr_mapped() argument
1505 ics->irq_state[idx].host_irq = 0; in kvmppc_xics_clr_mapped()
H A Dbook3s_xics.h47 u32 host_irq; member
H A Dbook3s_xive.c1552 unsigned long host_irq) in kvmppc_xive_set_mapped() argument
1558 irq_domain_get_irq_data(irq_get_default_host(), host_irq); in kvmppc_xive_set_mapped()
1568 __func__, guest_irq, host_irq, hw_irq); in kvmppc_xive_set_mapped()
1588 rc = irq_set_vcpu_affinity(host_irq, state); in kvmppc_xive_set_mapped()
1590 pr_err("Failed to set VCPU affinity for host IRQ %ld\n", host_irq); in kvmppc_xive_set_mapped()
1650 unsigned long host_irq) in kvmppc_xive_clr_mapped() argument
1662 pr_debug("%s: GIRQ 0x%lx host IRQ %ld\n", __func__, guest_irq, host_irq); in kvmppc_xive_clr_mapped()
1687 rc = irq_set_vcpu_affinity(host_irq, NULL); in kvmppc_xive_clr_mapped()
1689 pr_err("Failed to clr VCPU affinity for host IRQ %ld\n", host_irq); in kvmppc_xive_clr_mapped()
H A Dbook3s_hv_rm_xics.c715 if (state->host_irq) { in ics_rm_eoi()
724 xics_opal_set_server(state->host_irq, pcpu); in ics_rm_eoi()
H A Dbook3s_hv.c5636 static int kvmppc_set_passthru_irq(struct kvm *kvm, int host_irq, int guest_gsi) in kvmppc_set_passthru_irq() argument
5648 desc = irq_to_desc(host_irq); in kvmppc_set_passthru_irq()
5673 host_irq, guest_gsi); in kvmppc_set_passthru_irq()
5714 host_data = irq_domain_get_irq_data(irq_get_default_host(), host_irq); in kvmppc_set_passthru_irq()
5721 rc = kvmppc_xive_set_mapped(kvm, guest_gsi, host_irq); in kvmppc_set_passthru_irq()
5732 static int kvmppc_clr_passthru_irq(struct kvm *kvm, int host_irq, int guest_gsi) in kvmppc_clr_passthru_irq() argument
5741 desc = irq_to_desc(host_irq); in kvmppc_clr_passthru_irq()
5762 rc = kvmppc_xive_clr_mapped(kvm, guest_gsi, host_irq); in kvmppc_clr_passthru_irq()
/openbmc/linux/drivers/usb/chipidea/
H A Dhost.c114 static irqreturn_t host_irq(struct ci_hdrc *ci) in host_irq() function
484 rdrv->irq = host_irq; in ci_hdrc_host_init()
/openbmc/linux/arch/powerpc/include/asm/
H A Dkvm_ppc.h647 unsigned long host_irq);
649 unsigned long host_irq);
697 unsigned long host_irq);
699 unsigned long host_irq);
/openbmc/linux/arch/x86/kvm/
H A Dtrace.h1077 TP_PROTO(unsigned int host_irq, unsigned int vcpu_id,
1080 TP_ARGS(host_irq, vcpu_id, gsi, gvec, pi_desc_addr, set),
1083 __field( unsigned int, host_irq )
1092 __entry->host_irq = host_irq;
1103 __entry->host_irq,
/openbmc/qemu/hw/ppc/
H A De500.c96 int host_irq; in pci_map_create() local
110 host_irq = ppce500_pci_map_irq_slot(slot, pci_irq); in pci_map_create()
111 pci_map[i++] = cpu_to_be32(host_irq + 1); in pci_map_create()
/openbmc/linux/virt/kvm/
H A Deventfd.c288 struct kvm *kvm, unsigned int host_irq, in kvm_arch_update_irqfd_routing() argument
/openbmc/linux/include/uapi/linux/
H A Dkvm.h2045 __u32 host_irq; /* ignored (legacy field) */ member

12