Home
last modified time | relevance | path

Searched refs:hwirq_to_bit (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/irqchip/
H A Dirq-loongson-pch-pic.c60 static inline u8 hwirq_to_bit(struct pch_pic *priv, int hirq) in hwirq_to_bit() function
93 pch_pic_bitset(priv, PCH_PIC_MASK, hwirq_to_bit(priv, d->hwirq)); in pch_pic_mask_irq()
100 int bit = hwirq_to_bit(priv, d->hwirq); in pch_pic_unmask_irq()
112 int bit = hwirq_to_bit(priv, d->hwirq); in pch_pic_set_type()
148 int bit = hwirq_to_bit(priv, d->hwirq); in pch_pic_ack_irq()
234 writeb(priv->ht_vec_base + hwirq, priv->base + PCH_INT_HTVEC(hwirq_to_bit(priv, hwirq))); in pch_pic_alloc()
264 writeb(priv->ht_vec_base + i, priv->base + PCH_INT_HTVEC(hwirq_to_bit(priv, i))); in pch_pic_reset()