Searched refs:dvs_gpio (Results 1 – 3 of 3) sorted by relevance
118 int dvs_gpio; member200 if (gpio_is_valid(max->dvs_gpio)) in max8973_dcdc_set_voltage_sel()217 if (gpio_is_valid(max->dvs_gpio)) { in max8973_dcdc_set_voltage_sel()218 gpio_set_value_cansleep(max->dvs_gpio, gpio_val & 0x1); in max8973_dcdc_set_voltage_sel()547 pdata->dvs_gpio = of_get_named_gpio(np, "maxim,dvs-gpio", 0); in max8973_parse_dt()628 if (pdata->dvs_gpio == -EPROBE_DEFER) in max8973_probe()679 max->dvs_gpio = (pdata->dvs_gpio) ? pdata->dvs_gpio : -EINVAL; in max8973_probe()687 if (gpio_is_valid(max->dvs_gpio)) { in max8973_probe()693 ret = devm_gpio_request_one(&client->dev, max->dvs_gpio, in max8973_probe()698 max->dvs_gpio, ret); in max8973_probe()
158 struct gpio_desc *dvs_gpio[2]; member224 struct gpio_desc *gpio = pdata->dvs_gpio[id]; in rk808_buck1_2_get_voltage_sel_regmap()297 struct gpio_desc *gpio = pdata->dvs_gpio[id]; in rk808_buck1_2_set_voltage_sel()336 struct gpio_desc *gpio = pdata->dvs_gpio[id]; in rk808_buck1_2_set_voltage_time_sel()1260 for (i = 0; i < ARRAY_SIZE(pdata->dvs_gpio); i++) { in rk808_regulator_dt_parse_pdata()1261 pdata->dvs_gpio[i] = in rk808_regulator_dt_parse_pdata()1264 if (IS_ERR(pdata->dvs_gpio[i])) { in rk808_regulator_dt_parse_pdata()1265 ret = PTR_ERR(pdata->dvs_gpio[i]); in rk808_regulator_dt_parse_pdata()1270 if (!pdata->dvs_gpio[i]) { in rk808_regulator_dt_parse_pdata()1277 gpiod_is_active_low(pdata->dvs_gpio[i]) ? in rk808_regulator_dt_parse_pdata()
63 int dvs_gpio; member