/openbmc/linux/drivers/input/keyboard/ |
H A D | mpr121_touchkey.c | 89 regulator_disable(vdd_supply); in mpr121_vdd_supply_disable() 94 struct regulator *vdd_supply; in mpr121_vdd_supply_init() local 98 if (IS_ERR(vdd_supply)) { in mpr121_vdd_supply_init() 100 PTR_ERR(vdd_supply)); in mpr121_vdd_supply_init() 101 return vdd_supply; in mpr121_vdd_supply_init() 104 err = regulator_enable(vdd_supply); in mpr121_vdd_supply_init() 111 vdd_supply); in mpr121_vdd_supply_init() 118 return vdd_supply; in mpr121_vdd_supply_init() 236 struct regulator *vdd_supply; in mpr_touchkey_probe() local 245 if (IS_ERR(vdd_supply)) in mpr_touchkey_probe() [all …]
|
/openbmc/linux/drivers/iio/proximity/ |
H A D | vl53l0x-i2c.c | 47 struct regulator *vdd_supply; member 203 regulator_disable(data->vdd_supply); in vl53l0x_power_off() 210 ret = regulator_enable(data->vdd_supply); in vl53l0x_power_on() 240 data->vdd_supply = devm_regulator_get(&client->dev, "vdd"); in vl53l0x_probe() 241 if (IS_ERR(data->vdd_supply)) in vl53l0x_probe() 242 return dev_err_probe(&client->dev, PTR_ERR(data->vdd_supply), in vl53l0x_probe()
|
/openbmc/linux/drivers/usb/typec/ |
H A D | stusb160x.c | 150 struct regulator *vdd_supply; member 350 chip->vdd_supply) { in stusb160x_attach() 351 ret = regulator_enable(chip->vdd_supply); in stusb160x_attach() 379 regulator_disable(chip->vdd_supply); in stusb160x_attach() 397 regulator_disable(chip->vdd_supply); in stusb160x_detach() 669 if (IS_ERR(chip->vdd_supply)) { in stusb160x_probe() 670 ret = PTR_ERR(chip->vdd_supply); in stusb160x_probe() 673 chip->vdd_supply = NULL; in stusb160x_probe() 702 if (chip->vdd_supply && in stusb160x_probe() 705 chip->main_supply = chip->vdd_supply; in stusb160x_probe() [all …]
|
/openbmc/linux/drivers/gpu/drm/stm/ |
H A D | dw_mipi_dsi-stm.c | 84 struct regulator *vdd_supply; member 460 dsi->vdd_supply = devm_regulator_get(dev, "phy-dsi"); in dw_mipi_dsi_stm_probe() 461 if (IS_ERR(dsi->vdd_supply)) { in dw_mipi_dsi_stm_probe() 462 ret = PTR_ERR(dsi->vdd_supply); in dw_mipi_dsi_stm_probe() 467 ret = regulator_enable(dsi->vdd_supply); in dw_mipi_dsi_stm_probe() 533 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_probe() 544 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_remove() 554 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_suspend() 566 ret = regulator_enable(dsi->vdd_supply); in dw_mipi_dsi_stm_resume() 574 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_resume()
|
/openbmc/u-boot/drivers/adc/ |
H A D | adc-uclass.c | 54 if (uc_pdata->vdd_supply) { in adc_supply_enable() 56 ret = regulator_set_enable(uc_pdata->vdd_supply, true); in adc_supply_enable() 280 if (!uc_pdata->vdd_supply) in adc_vdd_platdata_update() 283 ret = regulator_get_value(uc_pdata->vdd_supply); in adc_vdd_platdata_update() 380 &uc_pdata->vdd_supply); in adc_vdd_platdata_set()
|
H A D | stm32-adc.c | 218 uc_pdata->vdd_supply = common->vref; in stm32_adc_probe()
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad7949.yaml | 82 vref-supply = <&vdd_supply>; 91 vrefin-supply = <&vdd_supply>;
|
H A D | ti,adc108s102.yaml | 44 vref-supply = <&vdd_supply>;
|
H A D | ti,tlc4541.yaml | 48 vref-supply = <&vdd_supply>;
|
H A D | ti,ads8688.yaml | 46 vref-supply = <&vdd_supply>;
|
H A D | ti,adc0832.yaml | 52 vref-supply = <&vdd_supply>;
|
H A D | ti,adc128s052.yaml | 55 vref-supply = <&vdd_supply>;
|
H A D | adi,ad7780.yaml | 83 avdd-supply = <&vdd_supply>;
|
/openbmc/linux/drivers/iio/accel/ |
H A D | bma180.c | 133 struct regulator *vdd_supply; member 949 data->vdd_supply = devm_regulator_get(dev, "vdd"); in bma180_probe() 950 if (IS_ERR(data->vdd_supply)) in bma180_probe() 951 return dev_err_probe(dev, PTR_ERR(data->vdd_supply), in bma180_probe() 960 ret = regulator_set_voltage(data->vdd_supply, 1620000, 3600000); in bma180_probe() 966 ret = regulator_enable(data->vdd_supply); in bma180_probe() 1042 regulator_disable(data->vdd_supply); in bma180_probe() 1063 regulator_disable(data->vdd_supply); in bma180_remove()
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | wm8782.txt | 16 Vdd-supply = <&vdd_supply>;
|
/openbmc/linux/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_core.c | 550 ret = regulator_disable(st->vdd_supply); in inv_icm42600_disable_vdd_reg() 617 st->vdd_supply = devm_regulator_get(dev, "vdd"); in inv_icm42600_core_probe() 618 if (IS_ERR(st->vdd_supply)) in inv_icm42600_core_probe() 619 return PTR_ERR(st->vdd_supply); in inv_icm42600_core_probe() 625 ret = regulator_enable(st->vdd_supply); in inv_icm42600_core_probe()
|
H A D | inv_icm42600.h | 138 struct regulator *vdd_supply; member
|
/openbmc/u-boot/include/ |
H A D | adc.h | 80 struct udevice *vdd_supply; member
|
/openbmc/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad7303.yaml | 46 Vdd-supply = <&vdd_supply>;
|
H A D | ti,dac7311.yaml | 47 vref-supply = <&vdd_supply>;
|
H A D | ti,dac5571.yaml | 50 vref-supply = <&vdd_supply>;
|
/openbmc/linux/Documentation/devicetree/bindings/iio/impedance-analyzer/ |
H A D | adi,ad5933.yaml | 54 vdd-supply = <&vdd_supply>;
|
/openbmc/linux/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_core.c | 1456 result = regulator_disable(st->vdd_supply); in inv_mpu_core_disable_regulator_action() 1541 st->vdd_supply = devm_regulator_get(dev, "vdd"); in inv_mpu_core_probe() 1542 if (IS_ERR(st->vdd_supply)) in inv_mpu_core_probe() 1543 return dev_err_probe(dev, PTR_ERR(st->vdd_supply), in inv_mpu_core_probe() 1551 result = regulator_enable(st->vdd_supply); in inv_mpu_core_probe() 1560 regulator_disable(st->vdd_supply); in inv_mpu_core_probe()
|
H A D | inv_mpu_iio.h | 200 struct regulator *vdd_supply; member
|