Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Dmax8973-regulator.c103 struct gpio_desc *dvs_gpiod; member
185 if (max->dvs_gpiod) in max8973_dcdc_set_voltage_sel()
202 if (max->dvs_gpiod) { in max8973_dcdc_set_voltage_sel()
203 gpiod_set_value_cansleep(max->dvs_gpiod, gpio_val & 0x1); in max8973_dcdc_set_voltage_sel()
613 max->dvs_gpiod = devm_gpiod_get_optional(&client->dev, "maxim,dvs", in max8973_probe()
615 if (IS_ERR(max->dvs_gpiod)) in max8973_probe()
616 return dev_err_probe(&client->dev, PTR_ERR(max->dvs_gpiod), in max8973_probe()
618 gpiod_set_consumer_name(max->dvs_gpiod, "max8973-dvs"); in max8973_probe()
671 if (max->dvs_gpiod) { in max8973_probe()
H A Dwm831x-dcdc.c53 struct gpio_desc *dvs_gpiod; member
216 gpiod_set_value(dcdc->dvs_gpiod, state); in wm831x_buckv_set_dvs()
236 if (dcdc->dvs_gpiod && dcdc->on_vsel == vsel) in wm831x_buckv_set_voltage_sel()
239 if (dcdc->dvs_gpiod && dcdc->dvs_vsel == vsel) in wm831x_buckv_set_voltage_sel()
248 if (!dcdc->dvs_gpiod) in wm831x_buckv_set_voltage_sel()
295 if (dcdc->dvs_gpiod && dcdc->dvs_gpio_state) in wm831x_buckv_get_voltage_sel()
344 dcdc->dvs_gpiod = devm_gpiod_get(&pdev->dev, "dvs", in wm831x_buckv_dvs_init()
346 if (IS_ERR(dcdc->dvs_gpiod)) { in wm831x_buckv_dvs_init()
348 dcdc->name, PTR_ERR(dcdc->dvs_gpiod)); in wm831x_buckv_dvs_init()