Searched refs:im_pos (Results 1 – 2 of 2) sorted by relevance
/drivers/gpio/ |
D | gpio-pch.c | 232 u32 im, im_pos, val; in pch_irq_type() local 240 im_pos = ch - 0; in pch_irq_type() 243 im_pos = ch - 8; in pch_irq_type() 245 dev_dbg(chip->dev, "irq=%d type=%d ch=%d pos=%d\n", irq, type, ch, im_pos); in pch_irq_type() 270 im = ioread32(im_reg) & ~(PCH_IM_MASK << (im_pos * 4)); in pch_irq_type() 271 iowrite32(im | (val << (im_pos * 4)), im_reg); in pch_irq_type()
|
D | gpio-ml-ioh.c | 238 u32 im_pos; in ioh_irq_type() local 249 im_pos = ch; in ioh_irq_type() 252 im_pos = ch - 8; in ioh_irq_type() 255 __func__, irq, type, ch, im_pos, type); in ioh_irq_type() 284 im = ioread32(im_reg) & ~(IOH_IM_MASK << (im_pos * 4)); in ioh_irq_type() 285 iowrite32(im | (val << (im_pos * 4)), im_reg); in ioh_irq_type()
|