Lines Matching refs:iowrite32
122 iowrite32(reg_val, &chip->reg->po); in pch_gpio_set()
148 iowrite32(reg_val, &chip->reg->po); in pch_gpio_direction_output()
152 iowrite32(pm, &chip->reg->pm); in pch_gpio_direction_output()
168 iowrite32(pm, &chip->reg->pm); in pch_gpio_direction_input()
197 iowrite32(chip->pch_gpio_reg.ien_reg, &chip->reg->ien); in pch_gpio_restore_reg_conf()
198 iowrite32(chip->pch_gpio_reg.imask_reg, &chip->reg->imask); in pch_gpio_restore_reg_conf()
200 iowrite32(chip->pch_gpio_reg.po_reg, &chip->reg->po); in pch_gpio_restore_reg_conf()
202 iowrite32(chip->pch_gpio_reg.pm_reg, &chip->reg->pm); in pch_gpio_restore_reg_conf()
203 iowrite32(chip->pch_gpio_reg.im0_reg, &chip->reg->im0); in pch_gpio_restore_reg_conf()
205 iowrite32(chip->pch_gpio_reg.im1_reg, &chip->reg->im1); in pch_gpio_restore_reg_conf()
207 iowrite32(chip->pch_gpio_reg.gpio_use_sel_reg, in pch_gpio_restore_reg_conf()
280 iowrite32(im | (val << (im_pos * 4)), im_reg); in pch_irq_type()
298 iowrite32(1 << (d->irq - chip->irq_base), &chip->reg->imaskclr); in pch_irq_unmask()
306 iowrite32(1 << (d->irq - chip->irq_base), &chip->reg->imask); in pch_irq_mask()
314 iowrite32(1 << (d->irq - chip->irq_base), &chip->reg->iclr); in pch_irq_ack()
425 iowrite32(msk, &chip->reg->imask); in pch_gpio_probe()
426 iowrite32(msk, &chip->reg->ien); in pch_gpio_probe()
515 iowrite32(0x01, &chip->reg->reset); in pch_gpio_resume()
516 iowrite32(0x00, &chip->reg->reset); in pch_gpio_resume()