other versions
- stretch 4.9.168-1
REGULATOR_BULK_FORCE(9) | API reference | REGULATOR_BULK_FORCE(9) |
NAME¶
regulator_bulk_force_disable - force disable multiple regulator consumersSYNOPSIS¶
int regulator_bulk_force_disable(int num_consumers, struct regulator_bulk_data * consumers);
ARGUMENTS¶
num_consumersNumber of consumers
consumers
Consumer data; clients are stored here. return 0
on success, an errno on failure
DESCRIPTION¶
This convenience API allows consumers to forcibly disable multiple regulator clients in a single API call.NOTE¶
This should be used for situations when device damage will likely occur if the regulators are not disabled (e.g. over temp). Although regulator_force_disable function call for some consumers can return error numbers, the function is called for all consumers.AUTHORS¶
Liam Girdwood <lrg@slimlogic.co.uk>Author.
Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,
Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |