Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-pch.c232 u32 __iomem *im_reg; in pch_irq_type() local
238 im_reg = &chip->reg->im0; in pch_irq_type()
241 im_reg = &chip->reg->im1; in pch_irq_type()
269 im = ioread32(im_reg) & ~(PCH_IM_MASK << (im_pos * 4)); in pch_irq_type()
270 iowrite32(im | (val << (im_pos * 4)), im_reg); in pch_irq_type()
H A Dgpio-ml-ioh.c236 void __iomem *im_reg; in ioh_irq_type() local
248 im_reg = &chip->reg->regs[chip->ch].im_0; in ioh_irq_type()
251 im_reg = &chip->reg->regs[chip->ch].im_1; 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()