Searched refs:vdd_supply (Results 1 – 8 of 8) sorted by relevance
/drivers/input/keyboard/ |
D | mpr121_touchkey.c | 87 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/ |
D | dw_mipi_dsi-stm.c | 84 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()
|
/drivers/usb/typec/ |
D | stusb160x.c | 150 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 …]
|
/drivers/iio/accel/ |
D | bma180.c | 156 struct regulator *vdd_supply; member 1011 data->vdd_supply = devm_regulator_get(dev, "vdd"); in bma180_probe() 1012 if (IS_ERR(data->vdd_supply)) in bma180_probe() 1013 return dev_err_probe(dev, PTR_ERR(data->vdd_supply), in bma180_probe() 1022 ret = regulator_set_voltage(data->vdd_supply, 1620000, 3600000); in bma180_probe() 1028 ret = regulator_enable(data->vdd_supply); in bma180_probe() 1105 regulator_disable(data->vdd_supply); in bma180_probe() 1126 regulator_disable(data->vdd_supply); in bma180_remove()
|
/drivers/iio/imu/inv_icm42600/ |
D | inv_icm42600_core.c | 534 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()
|
D | inv_icm42600.h | 137 struct regulator *vdd_supply; member
|
/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 1404 result = regulator_disable(st->vdd_supply); in inv_mpu_core_disable_regulator_action() 1485 st->vdd_supply = devm_regulator_get(dev, "vdd"); in inv_mpu_core_probe() 1486 if (IS_ERR(st->vdd_supply)) in inv_mpu_core_probe() 1487 return dev_err_probe(dev, PTR_ERR(st->vdd_supply), in inv_mpu_core_probe() 1495 result = regulator_enable(st->vdd_supply); in inv_mpu_core_probe() 1504 regulator_disable(st->vdd_supply); in inv_mpu_core_probe()
|
D | inv_mpu_iio.h | 195 struct regulator *vdd_supply; member
|