Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/keyboard/
H A Dmpr121_touchkey.c87 struct regulator *vdd_supply = data; in mpr121_vdd_supply_disable() local
89 regulator_disable(vdd_supply); in mpr121_vdd_supply_disable()
94 struct regulator *vdd_supply; in mpr121_vdd_supply_init() local
97 vdd_supply = devm_regulator_get(dev, "vdd"); in mpr121_vdd_supply_init()
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()
[all …]
/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()
668 chip->vdd_supply = devm_regulator_get_optional(chip->dev, "vdd"); in stusb160x_probe()
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()
[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/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/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/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_core.c562 ret = regulator_disable(st->vdd_supply); in inv_icm42600_disable_vdd_reg()
629 st->vdd_supply = devm_regulator_get(dev, "vdd"); in inv_icm42600_core_probe()
630 if (IS_ERR(st->vdd_supply)) in inv_icm42600_core_probe()
631 return PTR_ERR(st->vdd_supply); in inv_icm42600_core_probe()
637 ret = regulator_enable(st->vdd_supply); in inv_icm42600_core_probe()
H A Dinv_icm42600.h138 struct regulator *vdd_supply; member
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dwm8782.txt16 Vdd-supply = <&vdd_supply>;
/openbmc/u-boot/include/
H A Dadc.h80 struct udevice *vdd_supply; member
/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