Lines Matching refs:vdd
323 stmfx->vdd = devm_regulator_get_optional(&client->dev, "vdd"); in stmfx_chip_init()
324 ret = PTR_ERR_OR_ZERO(stmfx->vdd); in stmfx_chip_init()
326 stmfx->vdd = NULL; in stmfx_chip_init()
334 if (stmfx->vdd) { in stmfx_chip_init()
335 ret = regulator_enable(stmfx->vdd); in stmfx_chip_init()
384 if (stmfx->vdd) in stmfx_chip_init()
385 return regulator_disable(stmfx->vdd); in stmfx_chip_init()
397 if (stmfx->vdd) in stmfx_chip_exit()
398 return regulator_disable(stmfx->vdd); in stmfx_chip_exit()
484 if (stmfx->vdd) in stmfx_suspend()
485 return regulator_disable(stmfx->vdd); in stmfx_suspend()
495 if (stmfx->vdd) { in stmfx_resume()
496 ret = regulator_enable(stmfx->vdd); in stmfx_resume()