Home
last modified time | relevance | path

Searched refs:vdd_supply (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/drivers/input/keyboard/
H A Dmpr121_touchkey.c89 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 Dvl53l0x-i2c.c47 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 Dstusb160x.c150 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 Ddw_mipi_dsi-stm.c84 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 Dadc-uclass.c54 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 Dstm32-adc.c218 uc_pdata->vdd_supply = common->vref; in stm32_adc_probe()
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad7949.yaml82 vref-supply = <&vdd_supply>;
91 vrefin-supply = <&vdd_supply>;
H A Dti,adc108s102.yaml44 vref-supply = <&vdd_supply>;
H A Dti,tlc4541.yaml48 vref-supply = <&vdd_supply>;
H A Dti,ads8688.yaml46 vref-supply = <&vdd_supply>;
H A Dti,adc0832.yaml52 vref-supply = <&vdd_supply>;
H A Dti,adc128s052.yaml55 vref-supply = <&vdd_supply>;
H A Dadi,ad7780.yaml83 avdd-supply = <&vdd_supply>;
/openbmc/linux/drivers/iio/accel/
H A Dbma180.c133 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 Dwm8782.txt16 Vdd-supply = <&vdd_supply>;
/openbmc/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_core.c550 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 Dinv_icm42600.h138 struct regulator *vdd_supply; member
/openbmc/u-boot/include/
H A Dadc.h80 struct udevice *vdd_supply; member
/openbmc/linux/Documentation/devicetree/bindings/iio/dac/
H A Dadi,ad7303.yaml46 Vdd-supply = <&vdd_supply>;
H A Dti,dac7311.yaml47 vref-supply = <&vdd_supply>;
H A Dti,dac5571.yaml50 vref-supply = <&vdd_supply>;
/openbmc/linux/Documentation/devicetree/bindings/iio/impedance-analyzer/
H A Dadi,ad5933.yaml54 vdd-supply = <&vdd_supply>;
/openbmc/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_core.c1456 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 Dinv_mpu_iio.h200 struct regulator *vdd_supply; member