'\" t .\" Title: regulator_get_current_limit .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: API reference .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "REGULATOR_GET_CURREN" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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_get_current_limit \- get regulator output current .SH "SYNOPSIS" .HP \w'int\ regulator_get_current_limit('u .BI "int regulator_get_current_limit(struct\ regulator\ *\ " "regulator" ");" .SH "ARGUMENTS" .PP \fIregulator\fR .RS 4 regulator source .RE .SH "DESCRIPTION" .PP This returns the current supplied by the specified current sink in uA\&. .SH "NOTE" .PP If the regulator is disabled it will return the current value\&. This function should not be used to determine regulator state\&. .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