Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-pch.c233 u32 im, im_pos, val; in pch_irq_type() local
241 im_pos = ch - 0; in pch_irq_type()
244 im_pos = ch - 8; in pch_irq_type()
246 dev_dbg(chip->dev, "irq=%d type=%d ch=%d pos=%d\n", irq, type, ch, im_pos); in pch_irq_type()
271 im = ioread32(im_reg) & ~(PCH_IM_MASK << (im_pos * 4)); in pch_irq_type()
272 iowrite32(im | (val << (im_pos * 4)), im_reg); in pch_irq_type()
H A Dgpio-ml-ioh.c245 u32 im_pos; in ioh_irq_type() local
256 im_pos = ch; in ioh_irq_type()
259 im_pos = ch - 8; in ioh_irq_type()
262 __func__, irq, type, ch, im_pos, type); in ioh_irq_type()
291 im = ioread32(im_reg) & ~(IOH_IM_MASK << (im_pos * 4)); in ioh_irq_type()
292 iowrite32(im | (val << (im_pos * 4)), im_reg); in ioh_irq_type()