Home
last modified time | relevance | path

Searched refs:vcc_reg (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/dac/
H 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()
238 PTR_ERR(data->vcc_reg)); in ds4424_probe()
239 return PTR_ERR(data->vcc_reg); in ds4424_probe()
243 ret = regulator_enable(data->vcc_reg); in ds4424_probe()
283 regulator_disable(data->vcc_reg); in ds4424_probe()
293 regulator_disable(data->vcc_reg); in ds4424_remove()
/kernel/linux/linux-6.6/drivers/iio/dac/
H 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()
/kernel/linux/linux-5.10/drivers/misc/eeprom/
H A Dat24.c92 struct regulator *vcc_reg; member
697 at24->vcc_reg = devm_regulator_get(dev, "vcc"); in at24_probe()
698 if (IS_ERR(at24->vcc_reg)) in at24_probe()
699 return PTR_ERR(at24->vcc_reg); in at24_probe()
750 err = regulator_enable(at24->vcc_reg); in at24_probe()
764 regulator_disable(at24->vcc_reg); in at24_probe()
776 regulator_disable(at24->vcc_reg); in at24_probe()
798 regulator_disable(at24->vcc_reg); in at24_remove()
809 return regulator_disable(at24->vcc_reg); in at24_suspend()
817 return regulator_enable(at24->vcc_reg); in at24_resume()
[all...]
/kernel/linux/linux-6.6/drivers/misc/eeprom/
H A Dat24.c87 struct regulator *vcc_reg; member
694 at24->vcc_reg = devm_regulator_get(dev, "vcc"); in at24_probe()
695 if (IS_ERR(at24->vcc_reg)) in at24_probe()
696 return PTR_ERR(at24->vcc_reg); in at24_probe()
749 err = regulator_enable(at24->vcc_reg); in at24_probe()
763 regulator_disable(at24->vcc_reg); in at24_probe()
778 regulator_disable(at24->vcc_reg); in at24_probe()
802 regulator_disable(at24->vcc_reg); in at24_remove()
812 return regulator_disable(at24->vcc_reg); in at24_suspend()
820 return regulator_enable(at24->vcc_reg); in at24_resume()
[all...]
/kernel/linux/linux-5.10/drivers/iio/light/
H 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()
/kernel/linux/linux-6.6/drivers/iio/light/
H 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()
800 ret = regulator_disable(chip->vcc_reg); in isl29018_suspend()
816 err = regulator_enable(chip->vcc_reg); in isl29018_resume()
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H 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()
435 return dev_err_probe(&spi->dev, PTR_ERR(lcd->vcc_reg), in td043mtea1_probe()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/
H 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()
523 ddata->vcc_reg = devm_regulator_get(&spi->dev, "vcc"); in tpo_td043_probe()
524 if (IS_ERR(ddata->vcc_reg)) { in tpo_td043_probe()
526 r = PTR_ERR(ddata->vcc_reg); in tpo_td043_probe()
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/displays/
H A Dpanel-tpo-td043mtea1.c59 struct regulator *vcc_reg; member
291 r = regulator_enable(ddata->vcc_reg); in tpo_td043_power_on()
328 regulator_disable(ddata->vcc_reg); in tpo_td043_power_off()
492 ddata->vcc_reg = devm_regulator_get(&spi->dev, "vcc"); in tpo_td043_probe()
493 if (IS_ERR(ddata->vcc_reg)) { in tpo_td043_probe()
494 r = dev_err_probe(&spi->dev, PTR_ERR(ddata->vcc_reg), in tpo_td043_probe()
/kernel/linux/linux-6.6/drivers/gpu/drm/solomon/
H A Dssd130x.h84 struct regulator *vcc_reg; member
H A Dssd130x.c300 ret = regulator_enable(ssd130x->vcc_reg); in ssd130x_power_on()
310 regulator_disable(ssd130x->vcc_reg); in ssd130x_power_on()
323 regulator_disable(ssd130x->vcc_reg); in ssd130x_power_off()
1102 ssd130x->vcc_reg = devm_regulator_get(dev, "vcc"); in ssd130x_get_resources()
1103 if (IS_ERR(ssd130x->vcc_reg)) in ssd130x_get_resources()
1104 return dev_err_probe(dev, PTR_ERR(ssd130x->vcc_reg), in ssd130x_get_resources()

Completed in 11 milliseconds