Searched refs:vdd_supply (Results 1 – 9 of 9) 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() 111 vdd_supply); in mpr121_vdd_supply_init() 118 return vdd_supply; in mpr121_vdd_supply_init() [all …]
|
/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() 702 if (chip->vdd_supply && in stusb160x_probe() [all …]
|
/drivers/iio/proximity/ |
D | vl53l0x-i2c.c | 47 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()
|
/drivers/gpu/drm/stm/ |
D | dw_mipi_dsi-stm.c | 84 struct regulator *vdd_supply; member 462 dsi->vdd_supply = devm_regulator_get(dev, "phy-dsi"); in dw_mipi_dsi_stm_probe() 463 if (IS_ERR(dsi->vdd_supply)) { in dw_mipi_dsi_stm_probe() 464 ret = PTR_ERR(dsi->vdd_supply); in dw_mipi_dsi_stm_probe() 469 ret = regulator_enable(dsi->vdd_supply); in dw_mipi_dsi_stm_probe() 535 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_probe() 546 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_remove() 558 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_suspend() 570 ret = regulator_enable(dsi->vdd_supply); in dw_mipi_dsi_stm_resume() 578 regulator_disable(dsi->vdd_supply); in dw_mipi_dsi_stm_resume()
|
/drivers/iio/accel/ |
D | bma180.c | 134 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/ |
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 | 1429 result = regulator_disable(st->vdd_supply); in inv_mpu_core_disable_regulator_action() 1514 st->vdd_supply = devm_regulator_get(dev, "vdd"); in inv_mpu_core_probe() 1515 if (IS_ERR(st->vdd_supply)) in inv_mpu_core_probe() 1516 return dev_err_probe(dev, PTR_ERR(st->vdd_supply), in inv_mpu_core_probe() 1524 result = regulator_enable(st->vdd_supply); in inv_mpu_core_probe() 1533 regulator_disable(st->vdd_supply); in inv_mpu_core_probe()
|
D | inv_mpu_iio.h | 201 struct regulator *vdd_supply; member
|