Home
last modified time | relevance | path

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

/Linux-v5.10/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()
110 err = devm_add_action(dev, mpr121_vdd_supply_disable, vdd_supply); in mpr121_vdd_supply_init()
112 regulator_disable(vdd_supply); in mpr121_vdd_supply_init()
[all …]
/Linux-v5.10/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c84 struct regulator *vdd_supply; member
363 dsi->vdd_supply = devm_regulator_get(dev, "phy-dsi"); in dw_mipi_dsi_stm_probe()
364 if (IS_ERR(dsi->vdd_supply)) { in dw_mipi_dsi_stm_probe()
365 ret = PTR_ERR(dsi->vdd_supply); in dw_mipi_dsi_stm_probe()
371 ret = regulator_enable(dsi->vdd_supply); in dw_mipi_dsi_stm_probe()
431 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_probe()
442 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_remove()
454 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_suspend()
466 ret = regulator_enable(dsi->vdd_supply); in dw_mipi_dsi_stm_resume()
474 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_resume()
/Linux-v5.10/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()
693 if (chip->vdd_supply && in stusb160x_probe()
[all …]
/Linux-v5.10/drivers/iio/accel/
Dbma180.c154 struct regulator *vdd_supply; member
1002 data->vdd_supply = devm_regulator_get(dev, "vdd"); in bma180_probe()
1003 if (IS_ERR(data->vdd_supply)) in bma180_probe()
1004 return dev_err_probe(dev, PTR_ERR(data->vdd_supply), in bma180_probe()
1013 ret = regulator_set_voltage(data->vdd_supply, 1620000, 3600000); in bma180_probe()
1019 ret = regulator_enable(data->vdd_supply); in bma180_probe()
1095 regulator_disable(data->vdd_supply); in bma180_probe()
1116 regulator_disable(data->vdd_supply); in bma180_remove()
/Linux-v5.10/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_core.c534 ret = regulator_disable(st->vdd_supply); in inv_icm42600_disable_vdd_reg()
601 st->vdd_supply = devm_regulator_get(dev, "vdd"); in inv_icm42600_core_probe()
602 if (IS_ERR(st->vdd_supply)) in inv_icm42600_core_probe()
603 return PTR_ERR(st->vdd_supply); in inv_icm42600_core_probe()
609 ret = regulator_enable(st->vdd_supply); in inv_icm42600_core_probe()
Dinv_icm42600.h136 struct regulator *vdd_supply; member
/Linux-v5.10/Documentation/devicetree/bindings/iio/dac/
Dti,dac5571.txt23 vref-supply = <&vdd_supply>;
Dti,dac7311.txt21 vref-supply = <&vdd_supply>;
Dad7303.txt20 Vdd-supply = <&vdd_supply>;
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dwm8782.txt16 Vdd-supply = <&vdd_supply>;
/Linux-v5.10/Documentation/devicetree/bindings/iio/impedance-analyzer/
Dad5933.txt23 vdd-supply = <&vdd_supply>;
/Linux-v5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c1396 result = regulator_disable(st->vdd_supply); in inv_mpu_core_disable_regulator_action()
1477 st->vdd_supply = devm_regulator_get(dev, "vdd"); in inv_mpu_core_probe()
1478 if (IS_ERR(st->vdd_supply)) in inv_mpu_core_probe()
1479 return dev_err_probe(dev, PTR_ERR(st->vdd_supply), in inv_mpu_core_probe()
1487 result = regulator_enable(st->vdd_supply); in inv_mpu_core_probe()
1496 regulator_disable(st->vdd_supply); in inv_mpu_core_probe()
Dinv_mpu_iio.h195 struct regulator *vdd_supply; member