suse man page for uart_get_baud_rate

Query: uart_get_baud_rate

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UART_GET_BAUD_RATE(9)						 16x50 UART Driver					     UART_GET_BAUD_RATE(9)

NAME
uart_get_baud_rate - return baud rate for a particular port
SYNOPSIS
unsigned int uart_get_baud_rate(struct uart_port * port, struct ktermios * termios, struct ktermios * old, unsigned int min, unsigned int max);
ARGUMENTS
port uart_port structure describing the port in question. termios desired termios settings. old old termios (or NULL) min minimum acceptable baud rate max maximum acceptable baud rate
DESCRIPTION
Decode the termios structure into a numeric baud rate, taking account of the magic 38400 baud rate (with spd_* flags), and mapping the B0 rate to 9600 baud. If the new baud rate is invalid, try the old termios setting. If it's still invalid, we try 9600 baud. Update the termios structure to reflect the baud rate we're actually going to be using. Don't do this for the case where B0 is requested ("hang up").
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 UART_GET_BAUD_RATE(9)
Related Man Pages
cfgetispeed(3c) - opensolaris
cfsetospeed(3c) - opensolaris
cfspeed(3c) - hpux
cfgetispeed(3) - osf1
cfsetospeed(3c) - sunos
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Is UNIX an open source OS ?
Grant unprivileged user rights to see the output of echo|format but not modify disks
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB