---
name: "regulator_set_voltage_time"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/regulator_set_voltage_time"
---

# regulator\_set\_voltage\_time(9)

get raise/fall time

## NAME

regulator\_set\_voltage\_time - get raise/fall time

## SYNOPSIS

**int regulator\_set\_voltage\_time(struct regulator \*** *regulator***, int** *old\_uV***, int** *new\_uV***);**

## ARGUMENTS

*regulator*

regulator source

*old\_uV*

starting voltage in microvolts

*new\_uV*

target voltage in microvolts

## DESCRIPTION

Provided with the starting and ending voltage, this function attempts to calculate the time in microseconds required to rise or fall to this new voltage.

## AUTHORS

**Liam Girdwood** \<lrg@slimlogic.co.uk\>

Author.

**Mark Brown** \<broonie@opensource.wolfsonmicro.com\>\
 Wolfson Microelectronics,

Author.

## COPYRIGHT
