regulator_list_hardware_vsel(9)

regulator_list_hardware_vsel9

Get the hw-specific register value for a selector

Usage

int regulator_list_hardware_vsel(struct regulator * regulator, unsigned selector);

Arguments

regulator

regulator source

selector

identify voltage to list

Overview

Converts the selector to a hardware-specific voltage selector that can be directly written to the regulator registers. The address of the voltage register can be determined by calling regulator_get_hardware_vsel_register.

On error a negative errno is returned.

Authors

Liam Girdwood <[email protected]>

Author.

Mark Brown <[email protected]>
Wolfson Microelectronics,

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.