Lines Matching refs:mask
119 static int tle9104_gpio_port_set_masked_raw(const struct device *dev, uint32_t mask, uint32_t value) in tle9104_gpio_port_set_masked_raw() argument
125 if (config->parallel_mode_out12 && (BIT(1) & mask) != 0) { in tle9104_gpio_port_set_masked_raw()
130 if (config->parallel_mode_out34 && (BIT(3) & mask) != 0) { in tle9104_gpio_port_set_masked_raw()
141 data->state = (data->state & ~mask) | (mask & value); in tle9104_gpio_port_set_masked_raw()
148 static int tle9104_gpio_port_set_bits_raw(const struct device *dev, uint32_t mask) in tle9104_gpio_port_set_bits_raw() argument
150 return tle9104_gpio_port_set_masked_raw(dev, mask, mask); in tle9104_gpio_port_set_bits_raw()
153 static int tle9104_gpio_port_clear_bits_raw(const struct device *dev, uint32_t mask) in tle9104_gpio_port_clear_bits_raw() argument
155 return tle9104_gpio_port_set_masked_raw(dev, mask, 0); in tle9104_gpio_port_clear_bits_raw()
158 static int tle9104_gpio_port_toggle_bits(const struct device *dev, uint32_t mask) in tle9104_gpio_port_toggle_bits() argument
164 if (config->parallel_mode_out12 && (BIT(1) & mask) != 0) { in tle9104_gpio_port_toggle_bits()
169 if (config->parallel_mode_out34 && (BIT(3) & mask) != 0) { in tle9104_gpio_port_toggle_bits()
180 data->state ^= mask; in tle9104_gpio_port_toggle_bits()