Lines Matching refs:reg_offs
93 unsigned int reg_offs, u32 data) in tz1090_gpio_write() argument
95 iowrite32(data, bank->reg + reg_offs); in tz1090_gpio_write()
99 unsigned int reg_offs) in tz1090_gpio_read() argument
101 return ioread32(bank->reg + reg_offs); in tz1090_gpio_read()
106 unsigned int reg_offs, in _tz1090_gpio_clear_bit() argument
111 value = tz1090_gpio_read(bank, reg_offs); in _tz1090_gpio_clear_bit()
113 tz1090_gpio_write(bank, reg_offs, value); in _tz1090_gpio_clear_bit()
117 unsigned int reg_offs, in tz1090_gpio_clear_bit() argument
123 _tz1090_gpio_clear_bit(bank, reg_offs, offset); in tz1090_gpio_clear_bit()
129 unsigned int reg_offs, in _tz1090_gpio_set_bit() argument
134 value = tz1090_gpio_read(bank, reg_offs); in _tz1090_gpio_set_bit()
136 tz1090_gpio_write(bank, reg_offs, value); in _tz1090_gpio_set_bit()
140 unsigned int reg_offs, in tz1090_gpio_set_bit() argument
146 _tz1090_gpio_set_bit(bank, reg_offs, offset); in tz1090_gpio_set_bit()
152 unsigned int reg_offs, in _tz1090_gpio_mod_bit() argument
158 value = tz1090_gpio_read(bank, reg_offs); in _tz1090_gpio_mod_bit()
162 tz1090_gpio_write(bank, reg_offs, value); in _tz1090_gpio_mod_bit()
166 unsigned int reg_offs, in tz1090_gpio_mod_bit() argument
173 _tz1090_gpio_mod_bit(bank, reg_offs, offset, val); in tz1090_gpio_mod_bit()
178 unsigned int reg_offs, in tz1090_gpio_read_bit() argument
181 return tz1090_gpio_read(bank, reg_offs) & BIT(offset); in tz1090_gpio_read_bit()