Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dposted_intr.c253 int pi_update_irte(struct kvm *kvm, unsigned int host_irq, uint32_t guest_irq, in pi_update_irte() argument
301 ret = irq_set_vcpu_affinity(host_irq, NULL); in pi_update_irte()
305 host_irq); in pi_update_irte()
315 trace_kvm_pi_irte_update(host_irq, vcpu->vcpu_id, e->gsi, in pi_update_irte()
319 ret = irq_set_vcpu_affinity(host_irq, &vcpu_info); in pi_update_irte()
321 ret = irq_set_vcpu_affinity(host_irq, NULL); in pi_update_irte()
Dposted_intr.h96 int pi_update_irte(struct kvm *kvm, unsigned int host_irq, uint32_t guest_irq,
/kernel/linux/linux-5.10/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()
418 irq->host_irq = virq; in kvm_vgic_v4_set_forwarding()
451 WARN_ON(!(irq->hw && irq->host_irq == virq)); in kvm_vgic_v4_unset_forwarding()
Dvgic.c174 WARN_ON(irq_set_irqchip_state(irq->host_irq, in vgic_irq_set_phys_pending()
188 WARN_ON(irq_get_irqchip_state(irq->host_irq, in vgic_get_phys_line_level()
199 WARN_ON(irq_set_irqchip_state(irq->host_irq, in vgic_irq_set_phys_active()
482 unsigned int host_irq, in kvm_vgic_map_irq() argument
491 desc = irq_to_desc(host_irq); in kvm_vgic_map_irq()
501 irq->host_irq = host_irq; in kvm_vgic_map_irq()
515 int kvm_vgic_map_phys_irq(struct kvm_vcpu *vcpu, unsigned int host_irq, in kvm_vgic_map_phys_irq() argument
525 ret = kvm_vgic_map_irq(vcpu, irq, host_irq, get_input_level); 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()
247 err = irq_get_irqchip_state(irq->host_irq, in vgic_mmio_read_pending()
250 WARN_RATELIMIT(err, "IRQ %d", irq->host_irq); in vgic_mmio_read_pending()
292 err = irq_set_irqchip_state(irq->host_irq, in vgic_mmio_write_spending()
295 WARN_RATELIMIT(err, "IRQ %d", irq->host_irq); in vgic_mmio_write_spending()
385 err = irq_set_irqchip_state(irq->host_irq, in vgic_mmio_write_cpending()
388 WARN_RATELIMIT(err, "IRQ %d", irq->host_irq); in vgic_mmio_write_cpending()
Dvgic-mmio-v3.c332 err = irq_get_irqchip_state(irq->host_irq, in vgic_v3_uaccess_read_pending()
1033 err = irq_set_irqchip_state(irq->host_irq, in vgic_v3_dispatch_sgi()
1036 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()
742 return irq_set_irqchip_state(irq->host_irq, in vgic_its_trigger_msi()
814 WARN_ON(its_unmap_vlpi(ite->irq->host_irq)); in its_free_ite()
1269 return irq_set_irqchip_state(ite->irq->host_irq, in vgic_its_cmd_handle_clear()
/kernel/linux/linux-5.10/drivers/cpufreq/
Dbrcmstb-avs-cpufreq.c182 int host_irq; member
207 if (priv->host_irq >= 0) in wait_for_avs_command()
575 priv->host_irq = platform_get_irq_byname(pdev, BRCM_AVS_HOST_INTR); in brcm_avs_prepare_init()
577 ret = devm_request_irq(dev, priv->host_irq, irq_handler, in brcm_avs_prepare_init()
580 if (ret && priv->host_irq >= 0) { in brcm_avs_prepare_init()
582 BRCM_AVS_HOST_INTR, priv->host_irq, ret); in brcm_avs_prepare_init()
/kernel/linux/linux-5.10/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
495 hipir = pruss_intc_read_reg(intc, PRU_INTC_HIPIR(host_irq)); in pruss_intc_irq_handler()
585 host_data->host_irq = i; in pruss_intc_probe()
/kernel/linux/linux-5.10/include/kvm/
Darm_vgic.h118 unsigned int host_irq; /* linux irq corresponding to hwintid */ member
353 int kvm_vgic_map_phys_irq(struct kvm_vcpu *vcpu, unsigned int host_irq,
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Davic.c806 int svm_update_pi_irte(struct kvm *kvm, unsigned int host_irq, in svm_update_pi_irte() argument
818 __func__, host_irq, guest_irq, set); in svm_update_pi_irte()
849 ret = irq_set_vcpu_affinity(host_irq, &pi); in svm_update_pi_irte()
871 ret = irq_set_vcpu_affinity(host_irq, &pi); in svm_update_pi_irte()
890 trace_kvm_pi_irte_update(host_irq, svm->vcpu.vcpu_id, in svm_update_pi_irte()
Dsvm.h463 int svm_update_pi_irte(struct kvm *kvm, unsigned int host_irq,
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_xics.c119 if (state->host_irq) in ics_deliver_irq()
1488 unsigned long host_irq) in kvmppc_xics_set_mapped() argument
1498 ics->irq_state[idx].host_irq = host_irq; in kvmppc_xics_set_mapped()
1504 unsigned long host_irq) in kvmppc_xics_clr_mapped() argument
1514 ics->irq_state[idx].host_irq = 0; in kvmppc_xics_clr_mapped()
Dbook3s_xics.h47 u32 host_irq; member
Dbook3s_xive.c903 unsigned int host_irq = irq_desc_get_irq(host_desc); in kvmppc_xive_set_mapped() local
932 rc = irq_set_vcpu_affinity(host_irq, state); in kvmppc_xive_set_mapped()
934 pr_err("Failed to set VCPU affinity for irq %d\n", host_irq); in kvmppc_xive_set_mapped()
999 unsigned int host_irq = irq_desc_get_irq(host_desc); in kvmppc_xive_clr_mapped() local
1032 rc = irq_set_vcpu_affinity(host_irq, NULL); in kvmppc_xive_clr_mapped()
1034 pr_err("Failed to clr VCPU affinity for irq %d\n", host_irq); in kvmppc_xive_clr_mapped()
Dbook3s_hv_rm_xics.c716 if (state->host_irq) { in ics_rm_eoi()
725 xics_opal_set_server(state->host_irq, pcpu); in ics_rm_eoi()
Dbook3s_hv.c5120 static int kvmppc_set_passthru_irq(struct kvm *kvm, int host_irq, int guest_gsi) in kvmppc_set_passthru_irq() argument
5131 desc = irq_to_desc(host_irq); in kvmppc_set_passthru_irq()
5156 host_irq, guest_gsi); in kvmppc_set_passthru_irq()
5208 static int kvmppc_clr_passthru_irq(struct kvm *kvm, int host_irq, int guest_gsi) in kvmppc_clr_passthru_irq() argument
5217 desc = irq_to_desc(host_irq); in kvmppc_clr_passthru_irq()
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dhost.c102 static irqreturn_t host_irq(struct ci_hdrc *ci) in host_irq() function
373 rdrv->irq = host_irq; in ci_hdrc_host_init()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dtrace.h990 TP_PROTO(unsigned int host_irq, unsigned int vcpu_id,
993 TP_ARGS(host_irq, vcpu_id, gsi, gvec, pi_desc_addr, set),
996 __field( unsigned int, host_irq )
1005 __entry->host_irq = host_irq;
1016 __entry->host_irq,
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_ppc.h614 unsigned long host_irq);
616 unsigned long host_irq);
/kernel/linux/linux-5.10/virt/kvm/
Deventfd.c274 struct kvm *kvm, unsigned int host_irq, in kvm_arch_update_irqfd_routing() argument
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dkvm.h1195 __u32 host_irq; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dkvm.h1668 __u32 host_irq; /* ignored (legacy field) */ member

12