Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/input/keyboard/
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 …]
/linux-6.6.21/drivers/usb/typec/
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 …]
/linux-6.6.21/drivers/iio/proximity/
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()
/linux-6.6.21/drivers/gpu/drm/stm/
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()
/linux-6.6.21/Documentation/devicetree/bindings/iio/adc/
Dadi,ad7949.yaml82 vref-supply = <&vdd_supply>;
91 vrefin-supply = <&vdd_supply>;
Dti,adc108s102.yaml44 vref-supply = <&vdd_supply>;
Dti,tlc4541.yaml48 vref-supply = <&vdd_supply>;
Dti,ads8688.yaml46 vref-supply = <&vdd_supply>;
Dti,adc0832.yaml52 vref-supply = <&vdd_supply>;
Dti,adc128s052.yaml55 vref-supply = <&vdd_supply>;
Dadi,ad7780.yaml83 avdd-supply = <&vdd_supply>;
/linux-6.6.21/drivers/iio/accel/
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()
/linux-6.6.21/drivers/iio/imu/inv_icm42600/
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()
Dinv_icm42600.h138 struct regulator *vdd_supply; member
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Dwm8782.txt16 Vdd-supply = <&vdd_supply>;
/linux-6.6.21/Documentation/devicetree/bindings/iio/dac/
Dadi,ad7303.yaml46 Vdd-supply = <&vdd_supply>;
Dti,dac5571.yaml50 vref-supply = <&vdd_supply>;
Dti,dac7311.yaml47 vref-supply = <&vdd_supply>;
/linux-6.6.21/Documentation/devicetree/bindings/iio/impedance-analyzer/
Dadi,ad5933.yaml54 vdd-supply = <&vdd_supply>;
/linux-6.6.21/drivers/iio/imu/inv_mpu6050/
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()
Dinv_mpu_iio.h200 struct regulator *vdd_supply; member