1REGULATOR_BULK_ENABL(9) API reference REGULATOR_BULK_ENABL(9)
2
3
4
6 regulator_bulk_enable - enable multiple regulator consumers
7
9 int regulator_bulk_enable(int num_consumers,
10 struct regulator_bulk_data * consumers);
11
13 num_consumers
14 Number of consumers
15
16 consumers
17 Consumer data; clients are stored here. return 0 on success, an
18 errno on failure
19
21 This convenience API allows consumers to enable multiple regulator
22 clients in a single API call. If any consumers cannot be enabled then
23 any others that were enabled will be disabled again prior to return.
24
26 Liam Girdwood <lrg@slimlogic.co.uk>
27 Author.
28
29 Mark Brown <broonie@opensource.wolfsonmicro.com>
30 Wolfson Microelectronics,
31
32
33 Author.
34
36Kernel Hackers Manual 2.6. November 2011 REGULATOR_BULK_ENABL(9)