Searched refs:max_config (Results 1 – 1 of 1) sorted by relevance
501 const struct max1125x_config *max_config = dev->config; in max1125x_channel_setup() local514 if (max_config->multiplexer) { in max1125x_channel_setup()526 if (max_config->pga) { in max1125x_channel_setup()573 gpio_reg |= max_config->gpio.gpio0_enable << MAX1125X_GPIO_CTRL_GPIO0_EN; in max1125x_channel_setup()574 gpio_reg |= max_config->gpio.gpio1_enable << MAX1125X_GPIO_CTRL_GPIO1_EN; in max1125x_channel_setup()575 gpio_reg |= max_config->gpio.gpio0_direction << MAX1125X_GPIO_CTRL_DIRO; in max1125x_channel_setup()576 gpio_reg |= max_config->gpio.gpio1_direction << MAX1125X_GPIO_CTRL_DIR1; in max1125x_channel_setup()580 gpo_reg |= max_config->gpo.gpo0_enable << MAX1125X_GPO_DIR_GPO0; in max1125x_channel_setup()581 gpo_reg |= max_config->gpo.gpo1_enable << MAX1125X_GPO_DIR_GPO1; in max1125x_channel_setup()