Searched refs:new_reg (Results 1 – 2 of 2) sorted by relevance
43 uint8_t new_reg = 0; in gpio_rt1718s_pin_config() local66 new_reg |= RT1718S_REG_GPIO_CTRL_PU; in gpio_rt1718s_pin_config()69 new_reg |= RT1718S_REG_GPIO_CTRL_PD; in gpio_rt1718s_pin_config()73 new_reg |= RT1718S_REG_GPIO_CTRL_OE; in gpio_rt1718s_pin_config()77 new_reg |= RT1718S_REG_GPIO_CTRL_OD_N; in gpio_rt1718s_pin_config()82 new_reg |= RT1718S_REG_GPIO_CTRL_O; in gpio_rt1718s_pin_config()87 ret = rt1718s_reg_write_byte(config->rt1718s_dev, RT1718S_REG_GPIO_CTRL(pin), new_reg); in gpio_rt1718s_pin_config()111 uint8_t new_reg, reg; in gpio_rt1718s_port_set_masked_raw() local125 new_reg = reg | RT1718S_REG_GPIO_CTRL_O; in gpio_rt1718s_port_set_masked_raw()127 new_reg = reg & ~RT1718S_REG_GPIO_CTRL_O; in gpio_rt1718s_port_set_masked_raw()[all …]
46 uint8_t new_reg; in gpio_nct38xx_pin_config() local72 new_reg = BIT(pin) & config->pinmux_mask; in gpio_nct38xx_pin_config()75 ret = i2c_reg_update_byte_dt(data->i2c_dev, NCT38XX_REG_MUX_CONTROL, mask, new_reg); in gpio_nct38xx_pin_config()84 new_reg = 0; in gpio_nct38xx_pin_config()87 mask, new_reg); in gpio_nct38xx_pin_config()95 new_reg = mask; in gpio_nct38xx_pin_config()97 new_reg = 0; in gpio_nct38xx_pin_config()100 mask, new_reg); in gpio_nct38xx_pin_config()107 new_reg = mask; in gpio_nct38xx_pin_config()109 new_reg = 0; in gpio_nct38xx_pin_config()[all …]