'\" t .\" Title: regulator_bulk_force_disable .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: API reference .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "REGULATOR_BULK_FORCE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "API reference" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" regulator_bulk_force_disable \- force disable multiple regulator consumers .SH "SYNOPSIS" .HP \w'int\ regulator_bulk_force_disable('u .BI "int regulator_bulk_force_disable(int\ " "num_consumers" ", struct\ regulator_bulk_data\ *\ " "consumers" ");" .SH "ARGUMENTS" .PP \fInum_consumers\fR .RS 4 Number of consumers .RE .PP \fIconsumers\fR .RS 4 Consumer data; clients are stored here\&. \fIreturn\fR 0 on success, an errno on failure .RE .SH "DESCRIPTION" .PP This convenience API allows consumers to forcibly disable multiple regulator clients in a single API call\&. .SH "NOTE" .PP 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\&. .SH "AUTHORS" .PP \fBLiam Girdwood\fR <\&lrg@slimlogic.co.uk\&> .RS 4 Author. .RE .PP \fBMark Brown\fR <\&broonie@opensource.wolfsonmicro.com\&> .br Wolfson Microelectronics, .RS 4 Author. .RE .SH "COPYRIGHT" .br