Home
last modified time | relevance | path

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

12

/linux-6.6.21/arch/arm64/kvm/vgic/
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()
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()
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()
Dvgic-mmio-v3.c377 irq_set_irqchip_state(irq->host_irq, in vgic_v3_uaccess_write_pending()
1138 err = irq_set_irqchip_state(irq->host_irq, in vgic_v3_dispatch_sgi()
1141 WARN_RATELIMIT(err, "IRQ %d", irq->host_irq); in vgic_v3_dispatch_sgi()
Dvgic-debug.c199 err = irq_get_irqchip_state(irq->host_irq, in print_irq_state()
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()
/linux-6.6.21/arch/x86/kvm/vmx/
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()
Dposted_intr.h102 int vmx_pi_update_irte(struct kvm *kvm, unsigned int host_irq,
/linux-6.6.21/arch/arm/mach-footbridge/
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()
/linux-6.6.21/drivers/cpufreq/
Dbrcmstb-avs-cpufreq.c182 int host_irq; member
207 if (priv->host_irq >= 0) in wait_for_avs_command()
579 priv->host_irq = platform_get_irq_byname(pdev, BRCM_AVS_HOST_INTR); in brcm_avs_prepare_init()
581 ret = devm_request_irq(dev, priv->host_irq, irq_handler, in brcm_avs_prepare_init()
584 if (ret && priv->host_irq >= 0) { in brcm_avs_prepare_init()
586 BRCM_AVS_HOST_INTR, priv->host_irq, ret); in brcm_avs_prepare_init()
/linux-6.6.21/drivers/irqchip/
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()
/linux-6.6.21/include/kvm/
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,
/linux-6.6.21/arch/x86/kvm/svm/
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()
Dsvm.h654 int avic_pi_update_irte(struct kvm *kvm, unsigned int host_irq,
/linux-6.6.21/arch/powerpc/kvm/
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()
Dbook3s_xics.h47 u32 host_irq; member
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()
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()
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()
/linux-6.6.21/drivers/usb/chipidea/
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()
/linux-6.6.21/arch/powerpc/include/asm/
Dkvm_ppc.h647 unsigned long host_irq);
649 unsigned long host_irq);
697 unsigned long host_irq);
699 unsigned long host_irq);
/linux-6.6.21/arch/x86/kvm/
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,
/linux-6.6.21/virt/kvm/
Deventfd.c288 struct kvm *kvm, unsigned int host_irq, in kvm_arch_update_irqfd_routing() argument
/linux-6.6.21/tools/include/uapi/linux/
Dkvm.h2038 __u32 host_irq; /* ignored (legacy field) */ member
/linux-6.6.21/include/uapi/linux/
Dkvm.h2045 __u32 host_irq; /* ignored (legacy field) */ member

12