Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/mfd/
Dmfd_axp192.c115 const struct mfd_axp192_func_reg_desc gpio_reg_desc[AXP192_GPIO_MAX_NUM] = { variable
192 if (gpio < ARRAY_SIZE(gpio_reg_desc)) { in mfd_axp192_gpio_func_get()
193 ret = i2c_reg_read_byte_dt(&(config->i2c), gpio_reg_desc[gpio].reg, &reg_fnc); in mfd_axp192_gpio_func_get()
403 if (gpio < ARRAY_SIZE(gpio_reg_desc)) { in mfd_axp192_gpio_func_ctrl()
404 ret = i2c_reg_update_byte_dt(&(config->i2c), gpio_reg_desc[gpio].reg, in mfd_axp192_gpio_func_ctrl()
405 gpio_reg_desc[gpio].mask, reg_cfg); in mfd_axp192_gpio_func_ctrl()