Lines Matching refs:vdd
330 stmfx->vdd = devm_regulator_get_optional(&client->dev, "vdd");
331 ret = PTR_ERR_OR_ZERO(stmfx->vdd);
333 stmfx->vdd = NULL;
338 if (stmfx->vdd) {
339 ret = regulator_enable(stmfx->vdd);
388 if (stmfx->vdd)
389 regulator_disable(stmfx->vdd);
401 if (stmfx->vdd) {
404 ret = regulator_disable(stmfx->vdd);
407 "Failed to disable vdd regulator: %pe\n",
493 if (stmfx->vdd)
494 return regulator_disable(stmfx->vdd);
504 if (stmfx->vdd) {
505 ret = regulator_enable(stmfx->vdd);