---
name: "regulator_set_voltage_time_sel"
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_sel"
---

# regulator\_set\_voltage\_time\_sel(9)

get raise/fall time

## NAME

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

## SYNOPSIS

**int regulator\_set\_voltage\_time\_sel(struct regulator\_dev \*** *rdev***, unsigned int** *old\_selector***, unsigned int** *new\_selector***);**

## ARGUMENTS

*rdev*

regulator source device

*old\_selector*

selector for starting voltage

*new\_selector*

selector for target voltage

## DESCRIPTION

Provided with the starting and target voltage selectors, this function returns time in microseconds required to rise or fall to this new voltage

Drivers providing ramp\_delay in regulation\_constraints can use this as their **set\_voltage\_time\_sel** operation.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
