Lines Matching refs:reg_out
362 uint16_t reg_out = drv_data->reg_cache.output; in setup_pin_dir() local
368 reg_out |= BIT(pin); in setup_pin_dir()
370 reg_out &= ~BIT(pin); in setup_pin_dir()
372 ret = update_output_reg(dev, pin, reg_out); in setup_pin_dir()
545 uint16_t reg_out; in gpio_pca95xx_port_set_masked_raw() local
555 reg_out = drv_data->reg_cache.output; in gpio_pca95xx_port_set_masked_raw()
556 reg_out = (reg_out & ~mask) | (mask & value); in gpio_pca95xx_port_set_masked_raw()
558 ret = update_output_regs(dev, reg_out); in gpio_pca95xx_port_set_masked_raw()
582 uint16_t reg_out; in gpio_pca95xx_port_toggle_bits() local
592 reg_out = drv_data->reg_cache.output; in gpio_pca95xx_port_toggle_bits()
593 reg_out ^= mask; in gpio_pca95xx_port_toggle_bits()
595 ret = update_output_regs(dev, reg_out); in gpio_pca95xx_port_toggle_bits()
704 uint16_t reg_out; in gpio_pca95xx_pin_interrupt_configure() local
706 reg_out = drv_data->reg_cache.int_mask; in gpio_pca95xx_pin_interrupt_configure()
707 WRITE_BIT(reg_out, pin, (mode == GPIO_INT_MODE_DISABLED)); in gpio_pca95xx_pin_interrupt_configure()
709 ret = update_int_mask_reg(dev, pin, reg_out); in gpio_pca95xx_pin_interrupt_configure()