Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/regulator/
Dmax8952.c39 struct gpio_desc *vid1_gpiod; member
89 if (!max8952->vid0_gpiod || !max8952->vid1_gpiod) { in max8952_set_voltage_sel()
97 gpiod_set_value(max8952->vid1_gpiod, max8952->vid1); in max8952_set_voltage_sel()
246 max8952->vid1_gpiod = devm_gpiod_get_index_optional(&client->dev, in max8952_pmic_probe()
249 if (IS_ERR(max8952->vid1_gpiod)) in max8952_pmic_probe()
250 return PTR_ERR(max8952->vid1_gpiod); in max8952_pmic_probe()
253 if (!max8952->vid0_gpiod || !max8952->vid1_gpiod) { in max8952_pmic_probe()
261 if (max8952->vid1_gpiod) in max8952_pmic_probe()
262 gpiod_set_value(max8952->vid1_gpiod, 0); in max8952_pmic_probe()