Searched refs:hw_irq (Results 1 - 76 of 76) sorted by relevance

/linux-4.4.14/arch/x86/include/asm/
H A Dmsi.h3 #include <asm/hw_irq.h>
H A Dirqdomain.h5 #include <asm/hw_irq.h>
H A Dirq_remapping.h26 #include <asm/hw_irq.h>
H A Dlguest_hcall.h29 #include <asm/hw_irq.h>
H A Dipi.h23 #include <asm/hw_irq.h>
/linux-4.4.14/arch/powerpc/sysdev/xics/
H A Dics-rtas.c41 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); ics_rtas_unmask_irq() local
45 pr_devel("xics: unmask virq %d [hw 0x%x]\n", d->irq, hw_irq); ics_rtas_unmask_irq()
47 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) ics_rtas_unmask_irq()
52 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, hw_irq, server, ics_rtas_unmask_irq()
57 __func__, hw_irq, server, call_status); ics_rtas_unmask_irq()
62 call_status = rtas_call(ibm_int_on, 1, 1, NULL, hw_irq); ics_rtas_unmask_irq()
65 __func__, hw_irq, call_status); ics_rtas_unmask_irq()
86 static void ics_rtas_mask_real_irq(unsigned int hw_irq) ics_rtas_mask_real_irq() argument
90 if (hw_irq == XICS_IPI) ics_rtas_mask_real_irq()
93 call_status = rtas_call(ibm_int_off, 1, 1, NULL, hw_irq); ics_rtas_mask_real_irq()
96 __func__, hw_irq, call_status); ics_rtas_mask_real_irq()
101 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, hw_irq, ics_rtas_mask_real_irq()
105 __func__, hw_irq, call_status); ics_rtas_mask_real_irq()
112 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); ics_rtas_mask_irq() local
114 pr_devel("xics: mask virq %d [hw 0x%x]\n", d->irq, hw_irq); ics_rtas_mask_irq()
116 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) ics_rtas_mask_irq()
118 ics_rtas_mask_real_irq(hw_irq); ics_rtas_mask_irq()
125 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); ics_rtas_set_affinity() local
130 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) ics_rtas_set_affinity()
133 status = rtas_call(ibm_get_xive, 1, 3, xics_status, hw_irq); ics_rtas_set_affinity()
137 __func__, hw_irq, status); ics_rtas_set_affinity()
149 hw_irq, irq_server, xics_status[1]); ics_rtas_set_affinity()
153 __func__, hw_irq, status); ics_rtas_set_affinity()
171 unsigned int hw_irq = (unsigned int)virq_to_hw(virq); ics_rtas_map() local
175 if (WARN_ON(hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS)) ics_rtas_map()
179 rc = rtas_call(ibm_get_xive, 1, 3, status, hw_irq); ics_rtas_map()
H A Dics-opal.c48 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); ics_opal_unmask_irq() local
52 pr_devel("ics-hal: unmask virq %d [hw 0x%x]\n", d->irq, hw_irq); ics_opal_unmask_irq()
54 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) ics_opal_unmask_irq()
60 rc = opal_set_xive(hw_irq, server, DEFAULT_PRIORITY); ics_opal_unmask_irq()
64 __func__, d->irq, hw_irq, server, rc); ics_opal_unmask_irq()
84 static void ics_opal_mask_real_irq(unsigned int hw_irq) ics_opal_mask_real_irq() argument
89 if (hw_irq == XICS_IPI) ics_opal_mask_real_irq()
93 rc = opal_set_xive(hw_irq, server, 0xff); ics_opal_mask_real_irq()
96 __func__, hw_irq, rc); ics_opal_mask_real_irq()
101 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); ics_opal_mask_irq() local
103 pr_devel("ics-hal: mask virq %d [hw 0x%x]\n", d->irq, hw_irq); ics_opal_mask_irq()
105 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) ics_opal_mask_irq()
107 ics_opal_mask_real_irq(hw_irq); ics_opal_mask_irq()
114 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); ics_opal_set_affinity() local
121 if (hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS) ics_opal_set_affinity()
124 rc = opal_get_xive(hw_irq, &oserver, &priority); ics_opal_set_affinity()
127 __func__, d->irq, hw_irq, rc); ics_opal_set_affinity()
141 d->irq, hw_irq, wanted_server, server); ics_opal_set_affinity()
143 rc = opal_set_xive(hw_irq, server, priority); ics_opal_set_affinity()
147 __func__, d->irq, hw_irq, server, rc); ics_opal_set_affinity()
181 unsigned int hw_irq = (unsigned int)virq_to_hw(virq); ics_opal_map() local
186 if (WARN_ON(hw_irq == XICS_IPI || hw_irq == XICS_IRQ_SPURIOUS)) ics_opal_map()
190 rc = opal_get_xive(hw_irq, &server, &priority); ics_opal_map()
H A Dicp-hv.c81 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); icp_hv_eoi() local
84 icp_hv_set_xirr((xics_pop_cppr() << 24) | hw_irq); icp_hv_eoi()
H A Dicp-native.c93 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); icp_native_eoi() local
96 icp_native_set_xirr((xics_pop_cppr() << 24) | hw_irq); icp_native_eoi()
/linux-4.4.14/include/asm-generic/
H A Dhw_irq.h4 * hw_irq.h has internal declarations for the low-level interrupt
/linux-4.4.14/arch/xtensa/include/asm/
H A Dhw_irq.h2 * include/asm-xtensa/hw_irq.h
/linux-4.4.14/drivers/irqchip/
H A Dirq-renesas-intc-irqpin.c69 int hw_irq; member in struct:intc_irqpin_irq
129 int reg, int hw_irq) intc_irqpin_hwirq_mask()
131 return BIT((p->iomem[reg].width - 1) - hw_irq); intc_irqpin_hwirq_mask()
135 int reg, int hw_irq) intc_irqpin_irq_write_hwirq()
137 intc_irqpin_write(p, reg, intc_irqpin_hwirq_mask(p, reg, hw_irq)); intc_irqpin_irq_write_hwirq()
190 str, i->requested_irq, i->hw_irq, i->domain_irq); intc_irqpin_dbg()
196 int hw_irq = irqd_to_hwirq(d); intc_irqpin_irq_enable() local
198 intc_irqpin_dbg(&p->irq[hw_irq], "enable"); intc_irqpin_irq_enable()
199 intc_irqpin_irq_write_hwirq(p, INTC_IRQPIN_REG_CLEAR, hw_irq); intc_irqpin_irq_enable()
205 int hw_irq = irqd_to_hwirq(d); intc_irqpin_irq_disable() local
207 intc_irqpin_dbg(&p->irq[hw_irq], "disable"); intc_irqpin_irq_disable()
208 intc_irqpin_irq_write_hwirq(p, INTC_IRQPIN_REG_MASK, hw_irq); intc_irqpin_irq_disable()
214 int hw_irq = irqd_to_hwirq(d); intc_irqpin_shared_irq_enable() local
216 intc_irqpin_dbg(&p->irq[hw_irq], "shared enable"); intc_irqpin_shared_irq_enable()
217 intc_irqpin_irq_write_hwirq(p, INTC_IRQPIN_REG_CLEAR, hw_irq); intc_irqpin_shared_irq_enable()
219 p->shared_irq_mask &= ~BIT(hw_irq); intc_irqpin_shared_irq_enable()
225 int hw_irq = irqd_to_hwirq(d); intc_irqpin_shared_irq_disable() local
227 intc_irqpin_dbg(&p->irq[hw_irq], "shared disable"); intc_irqpin_shared_irq_disable()
228 intc_irqpin_irq_write_hwirq(p, INTC_IRQPIN_REG_MASK, hw_irq); intc_irqpin_shared_irq_disable()
230 p->shared_irq_mask |= BIT(hw_irq); intc_irqpin_shared_irq_disable()
286 int hw_irq = irqd_to_hwirq(d); intc_irqpin_irq_set_wake() local
288 irq_set_irq_wake(p->irq[hw_irq].requested_irq, on); intc_irqpin_irq_set_wake()
308 bit = intc_irqpin_hwirq_mask(p, INTC_IRQPIN_REG_SOURCE, i->hw_irq); intc_irqpin_irq_handler()
350 p->irq[hw].hw_irq = hw; intc_irqpin_irq_domain_map()
128 intc_irqpin_hwirq_mask(struct intc_irqpin_priv *p, int reg, int hw_irq) intc_irqpin_hwirq_mask() argument
134 intc_irqpin_irq_write_hwirq(struct intc_irqpin_priv *p, int reg, int hw_irq) intc_irqpin_irq_write_hwirq() argument
H A Dirq-renesas-irqc.c54 int hw_irq; member in struct:irqc_irq
78 str, i->requested_irq, i->hw_irq); irqc_dbg()
92 int hw_irq = irqd_to_hwirq(d); irqc_irq_set_type() local
96 irqc_dbg(&p->irq[hw_irq], "sense"); irqc_irq_set_type()
101 tmp = ioread32(p->iomem + IRQC_CONFIG(hw_irq)); irqc_irq_set_type()
104 iowrite32(tmp, p->iomem + IRQC_CONFIG(hw_irq)); irqc_irq_set_type()
111 int hw_irq = irqd_to_hwirq(d); irqc_irq_set_wake() local
113 irq_set_irq_wake(p->irq[hw_irq].requested_irq, on); irqc_irq_set_wake()
130 u32 bit = BIT(i->hw_irq); irqc_irq_handler()
137 generic_handle_irq(irq_find_mapping(p->irq_domain, i->hw_irq)); irqc_irq_handler()
186 p->irq[k].hw_irq = k; irqc_probe()
H A Dirq-bcm7038-l1.c273 irq_hw_number_t hw_irq) bcm7038_l1_map()
272 bcm7038_l1_map(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw_irq) bcm7038_l1_map() argument
/linux-4.4.14/arch/frv/include/asm/
H A Dhw_irq.h0 /* hw_irq.h: FR-V specific h/w IRQ stuff
/linux-4.4.14/arch/ia64/include/asm/
H A Dirq.h11 * 02/29/00 D.Mosberger moved most things into hw_irq.h
H A Dpci.h12 #include <asm/hw_irq.h>
/linux-4.4.14/arch/x86/kernel/
H A Dtracepoint.c7 #include <asm/hw_irq.h>
H A Dirqinit.c20 #include <asm/hw_irq.h>
H A Di8259.c19 #include <asm/hw_irq.h>
H A Dirq.c19 #include <asm/hw_irq.h>
H A Dcrash.c30 #include <asm/hw_irq.h>
/linux-4.4.14/arch/powerpc/include/asm/
H A Dperf_event_fsl_emb.h14 #include <asm/hw_irq.h>
H A Dirqflags.h11 #include <asm/hw_irq.h>
H A Dperf_event_server.h13 #include <asm/hw_irq.h>
H A Dopal.h114 int64_t opal_pci_msi_eoi(uint64_t phb_id, uint32_t hw_irq);
/linux-4.4.14/arch/powerpc/kernel/
H A Dppc_ksyms_32.c7 #include <asm/hw_irq.h>
H A Dmachine_kexec_32.c16 #include <asm/hw_irq.h>
H A Didle_power7.S18 #include <asm/hw_irq.h>
H A Dsmp.c38 #include <asm/hw_irq.h>
H A Dhead_64.S42 #include <asm/hw_irq.h>
H A Dentry_64.S36 #include <asm/hw_irq.h>
H A Dexceptions-64e.S27 #include <asm/hw_irq.h>
H A Dexceptions-64s.S15 #include <asm/hw_irq.h>
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
H A Dtimer.c16 #include <asm/hw_irq.h>
H A Dsn2_smp.c34 #include <asm/hw_irq.h>
/linux-4.4.14/kernel/irq/
H A Dgeneric-chip.c332 * irq_get_domain_generic_chip - Get a pointer to the generic chip of a hw_irq
334 * @hw_irq: Hardware interrupt number
337 irq_get_domain_generic_chip(struct irq_domain *d, unsigned int hw_irq) irq_get_domain_generic_chip() argument
344 idx = hw_irq / dgc->irqs_per_chip; irq_get_domain_generic_chip()
361 irq_hw_number_t hw_irq) irq_map_generic_chip()
374 idx = hw_irq / dgc->irqs_per_chip; irq_map_generic_chip()
379 idx = hw_irq % dgc->irqs_per_chip; irq_map_generic_chip()
408 irq_domain_set_info(d, virq, hw_irq, chip, gc, ct->handler, NULL, NULL); irq_map_generic_chip()
360 irq_map_generic_chip(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw_irq) irq_map_generic_chip() argument
/linux-4.4.14/drivers/pci/host/
H A Dpci-xgene-msi.c304 int msir_index, msir_val, hw_irq; xgene_msi_isr() local
334 hw_irq = (((msir_index * IRQS_PER_IDX) + intr_index) * xgene_msi_isr()
337 * As we have multiple hw_irq that maps to single MSI, xgene_msi_isr()
338 * always look up the virq using the hw_irq as seen from xgene_msi_isr()
341 hw_irq = hwirq_to_canonical_hwirq(hw_irq); xgene_msi_isr()
342 virq = irq_find_mapping(xgene_msi->inner_domain, hw_irq); xgene_msi_isr()
H A Dpci-keystone-dw.c266 unsigned int irq, irq_hw_number_t hw_irq) ks_dw_pcie_init_legacy_irq_map()
265 ks_dw_pcie_init_legacy_irq_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw_irq) ks_dw_pcie_init_legacy_irq_map() argument
/linux-4.4.14/drivers/cpufreq/
H A Dppc_cbe_cpufreq_pervasive.c30 #include <asm/hw_irq.h>
H A Dpasemi-cpufreq.c33 #include <asm/hw_irq.h>
/linux-4.4.14/arch/powerpc/platforms/83xx/
H A Dmisc.c18 #include <asm/hw_irq.h>
/linux-4.4.14/arch/powerpc/sysdev/
H A Dmpic_msi.c16 #include <asm/hw_irq.h>
H A Dmpic_u3msi.c16 #include <asm/hw_irq.h>
H A Dmpic_msgr.c21 #include <asm/hw_irq.h>
H A Dppc4xx_msi.c32 #include <asm/hw_irq.h>
H A Dfsl_msi.c24 #include <asm/hw_irq.h>
/linux-4.4.14/drivers/iommu/
H A Dirq_remapping.c11 #include <asm/hw_irq.h>
H A Damd_iommu.c41 #include <asm/hw_irq.h>
/linux-4.4.14/arch/x86/kernel/apic/
H A Dhtirq.c20 #include <asm/hw_irq.h>
H A Dmsi.c22 #include <asm/hw_irq.h>
H A Dvector.c18 #include <asm/hw_irq.h>
H A Dio_apic.c63 #include <asm/hw_irq.h>
/linux-4.4.14/arch/x86/platform/intel-mid/
H A Dintel-mid.c27 #include <asm/hw_irq.h>
H A Dsfi.c35 #include <asm/hw_irq.h>
/linux-4.4.14/arch/powerpc/platforms/pasemi/
H A Dmsi.c20 #include <asm/hw_irq.h>
/linux-4.4.14/arch/m32r/kernel/
H A Dtime.c34 #include <asm/hw_irq.h>
/linux-4.4.14/arch/powerpc/kvm/
H A Dbook3s_mmu_hpte.c29 #include <asm/hw_irq.h>
H A Dbook3s_32_mmu_host.c28 #include <asm/hw_irq.h>
H A Dbook3s_64_mmu_host.c29 #include <asm/hw_irq.h>
H A Dbookehv_interrupts.S34 #include <asm/hw_irq.h>
H A Dbooke.c37 #include <asm/hw_irq.h>
/linux-4.4.14/arch/s390/kernel/
H A Dirq.c26 #include <asm/hw_irq.h>
/linux-4.4.14/arch/x86/pci/
H A Dintel_mid_pci.c32 #include <asm/hw_irq.h>
/linux-4.4.14/arch/ia64/kernel/
H A Dtime.c27 #include <asm/hw_irq.h>
H A Dirq_ia64.c38 #include <asm/hw_irq.h>
H A Diosapic.c72 * Please see also arch/ia64/include/asm/hw_irq.h for those APIs.
95 #include <asm/hw_irq.h>
H A Dmca_drv.c35 #include <asm/hw_irq.h>
H A Dmca.c100 #include <asm/hw_irq.h>
/linux-4.4.14/include/linux/
H A Dirq.h418 #include <asm/hw_irq.h>
878 irq_hw_number_t hw_irq);
889 struct irq_chip_generic *irq_get_domain_generic_chip(struct irq_domain *d, unsigned int hw_irq);
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Dmsi.c17 #include <asm/hw_irq.h>
/linux-4.4.14/arch/ia64/pci/
H A Dpci.c32 #include <asm/hw_irq.h>
/linux-4.4.14/arch/alpha/kernel/
H A Dperf_event.c25 #include <asm/hw_irq.h>
/linux-4.4.14/drivers/xen/events/
H A Devents_base.c61 #include <asm/hw_irq.h>
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c2453 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); pnv_ioda2_msi_eoi() local
2459 rc = opal_pci_msi_eoi(phb->opal_id, hw_irq); pnv_ioda2_msi_eoi()
/linux-4.4.14/arch/x86/entry/
H A Dentry_64.S30 #include <asm/hw_irq.h>

Completed in 1778 milliseconds