Home
last modified time | relevance | path

Searched refs:reg_cfg (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/drivers/mfd/
Dmfd_axp192.c294 uint8_t reg_cfg = 0; in mfd_axp192_gpio_func_ctrl() local
319 reg_cfg = AXP192_GPIO012_FUNC_VAL_INPUT; in mfd_axp192_gpio_func_ctrl()
322 reg_cfg = AXP192_GPIO012_FUNC_VAL_OUTPUT_OD; in mfd_axp192_gpio_func_ctrl()
326 reg_cfg = AXP192_GPIO012_FUNC_VAL_OUTPUT_LOW; in mfd_axp192_gpio_func_ctrl()
332 reg_cfg = AXP192_GPIO012_FUNC_VAL_LDO; in mfd_axp192_gpio_func_ctrl()
338 reg_cfg = AXP192_GPIO012_FUNC_VAL_ADC; in mfd_axp192_gpio_func_ctrl()
341 reg_cfg = AXP192_GPIO012_FUNC_VAL_FLOAT; in mfd_axp192_gpio_func_ctrl()
353 reg_cfg = AXP192_GPIO3_FUNC_VAL_INPUT | AXP192_GPIO34_FUNC_ENA; in mfd_axp192_gpio_func_ctrl()
356 reg_cfg = AXP192_GPIO3_FUNC_VAL_OUTPUT_OD | AXP192_GPIO34_FUNC_ENA; in mfd_axp192_gpio_func_ctrl()
360 reg_cfg = AXP192_GPIO3_FUNC_VAL_CHARGE_CTL; in mfd_axp192_gpio_func_ctrl()
[all …]
/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_tca6424a.c253 uint32_t reg_cfg = drv_data->pins_state.config; in tca6424a_setup_pin() local
268 reg_cfg &= ~BIT(pin); in tca6424a_setup_pin()
270 reg_cfg |= BIT(pin); in tca6424a_setup_pin()
273 ret = update_config_regs(dev, reg_cfg); in tca6424a_setup_pin()