Searched refs:dvs_gpio (Results 1 – 3 of 3) sorted by relevance
105 int dvs_gpio; member187 if (gpio_is_valid(max->dvs_gpio)) in max8973_dcdc_set_voltage_sel()204 if (gpio_is_valid(max->dvs_gpio)) { in max8973_dcdc_set_voltage_sel()205 gpio_set_value_cansleep(max->dvs_gpio, gpio_val & 0x1); in max8973_dcdc_set_voltage_sel()534 pdata->dvs_gpio = of_get_named_gpio(np, "maxim,dvs-gpio", 0); in max8973_parse_dt()615 if (pdata->dvs_gpio == -EPROBE_DEFER) in max8973_probe()666 max->dvs_gpio = (pdata->dvs_gpio) ? pdata->dvs_gpio : -EINVAL; in max8973_probe()674 if (gpio_is_valid(max->dvs_gpio)) { in max8973_probe()680 ret = devm_gpio_request_one(&client->dev, max->dvs_gpio, in max8973_probe()685 max->dvs_gpio, ret); in max8973_probe()
206 struct gpio_desc *dvs_gpio[2]; member399 struct gpio_desc *gpio = pdata->dvs_gpio[id]; in rk808_buck1_2_get_voltage_sel_regmap()472 struct gpio_desc *gpio = pdata->dvs_gpio[id]; in rk808_buck1_2_set_voltage_sel()511 struct gpio_desc *gpio = pdata->dvs_gpio[id]; in rk808_buck1_2_set_voltage_time_sel()1639 for (i = 0; i < ARRAY_SIZE(pdata->dvs_gpio); i++) { in rk808_regulator_dt_parse_pdata()1640 pdata->dvs_gpio[i] = in rk808_regulator_dt_parse_pdata()1643 if (IS_ERR(pdata->dvs_gpio[i])) { in rk808_regulator_dt_parse_pdata()1644 ret = PTR_ERR(pdata->dvs_gpio[i]); in rk808_regulator_dt_parse_pdata()1649 if (!pdata->dvs_gpio[i]) { in rk808_regulator_dt_parse_pdata()1656 gpiod_is_active_low(pdata->dvs_gpio[i]) ? in rk808_regulator_dt_parse_pdata()
63 int dvs_gpio; member