Home
last modified time | relevance | path

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

/linux/drivers/iio/dac/
A Dds4424.c59 struct regulator *vcc_reg; member
234 data->vcc_reg = devm_regulator_get(&client->dev, "vcc"); in ds4424_probe()
235 if (IS_ERR(data->vcc_reg)) in ds4424_probe()
236 return dev_err_probe(&client->dev, PTR_ERR(data->vcc_reg), in ds4424_probe()
240 ret = regulator_enable(data->vcc_reg); in ds4424_probe()
280 regulator_disable(data->vcc_reg); in ds4424_probe()
290 regulator_disable(data->vcc_reg); in ds4424_remove()
/linux/drivers/misc/eeprom/
A Dat24.c92 struct regulator *vcc_reg; member
698 at24->vcc_reg = devm_regulator_get(dev, "vcc"); in at24_probe()
699 if (IS_ERR(at24->vcc_reg)) in at24_probe()
700 return PTR_ERR(at24->vcc_reg); in at24_probe()
753 err = regulator_enable(at24->vcc_reg); in at24_probe()
767 regulator_disable(at24->vcc_reg); in at24_probe()
781 regulator_disable(at24->vcc_reg); in at24_probe()
805 regulator_disable(at24->vcc_reg); in at24_remove()
817 return regulator_disable(at24->vcc_reg); in at24_suspend()
825 return regulator_enable(at24->vcc_reg); in at24_resume()
/linux/Documentation/devicetree/bindings/sound/
A Drohm,bd28623.yaml62 VCCA-supply = <&vcc_reg>;
63 VCCP1-supply = <&vcc_reg>;
64 VCCP2-supply = <&vcc_reg>;
/linux/drivers/gpu/drm/panel/
A Dpanel-tpo-td043mtea1.c57 struct regulator *vcc_reg; member
140 ret = regulator_enable(lcd->vcc_reg); in td043mtea1_power_on()
175 regulator_disable(lcd->vcc_reg); in td043mtea1_power_off()
433 lcd->vcc_reg = devm_regulator_get(&spi->dev, "vcc"); in td043mtea1_probe()
434 if (IS_ERR(lcd->vcc_reg)) { in td043mtea1_probe()
436 return PTR_ERR(lcd->vcc_reg); in td043mtea1_probe()
/linux/drivers/iio/light/
A Disl29018.c90 struct regulator *vcc_reg; member
709 err = regulator_disable(chip->vcc_reg); in isl29018_disable_regulator_action()
748 chip->vcc_reg = devm_regulator_get(&client->dev, "vcc"); in isl29018_probe()
749 if (IS_ERR(chip->vcc_reg)) in isl29018_probe()
750 return dev_err_probe(&client->dev, PTR_ERR(chip->vcc_reg), in isl29018_probe()
753 err = regulator_enable(chip->vcc_reg); in isl29018_probe()
801 ret = regulator_disable(chip->vcc_reg); in isl29018_suspend()
817 err = regulator_enable(chip->vcc_reg); in isl29018_resume()
/linux/drivers/video/fbdev/omap2/omapfb/displays/
A Dpanel-tpo-td043mtea1.c60 struct regulator *vcc_reg; member
292 r = regulator_enable(ddata->vcc_reg); in tpo_td043_power_on()
331 regulator_disable(ddata->vcc_reg); in tpo_td043_power_off()
518 ddata->vcc_reg = devm_regulator_get(&spi->dev, "vcc"); in tpo_td043_probe()
519 if (IS_ERR(ddata->vcc_reg)) { in tpo_td043_probe()
521 r = PTR_ERR(ddata->vcc_reg); in tpo_td043_probe()

Completed in 17 milliseconds