Lines Matching refs:reg_val
108 u32 reg_val; in ioh_gpio_set() local
113 reg_val = ioread32(&chip->reg->regs[chip->ch].po); in ioh_gpio_set()
115 reg_val |= (1 << nr); in ioh_gpio_set()
117 reg_val &= ~(1 << nr); in ioh_gpio_set()
119 iowrite32(reg_val, &chip->reg->regs[chip->ch].po); in ioh_gpio_set()
135 u32 reg_val; in ioh_gpio_direction_output() local
144 reg_val = ioread32(&chip->reg->regs[chip->ch].po); in ioh_gpio_direction_output()
146 reg_val |= (1 << nr); in ioh_gpio_direction_output()
148 reg_val &= ~(1 << nr); in ioh_gpio_direction_output()
149 iowrite32(reg_val, &chip->reg->regs[chip->ch].po); in ioh_gpio_direction_output()
367 u32 reg_val; in ioh_gpio_handler() local
372 reg_val = ioread32(&chip->reg->regs[i].istatus); in ioh_gpio_handler()
374 if (reg_val & BIT(j)) { in ioh_gpio_handler()
377 __func__, j, irq, reg_val); in ioh_gpio_handler()