/linux-4.4.14/arch/x86/include/asm/ |
H A D | msi.h | 3 #include <asm/hw_irq.h>
|
H A D | irqdomain.h | 5 #include <asm/hw_irq.h>
|
H A D | irq_remapping.h | 26 #include <asm/hw_irq.h>
|
H A D | lguest_hcall.h | 29 #include <asm/hw_irq.h>
|
H A D | ipi.h | 23 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/powerpc/sysdev/xics/ |
H A D | ics-rtas.c | 41 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 D | ics-opal.c | 48 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 D | icp-hv.c | 81 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 D | icp-native.c | 93 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 D | hw_irq.h | 4 * hw_irq.h has internal declarations for the low-level interrupt
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | hw_irq.h | 2 * include/asm-xtensa/hw_irq.h
|
/linux-4.4.14/drivers/irqchip/ |
H A D | irq-renesas-intc-irqpin.c | 69 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 D | irq-renesas-irqc.c | 54 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 D | irq-bcm7038-l1.c | 273 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 D | hw_irq.h | 0 /* hw_irq.h: FR-V specific h/w IRQ stuff
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | irq.h | 11 * 02/29/00 D.Mosberger moved most things into hw_irq.h
|
H A D | pci.h | 12 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | tracepoint.c | 7 #include <asm/hw_irq.h>
|
H A D | irqinit.c | 20 #include <asm/hw_irq.h>
|
H A D | i8259.c | 19 #include <asm/hw_irq.h>
|
H A D | irq.c | 19 #include <asm/hw_irq.h>
|
H A D | crash.c | 30 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | perf_event_fsl_emb.h | 14 #include <asm/hw_irq.h>
|
H A D | irqflags.h | 11 #include <asm/hw_irq.h>
|
H A D | perf_event_server.h | 13 #include <asm/hw_irq.h>
|
H A D | opal.h | 114 int64_t opal_pci_msi_eoi(uint64_t phb_id, uint32_t hw_irq);
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | ppc_ksyms_32.c | 7 #include <asm/hw_irq.h>
|
H A D | machine_kexec_32.c | 16 #include <asm/hw_irq.h>
|
H A D | idle_power7.S | 18 #include <asm/hw_irq.h>
|
H A D | smp.c | 38 #include <asm/hw_irq.h>
|
H A D | head_64.S | 42 #include <asm/hw_irq.h>
|
H A D | entry_64.S | 36 #include <asm/hw_irq.h>
|
H A D | exceptions-64e.S | 27 #include <asm/hw_irq.h>
|
H A D | exceptions-64s.S | 15 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
H A D | timer.c | 16 #include <asm/hw_irq.h>
|
H A D | sn2_smp.c | 34 #include <asm/hw_irq.h>
|
/linux-4.4.14/kernel/irq/ |
H A D | generic-chip.c | 332 * 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 D | pci-xgene-msi.c | 304 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 D | pci-keystone-dw.c | 266 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 D | ppc_cbe_cpufreq_pervasive.c | 30 #include <asm/hw_irq.h>
|
H A D | pasemi-cpufreq.c | 33 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/powerpc/platforms/83xx/ |
H A D | misc.c | 18 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/powerpc/sysdev/ |
H A D | mpic_msi.c | 16 #include <asm/hw_irq.h>
|
H A D | mpic_u3msi.c | 16 #include <asm/hw_irq.h>
|
H A D | mpic_msgr.c | 21 #include <asm/hw_irq.h>
|
H A D | ppc4xx_msi.c | 32 #include <asm/hw_irq.h>
|
H A D | fsl_msi.c | 24 #include <asm/hw_irq.h>
|
/linux-4.4.14/drivers/iommu/ |
H A D | irq_remapping.c | 11 #include <asm/hw_irq.h>
|
H A D | amd_iommu.c | 41 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/x86/kernel/apic/ |
H A D | htirq.c | 20 #include <asm/hw_irq.h>
|
H A D | msi.c | 22 #include <asm/hw_irq.h>
|
H A D | vector.c | 18 #include <asm/hw_irq.h>
|
H A D | io_apic.c | 63 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/x86/platform/intel-mid/ |
H A D | intel-mid.c | 27 #include <asm/hw_irq.h>
|
H A D | sfi.c | 35 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/powerpc/platforms/pasemi/ |
H A D | msi.c | 20 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/m32r/kernel/ |
H A D | time.c | 34 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/powerpc/kvm/ |
H A D | book3s_mmu_hpte.c | 29 #include <asm/hw_irq.h>
|
H A D | book3s_32_mmu_host.c | 28 #include <asm/hw_irq.h>
|
H A D | book3s_64_mmu_host.c | 29 #include <asm/hw_irq.h>
|
H A D | bookehv_interrupts.S | 34 #include <asm/hw_irq.h>
|
H A D | booke.c | 37 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | irq.c | 26 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/x86/pci/ |
H A D | intel_mid_pci.c | 32 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | time.c | 27 #include <asm/hw_irq.h>
|
H A D | irq_ia64.c | 38 #include <asm/hw_irq.h>
|
H A D | iosapic.c | 72 * Please see also arch/ia64/include/asm/hw_irq.h for those APIs. 95 #include <asm/hw_irq.h>
|
H A D | mca_drv.c | 35 #include <asm/hw_irq.h>
|
H A D | mca.c | 100 #include <asm/hw_irq.h>
|
/linux-4.4.14/include/linux/ |
H A D | irq.h | 418 #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 D | msi.c | 17 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/ia64/pci/ |
H A D | pci.c | 32 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | perf_event.c | 25 #include <asm/hw_irq.h>
|
/linux-4.4.14/drivers/xen/events/ |
H A D | events_base.c | 61 #include <asm/hw_irq.h>
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 2453 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 D | entry_64.S | 30 #include <asm/hw_irq.h>
|