Searched refs:vddio_reg (Results 1 – 2 of 2) sorted by relevance
58 struct regulator *vddio_reg; member490 data->vddio_reg = devm_regulator_get(&client->dev, "vddio"); in mag3110_probe()491 if (IS_ERR(data->vddio_reg)) in mag3110_probe()492 return dev_err_probe(&client->dev, PTR_ERR(data->vddio_reg), in mag3110_probe()501 ret = regulator_enable(data->vddio_reg); in mag3110_probe()555 regulator_disable(data->vddio_reg); in mag3110_probe()570 regulator_disable(data->vddio_reg); in mag3110_remove()585 ret = regulator_disable(data->vddio_reg); in mag3110_suspend()612 ret = regulator_enable(data->vddio_reg); in mag3110_resume()
113 struct regulator *vddio_reg; member1582 data->vddio_reg = devm_regulator_get(&client->dev, "vddio"); in mma8452_probe()1583 if (IS_ERR(data->vddio_reg)) in mma8452_probe()1584 return dev_err_probe(&client->dev, PTR_ERR(data->vddio_reg), in mma8452_probe()1593 ret = regulator_enable(data->vddio_reg); in mma8452_probe()1730 regulator_disable(data->vddio_reg); in mma8452_probe()1752 regulator_disable(data->vddio_reg); in mma8452_remove()1771 ret = regulator_disable(data->vddio_reg); in mma8452_runtime_suspend()1798 ret = regulator_enable(data->vddio_reg); in mma8452_runtime_resume()1819 regulator_disable(data->vddio_reg); in mma8452_runtime_resume()