Lines Matching refs:termios
324 struct ktermios *termios, in omap_8250_set_termios() argument
332 switch (termios->c_cflag & CSIZE) { in omap_8250_set_termios()
348 if (termios->c_cflag & CSTOPB) in omap_8250_set_termios()
350 if (termios->c_cflag & PARENB) in omap_8250_set_termios()
352 if (!(termios->c_cflag & PARODD)) in omap_8250_set_termios()
354 if (termios->c_cflag & CMSPAR) in omap_8250_set_termios()
360 baud = uart_get_baud_rate(port, termios, old, in omap_8250_set_termios()
375 uart_update_timeout(port, termios->c_cflag, baud); in omap_8250_set_termios()
378 if (termios->c_iflag & INPCK) in omap_8250_set_termios()
380 if (termios->c_iflag & (IGNBRK | PARMRK)) in omap_8250_set_termios()
387 if (termios->c_iflag & IGNPAR) in omap_8250_set_termios()
389 if (termios->c_iflag & IGNBRK) { in omap_8250_set_termios()
395 if (termios->c_iflag & IGNPAR) in omap_8250_set_termios()
402 if ((termios->c_cflag & CREAD) == 0) in omap_8250_set_termios()
409 if (UART_ENABLE_MS(&up->port, termios->c_cflag)) in omap_8250_set_termios()
443 priv->xon = termios->c_cc[VSTART]; in omap_8250_set_termios()
444 priv->xoff = termios->c_cc[VSTOP]; in omap_8250_set_termios()
449 if (termios->c_cflag & CRTSCTS && up->port.flags & UPF_HARD_FLOW) { in omap_8250_set_termios()
464 if (termios->c_iflag & IXOFF) { in omap_8250_set_termios()
482 if (tty_termios_baud_rate(termios)) in omap_8250_set_termios()
483 tty_termios_encode_baud_rate(termios, baud, baud); in omap_8250_set_termios()