Lines Matching refs:hw_irq
55 int hw_irq; member
114 int reg, int hw_irq) in intc_irqpin_hwirq_mask() argument
116 return BIT((p->iomem[reg].width - 1) - hw_irq); in intc_irqpin_hwirq_mask()
120 int reg, int hw_irq) in intc_irqpin_irq_write_hwirq() argument
122 intc_irqpin_write(p, reg, intc_irqpin_hwirq_mask(p, reg, hw_irq)); in intc_irqpin_irq_write_hwirq()
175 str, i->requested_irq, i->hw_irq, i->domain_irq); in intc_irqpin_dbg()
181 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_enable() local
183 intc_irqpin_dbg(&p->irq[hw_irq], "enable"); in intc_irqpin_irq_enable()
184 intc_irqpin_irq_write_hwirq(p, INTC_IRQPIN_REG_CLEAR, hw_irq); in intc_irqpin_irq_enable()
190 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_disable() local
192 intc_irqpin_dbg(&p->irq[hw_irq], "disable"); in intc_irqpin_irq_disable()
193 intc_irqpin_irq_write_hwirq(p, INTC_IRQPIN_REG_MASK, hw_irq); in intc_irqpin_irq_disable()
199 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_shared_irq_enable() local
201 intc_irqpin_dbg(&p->irq[hw_irq], "shared enable"); in intc_irqpin_shared_irq_enable()
202 intc_irqpin_irq_write_hwirq(p, INTC_IRQPIN_REG_CLEAR, hw_irq); in intc_irqpin_shared_irq_enable()
204 p->shared_irq_mask &= ~BIT(hw_irq); in intc_irqpin_shared_irq_enable()
210 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_shared_irq_disable() local
212 intc_irqpin_dbg(&p->irq[hw_irq], "shared disable"); in intc_irqpin_shared_irq_disable()
213 intc_irqpin_irq_write_hwirq(p, INTC_IRQPIN_REG_MASK, hw_irq); in intc_irqpin_shared_irq_disable()
215 p->shared_irq_mask |= BIT(hw_irq); in intc_irqpin_shared_irq_disable()
271 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_set_wake() local
273 irq_set_irq_wake(p->irq[hw_irq].requested_irq, on); in intc_irqpin_irq_set_wake()
289 bit = intc_irqpin_hwirq_mask(p, INTC_IRQPIN_REG_SOURCE, i->hw_irq); in intc_irqpin_irq_handler()
334 p->irq[hw].hw_irq = hw; in intc_irqpin_irq_domain_map()