Home
last modified time | relevance | path

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

/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()
/drivers/misc/eeprom/
A Dat24.c86 struct regulator *vcc_reg; member
706 at24->vcc_reg = devm_regulator_get(dev, "vcc"); in at24_probe()
707 if (IS_ERR(at24->vcc_reg)) in at24_probe()
708 return PTR_ERR(at24->vcc_reg); in at24_probe()
761 err = regulator_enable(at24->vcc_reg); in at24_probe()
781 regulator_disable(at24->vcc_reg); in at24_probe()
790 regulator_disable(at24->vcc_reg); in at24_probe()
818 regulator_disable(at24->vcc_reg); in at24_remove()
828 return regulator_disable(at24->vcc_reg); in at24_suspend()
836 return regulator_enable(at24->vcc_reg); in at24_resume()
/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()
434 lcd->vcc_reg = devm_regulator_get(&spi->dev, "vcc"); in td043mtea1_probe()
435 if (IS_ERR(lcd->vcc_reg)) in td043mtea1_probe()
436 return dev_err_probe(&spi->dev, PTR_ERR(lcd->vcc_reg), in td043mtea1_probe()
/drivers/iio/light/
A Disl29018.c91 struct regulator *vcc_reg; member
696 err = regulator_disable(chip->vcc_reg); in isl29018_disable_regulator_action()
736 chip->vcc_reg = devm_regulator_get(&client->dev, "vcc"); in isl29018_probe()
737 if (IS_ERR(chip->vcc_reg)) in isl29018_probe()
738 return dev_err_probe(&client->dev, PTR_ERR(chip->vcc_reg), in isl29018_probe()
741 err = regulator_enable(chip->vcc_reg); in isl29018_probe()
788 ret = regulator_disable(chip->vcc_reg); in isl29018_suspend()
804 err = regulator_enable(chip->vcc_reg); in isl29018_resume()
/drivers/video/fbdev/omap2/omapfb/displays/
A Dpanel-tpo-td043mtea1.c59 struct regulator *vcc_reg; member
286 r = regulator_enable(ddata->vcc_reg); in tpo_td043_power_on()
323 regulator_disable(ddata->vcc_reg); in tpo_td043_power_off()
487 ddata->vcc_reg = devm_regulator_get(&spi->dev, "vcc"); in tpo_td043_probe()
488 if (IS_ERR(ddata->vcc_reg)) { in tpo_td043_probe()
489 r = dev_err_probe(&spi->dev, PTR_ERR(ddata->vcc_reg), in tpo_td043_probe()
/drivers/gpu/drm/solomon/
A Dssd130x.h97 struct regulator *vcc_reg; member
A Dssd130x.c378 ret = regulator_enable(ssd130x->vcc_reg); in ssd130x_power_on()
388 regulator_disable(ssd130x->vcc_reg); in ssd130x_power_on()
401 regulator_disable(ssd130x->vcc_reg); in ssd130x_power_off()
1980 ssd130x->vcc_reg = devm_regulator_get(dev, "vcc"); in ssd130x_get_resources()
1981 if (IS_ERR(ssd130x->vcc_reg)) in ssd130x_get_resources()
1982 return dev_err_probe(dev, PTR_ERR(ssd130x->vcc_reg), in ssd130x_get_resources()

Completed in 30 milliseconds