Lines Matching refs:vdd
330 stmfx->vdd = devm_regulator_get_optional(&client->dev, "vdd"); in stmfx_chip_init()
331 ret = PTR_ERR_OR_ZERO(stmfx->vdd); in stmfx_chip_init()
334 stmfx->vdd = NULL; in stmfx_chip_init()
339 if (stmfx->vdd) { in stmfx_chip_init()
340 ret = regulator_enable(stmfx->vdd); in stmfx_chip_init()
389 if (stmfx->vdd) in stmfx_chip_init()
390 return regulator_disable(stmfx->vdd); in stmfx_chip_init()
402 if (stmfx->vdd) in stmfx_chip_exit()
403 return regulator_disable(stmfx->vdd); in stmfx_chip_exit()
491 if (stmfx->vdd) in stmfx_suspend()
492 return regulator_disable(stmfx->vdd); in stmfx_suspend()
502 if (stmfx->vdd) { in stmfx_resume()
503 ret = regulator_enable(stmfx->vdd); in stmfx_resume()