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()
333 stmfx->vdd = NULL; in stmfx_chip_init()
338 if (stmfx->vdd) { in stmfx_chip_init()
339 ret = regulator_enable(stmfx->vdd); in stmfx_chip_init()
388 if (stmfx->vdd) in stmfx_chip_init()
389 regulator_disable(stmfx->vdd); in stmfx_chip_init()
401 if (stmfx->vdd) in stmfx_chip_exit()
402 return regulator_disable(stmfx->vdd); in stmfx_chip_exit()
490 if (stmfx->vdd) in stmfx_suspend()
491 return regulator_disable(stmfx->vdd); in stmfx_suspend()
501 if (stmfx->vdd) { in stmfx_resume()
502 ret = regulator_enable(stmfx->vdd); in stmfx_resume()