'\" t .\" Title: pwmchip_add .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Pulse-Width Modulation (PWM) .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "PWMCHIP_ADD" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Pulse-Width Modulation (PWM)" .\" ----------------------------------------------------------------- .\" * 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" pwmchip_add \- register a new PWM chip .SH "SYNOPSIS" .HP \w'int\ pwmchip_add('u .BI "int pwmchip_add(struct\ pwm_chip\ *\ " "chip" ");" .SH "ARGUMENTS" .PP \fIchip\fR .RS 4 the PWM chip to add .RE .SH "DESCRIPTION" .PP Register a new PWM chip\&. If chip\->base < 0 then a dynamically assigned base will be used\&. The initial polarity for all channels is normal\&. .SH "RETURN" .PP 0 on success or a negative error code on failure\&. .SH "COPYRIGHT" .br