Home
last modified time | relevance | path

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

/linux/drivers/irqchip/
H A Dirq-loongson-pch-pic.c36 #define PIC_REG_IDX(irq_id) ((irq_id) / PIC_COUNT_PER_REG) macro
68 void __iomem *addr = priv->base + offset + PIC_REG_IDX(bit) * 4; in pch_pic_bitset()
80 void __iomem *addr = priv->base + offset + PIC_REG_IDX(bit) * 4; in pch_pic_bitclr()
103 priv->base + PCH_PIC_CLR + PIC_REG_IDX(bit) * 4); in pch_pic_unmask_irq()
150 reg = readl(priv->base + PCH_PIC_EDGE + PIC_REG_IDX(bit) * 4); in pch_pic_ack_irq()
153 priv->base + PCH_PIC_CLR + PIC_REG_IDX(bit) * 4); in pch_pic_ack_irq()