Lines Matching full:baud

10  * Fixed to use tty_get_baud_rate, and to allow for arbitrary baud
86 #define SAB82532_MAX_TEC_TIMEOUT 200000 /* 1 character time (at 50 baud) */
87 #define SAB82532_MAX_CEC_TIMEOUT 50000 /* 2.5 TX CLKs (at 50 baud) */
621 * transmitted at 9600 baud during shutdown (regardless of the in sunsab_shutdown()
638 * The formula is: Baud = SAB_BASE_BAUD / ((N + 1) * (1 << M)),
643 static void calc_ebrg(int baud, int *n_ret, int *m_ret) in calc_ebrg() argument
647 if (baud == 0) { in calc_ebrg()
658 n = (SAB_BASE_BAUD * 10) / baud; in calc_ebrg()
679 unsigned int iflag, unsigned int baud, in sunsab_convert_to_sab() argument
708 calc_ebrg(baud, &n, &m); in sunsab_convert_to_sab()
712 up->tec_timeout = (10 * 1000000) / baud; in sunsab_convert_to_sab()
779 unsigned int baud = uart_get_baud_rate(port, termios, old, 0, 4000000); in sunsab_set_termios() local
780 unsigned int quot = uart_get_divisor(port, baud); in sunsab_set_termios()
783 sunsab_convert_to_sab(up, termios->c_cflag, termios->c_iflag, baud, quot); in sunsab_set_termios()
875 unsigned int baud, quot; in sunsab_console_setup() local
892 case B150: baud = 150; break; in sunsab_console_setup()
893 case B300: baud = 300; break; in sunsab_console_setup()
894 case B600: baud = 600; break; in sunsab_console_setup()
895 case B1200: baud = 1200; break; in sunsab_console_setup()
896 case B2400: baud = 2400; break; in sunsab_console_setup()
897 case B4800: baud = 4800; break; in sunsab_console_setup()
898 default: case B9600: baud = 9600; break; in sunsab_console_setup()
899 case B19200: baud = 19200; break; in sunsab_console_setup()
900 case B38400: baud = 38400; break; in sunsab_console_setup()
901 case B57600: baud = 57600; break; in sunsab_console_setup()
902 case B115200: baud = 115200; break; in sunsab_console_setup()
903 case B230400: baud = 230400; break; in sunsab_console_setup()
904 case B460800: baud = 460800; break; in sunsab_console_setup()
931 quot = uart_get_divisor(&up->port, baud); in sunsab_console_setup()
932 sunsab_convert_to_sab(up, con->cflag, 0, baud, quot); in sunsab_console_setup()