Lines Matching refs:vdd_reg
111 struct regulator *vdd_reg; member
1545 data->vdd_reg = devm_regulator_get(&client->dev, "vdd"); in mma8452_probe()
1546 if (IS_ERR(data->vdd_reg)) in mma8452_probe()
1547 return dev_err_probe(&client->dev, PTR_ERR(data->vdd_reg), in mma8452_probe()
1555 ret = regulator_enable(data->vdd_reg); in mma8452_probe()
1701 regulator_disable(data->vdd_reg); in mma8452_probe()
1722 regulator_disable(data->vdd_reg); in mma8452_remove()
1748 ret = regulator_disable(data->vdd_reg); in mma8452_runtime_suspend()
1763 ret = regulator_enable(data->vdd_reg); in mma8452_runtime_resume()
1772 regulator_disable(data->vdd_reg); in mma8452_runtime_resume()
1791 regulator_disable(data->vdd_reg); in mma8452_runtime_resume()