'\" t .\" Title: uart_set_options .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: 16x50 UART Driver .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "UART_SET_OPTIONS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "16x50 UART Driver" .\" ----------------------------------------------------------------- .\" * 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" uart_set_options \- setup the serial console parameters .SH "SYNOPSIS" .HP \w'int\ uart_set_options('u .BI "int uart_set_options(struct\ uart_port\ *\ " "port" ", struct\ console\ *\ " "co" ", int\ " "baud" ", int\ " "parity" ", int\ " "bits" ", int\ " "flow" ");" .SH "ARGUMENTS" .PP \fIport\fR .RS 4 pointer to the serial ports uart_port structure .RE .PP \fIco\fR .RS 4 console pointer .RE .PP \fIbaud\fR .RS 4 baud rate .RE .PP \fIparity\fR .RS 4 parity character \- \*(Aqn\*(Aq (none), \*(Aqo\*(Aq (odd), \*(Aqe\*(Aq (even) .RE .PP \fIbits\fR .RS 4 number of data bits .RE .PP \fIflow\fR .RS 4 flow control character \- \*(Aqr\*(Aq (rts) .RE .SH "COPYRIGHT" .br