1REGULATOR_BULK_FORCE(9)          API reference         REGULATOR_BULK_FORCE(9)
2
3
4

NAME

6       regulator_bulk_force_disable - force disable multiple regulator
7       consumers
8

SYNOPSIS

10       int regulator_bulk_force_disable(int num_consumers,
11                                        struct regulator_bulk_data * consumers);
12

ARGUMENTS

14       num_consumers
15           Number of consumers
16
17       consumers
18           Consumer data; clients are stored here.  return 0 on success, an
19           errno on failure
20

DESCRIPTION

22       This convenience API allows consumers to forcibly disable multiple
23       regulator clients in a single API call.
24

NOTE

26       This should be used for situations when device damage will likely occur
27       if the regulators are not disabled (e.g. over temp). Although
28       regulator_force_disable function call for some consumers can return
29       error numbers, the function is called for all consumers.
30

AUTHORS

32       Liam Girdwood <lrg@slimlogic.co.uk>
33           Author.
34
35       Mark Brown <broonie@opensource.wolfsonmicro.com>
36       Wolfson Microelectronics,
37
38
39           Author.
40
42Kernel Hackers Manual 3.10         June 2019           REGULATOR_BULK_FORCE(9)
Impressum