Lines Matching refs:mask
62 uint8_t mask = BIT(pin); in gpio_it8801_configure() local
89 new_value = mask; in gpio_it8801_configure()
95 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_sovr, mask, new_value); in gpio_it8801_configure()
141 uint8_t mask = BIT(pin); in gpio_it8801_get_config() local
170 if (value & mask) { in gpio_it8801_get_config()
210 static int gpio_it8801_port_set_masked_raw(const struct device *dev, gpio_port_pins_t mask, in gpio_it8801_port_set_masked_raw() argument
216 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_sovr, mask, value); in gpio_it8801_port_set_masked_raw()
328 uint8_t mask = BIT(pin); in gpio_it8801_pin_interrupt_configure() local
335 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_gpier, mask, 0); in gpio_it8801_pin_interrupt_configure()
394 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_gpisr, mask, mask); in gpio_it8801_pin_interrupt_configure()
401 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_gpier, mask, mask); in gpio_it8801_pin_interrupt_configure()