'\" t .\" Title: struct pwm_device .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Pulse-Width Modulation (PWM) .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT PWM_DEVICE" "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" struct_pwm_device \- PWM channel object .SH "SYNOPSIS" .sp .nf struct pwm_device { const char * label; unsigned long flags; unsigned int hwpwm; unsigned int pwm; struct pwm_chip * chip; void * chip_data; struct pwm_args args; struct pwm_state state; }; .fi .SH "MEMBERS" .PP label .RS 4 name of the PWM device .RE .PP flags .RS 4 flags associated with the PWM device .RE .PP hwpwm .RS 4 per\-chip relative index of the PWM device .RE .PP pwm .RS 4 global index of the PWM device .RE .PP chip .RS 4 PWM chip providing this PWM device .RE .PP chip_data .RS 4 chip\-private data associated with the PWM device .RE .PP args .RS 4 PWM arguments .RE .PP state .RS 4 curent PWM channel state .RE .SH "COPYRIGHT" .br