Home
last modified time | relevance | path

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

/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 …]
/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c84 struct regulator *vdd_supply; member
372 dsi->vdd_supply = devm_regulator_get(dev, "phy-dsi"); in dw_mipi_dsi_stm_probe()
373 if (IS_ERR(dsi->vdd_supply)) { in dw_mipi_dsi_stm_probe()
374 ret = PTR_ERR(dsi->vdd_supply); in dw_mipi_dsi_stm_probe()
379 ret = regulator_enable(dsi->vdd_supply); in dw_mipi_dsi_stm_probe()
437 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_probe()
448 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_remove()
460 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_suspend()
472 ret = regulator_enable(dsi->vdd_supply); in dw_mipi_dsi_stm_resume()
480 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_resume()
/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 …]
/drivers/iio/accel/
Dbma180.c134 struct regulator *vdd_supply; member
950 data->vdd_supply = devm_regulator_get(dev, "vdd"); in bma180_probe()
951 if (IS_ERR(data->vdd_supply)) in bma180_probe()
952 return dev_err_probe(dev, PTR_ERR(data->vdd_supply), in bma180_probe()
961 ret = regulator_set_voltage(data->vdd_supply, 1620000, 3600000); in bma180_probe()
967 ret = regulator_enable(data->vdd_supply); in bma180_probe()
1043 regulator_disable(data->vdd_supply); in bma180_probe()
1064 regulator_disable(data->vdd_supply); in bma180_remove()
/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.h137 struct regulator *vdd_supply; member
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c1420 result = regulator_disable(st->vdd_supply); in inv_mpu_core_disable_regulator_action()
1505 st->vdd_supply = devm_regulator_get(dev, "vdd"); in inv_mpu_core_probe()
1506 if (IS_ERR(st->vdd_supply)) in inv_mpu_core_probe()
1507 return dev_err_probe(dev, PTR_ERR(st->vdd_supply), in inv_mpu_core_probe()
1515 result = regulator_enable(st->vdd_supply); in inv_mpu_core_probe()
1524 regulator_disable(st->vdd_supply); in inv_mpu_core_probe()
Dinv_mpu_iio.h200 struct regulator *vdd_supply; member