Home
last modified time | relevance | path

Searched full:vdd_supply (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/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.12.1/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.12.1/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.12.1/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c91 struct regulator *vdd_supply; member
622 dsi->vdd_supply = devm_regulator_get(dev, "phy-dsi"); in dw_mipi_dsi_stm_probe()
623 if (IS_ERR(dsi->vdd_supply)) { in dw_mipi_dsi_stm_probe()
624 ret = PTR_ERR(dsi->vdd_supply); in dw_mipi_dsi_stm_probe()
629 ret = regulator_enable(dsi->vdd_supply); in dw_mipi_dsi_stm_probe()
718 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_probe()
730 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_remove()
741 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_suspend()
753 ret = regulator_enable(dsi->vdd_supply); in dw_mipi_dsi_stm_resume()
761 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_resume()
[all …]
/linux-6.12.1/drivers/usb/typec/mux/
Dwcd939x-usbss.c184 struct regulator *vdd_supply; member
609 usbss->vdd_supply = devm_regulator_get_optional(dev, "vdd"); in wcd939x_usbss_probe()
610 if (IS_ERR(usbss->vdd_supply)) in wcd939x_usbss_probe()
611 return PTR_ERR(usbss->vdd_supply); in wcd939x_usbss_probe()
631 ret = regulator_enable(usbss->vdd_supply); in wcd939x_usbss_probe()
731 regulator_disable(usbss->vdd_supply); in wcd939x_usbss_probe()
749 regulator_disable(usbss->vdd_supply); in wcd939x_usbss_remove()
/linux-6.12.1/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,ads8688.yaml46 vref-supply = <&vdd_supply>;
Dti,tlc4541.yaml48 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>;
Dadi,ad7606.yaml191 vdrive-supply = <&vdd_supply>;
/linux-6.12.1/drivers/iio/accel/
Dbma180.c133 struct regulator *vdd_supply; member
943 data->vdd_supply = devm_regulator_get(dev, "vdd"); in bma180_probe()
944 if (IS_ERR(data->vdd_supply)) in bma180_probe()
945 return dev_err_probe(dev, PTR_ERR(data->vdd_supply), in bma180_probe()
954 ret = regulator_set_voltage(data->vdd_supply, 1620000, 3600000); in bma180_probe()
960 ret = regulator_enable(data->vdd_supply); in bma180_probe()
1036 regulator_disable(data->vdd_supply); in bma180_probe()
1057 regulator_disable(data->vdd_supply); in bma180_remove()
/linux-6.12.1/drivers/iio/humidity/
Dhdc3020.c78 struct regulator *vdd_supply; member
739 return regulator_disable(data->vdd_supply); in hdc3020_power_off()
746 ret = regulator_enable(data->vdd_supply); in hdc3020_power_on()
808 data->vdd_supply = devm_regulator_get(&client->dev, "vdd"); in hdc3020_probe()
809 if (IS_ERR(data->vdd_supply)) in hdc3020_probe()
810 return dev_err_probe(&client->dev, PTR_ERR(data->vdd_supply), in hdc3020_probe()
/linux-6.12.1/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_core.c647 ret = regulator_disable(st->vdd_supply); in inv_icm42600_disable_vdd_reg()
714 st->vdd_supply = devm_regulator_get(dev, "vdd"); in inv_icm42600_core_probe()
715 if (IS_ERR(st->vdd_supply)) in inv_icm42600_core_probe()
716 return PTR_ERR(st->vdd_supply); in inv_icm42600_core_probe()
722 ret = regulator_enable(st->vdd_supply); in inv_icm42600_core_probe()
Dinv_icm42600.h144 * @vdd_supply: VDD voltage regulator for the chip.
160 struct regulator *vdd_supply; member
/linux-6.12.1/Documentation/devicetree/bindings/iio/dac/
Dti,dac5571.yaml51 vref-supply = <&vdd_supply>;
Dadi,ad7303.yaml46 Vdd-supply = <&vdd_supply>;
Dti,dac7311.yaml47 vref-supply = <&vdd_supply>;
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Deverest,es71x4.yaml59 VDD-supply = <&vdd_supply>;
Dwlf,wm8782.yaml45 Vdd-supply = <&vdd_supply>;
/linux-6.12.1/Documentation/devicetree/bindings/iio/impedance-analyzer/
Dadi,ad5933.yaml54 vdd-supply = <&vdd_supply>;
/linux-6.12.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_iio.h181 * @vdd_supply: VDD voltage regulator for the chip.
206 struct regulator *vdd_supply; member
Dinv_mpu_core.c1839 result = regulator_disable(st->vdd_supply); in inv_mpu_core_disable_regulator_action()
1927 st->vdd_supply = devm_regulator_get(dev, "vdd"); in inv_mpu_core_probe()
1928 if (IS_ERR(st->vdd_supply)) in inv_mpu_core_probe()
1929 return dev_err_probe(dev, PTR_ERR(st->vdd_supply), in inv_mpu_core_probe()
1937 result = regulator_enable(st->vdd_supply); in inv_mpu_core_probe()
1946 regulator_disable(st->vdd_supply); in inv_mpu_core_probe()