Lines Matching full:baud

10  * Fixed to use tty_get_baud_rate, and to allow for arbitrary baud
85 #define SAB82532_MAX_TEC_TIMEOUT 200000 /* 1 character time (at 50 baud) */
86 #define SAB82532_MAX_CEC_TIMEOUT 50000 /* 2.5 TX CLKs (at 50 baud) */
622 * transmitted at 9600 baud during shutdown (regardless of the in sunsab_shutdown()
639 * The formula is: Baud = SAB_BASE_BAUD / ((N + 1) * (1 << M)),
644 static void calc_ebrg(int baud, int *n_ret, int *m_ret) in calc_ebrg() argument
648 if (baud == 0) { in calc_ebrg()
659 n = (SAB_BASE_BAUD * 10) / baud; in calc_ebrg()
680 unsigned int iflag, unsigned int baud, in sunsab_convert_to_sab() argument
713 calc_ebrg(baud, &n, &m); in sunsab_convert_to_sab()
717 up->tec_timeout = (10 * 1000000) / baud; in sunsab_convert_to_sab()
784 unsigned int baud = uart_get_baud_rate(port, termios, old, 0, 4000000); in sunsab_set_termios() local
785 unsigned int quot = uart_get_divisor(port, baud); in sunsab_set_termios()
788 sunsab_convert_to_sab(up, termios->c_cflag, termios->c_iflag, baud, quot); in sunsab_set_termios()
880 unsigned int baud, quot; in sunsab_console_setup() local
897 case B150: baud = 150; break; in sunsab_console_setup()
898 case B300: baud = 300; break; in sunsab_console_setup()
899 case B600: baud = 600; break; in sunsab_console_setup()
900 case B1200: baud = 1200; break; in sunsab_console_setup()
901 case B2400: baud = 2400; break; in sunsab_console_setup()
902 case B4800: baud = 4800; break; in sunsab_console_setup()
903 default: case B9600: baud = 9600; break; in sunsab_console_setup()
904 case B19200: baud = 19200; break; in sunsab_console_setup()
905 case B38400: baud = 38400; break; in sunsab_console_setup()
906 case B57600: baud = 57600; break; in sunsab_console_setup()
907 case B115200: baud = 115200; break; in sunsab_console_setup()
908 case B230400: baud = 230400; break; in sunsab_console_setup()
909 case B460800: baud = 460800; break; in sunsab_console_setup()
936 quot = uart_get_divisor(&up->port, baud); in sunsab_console_setup()
937 sunsab_convert_to_sab(up, con->cflag, 0, baud, quot); in sunsab_console_setup()