Scroll to navigation

REGULATOR_BULK_DISAB(9) API reference REGULATOR_BULK_DISAB(9)

NAME

regulator_bulk_disable - disable multiple regulator consumers

SYNOPSIS

int regulator_bulk_disable(int num_consumers, struct regulator_bulk_data * consumers);

ARGUMENTS

num_consumers

Number of consumers

consumers

Consumer data; clients are stored here. return 0 on success, an errno on failure

DESCRIPTION

This convenience API allows consumers to disable multiple regulator clients in a single API call. If any consumers cannot be disabled then any others that were disabled will be enabled again prior to return.

AUTHORS

Liam Girdwood <lrg@slimlogic.co.uk>

Author.

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

Author.

COPYRIGHT

March 2017 Kernel Hackers Manual 4.10