Searched full:vcc_reg (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/iio/dac/ |
H A D | ds4424.c | 59 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()
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | rohm,bd28623.yaml | 65 VCCA-supply = <&vcc_reg>; 66 VCCP1-supply = <&vcc_reg>; 67 VCCP2-supply = <&vcc_reg>;
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-tpo-td043mtea1.c | 57 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()
|
/openbmc/linux/drivers/misc/eeprom/ |
H A D | at24.c | 87 struct regulator *vcc_reg; member 719 at24->vcc_reg = devm_regulator_get(dev, "vcc"); in at24_probe() 720 if (IS_ERR(at24->vcc_reg)) in at24_probe() 721 return PTR_ERR(at24->vcc_reg); in at24_probe() 774 err = regulator_enable(at24->vcc_reg); in at24_probe() 794 regulator_disable(at24->vcc_reg); in at24_probe() 803 regulator_disable(at24->vcc_reg); in at24_probe() 831 regulator_disable(at24->vcc_reg); in at24_remove() 841 return regulator_disable(at24->vcc_reg); in at24_suspend() 849 return regulator_enable(at24->vcc_reg); in at24_resume()
|
/openbmc/linux/drivers/iio/light/ |
H A D | isl29018.c | 90 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()
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-tpo-td043mtea1.c | 59 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()
|
/openbmc/linux/drivers/gpu/drm/solomon/ |
H A D | ssd130x.h | 84 struct regulator *vcc_reg; member
|
H A D | ssd130x.c | 300 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()
|