Lines Matching refs:hwirq
71 pch_pic_bitset(priv, PCH_PIC_MASK, d->hwirq); in pch_pic_mask_irq()
79 writel(BIT(PIC_REG_BIT(d->hwirq)), in pch_pic_unmask_irq()
80 priv->base + PCH_PIC_CLR + PIC_REG_IDX(d->hwirq) * 4); in pch_pic_unmask_irq()
83 pch_pic_bitclr(priv, PCH_PIC_MASK, d->hwirq); in pch_pic_unmask_irq()
93 pch_pic_bitset(priv, PCH_PIC_EDGE, d->hwirq); in pch_pic_set_type()
94 pch_pic_bitclr(priv, PCH_PIC_POL, d->hwirq); in pch_pic_set_type()
98 pch_pic_bitset(priv, PCH_PIC_EDGE, d->hwirq); in pch_pic_set_type()
99 pch_pic_bitset(priv, PCH_PIC_POL, d->hwirq); in pch_pic_set_type()
103 pch_pic_bitclr(priv, PCH_PIC_EDGE, d->hwirq); in pch_pic_set_type()
104 pch_pic_bitclr(priv, PCH_PIC_POL, d->hwirq); in pch_pic_set_type()
108 pch_pic_bitclr(priv, PCH_PIC_EDGE, d->hwirq); in pch_pic_set_type()
109 pch_pic_bitset(priv, PCH_PIC_POL, d->hwirq); in pch_pic_set_type()
125 reg = readl(priv->base + PCH_PIC_EDGE + PIC_REG_IDX(d->hwirq) * 4); in pch_pic_ack_irq()
126 if (reg & BIT(PIC_REG_BIT(d->hwirq))) { in pch_pic_ack_irq()
127 writel(BIT(PIC_REG_BIT(d->hwirq)), in pch_pic_ack_irq()
128 priv->base + PCH_PIC_CLR + PIC_REG_IDX(d->hwirq) * 4); in pch_pic_ack_irq()
147 unsigned long hwirq; in pch_pic_alloc() local
152 err = irq_domain_translate_twocell(domain, fwspec, &hwirq, &type); in pch_pic_alloc()
158 parent_fwspec.param[0] = hwirq + priv->ht_vec_base; in pch_pic_alloc()
164 irq_domain_set_info(domain, virq, hwirq, in pch_pic_alloc()